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