def _gather_config_parms(self, is_provider_vlan, vlan_id):
if is_provider_vlan:<EOL><INDENT>auto_create = cfg.CONF.ml2_cisco.provider_vlan_auto_create<EOL>auto_trunk = cfg.CONF.ml2_cisco.provider_vlan_auto_trunk<EOL><DEDENT>else:<EOL><INDENT>auto_create = True<EOL>auto_trunk = True<EOL><DEDENT>return auto_create, auto_trunk<EOL>
Collect auto_create, auto_trunk from config.