

@classmethod
def generate_vlan_ids_list(cls, data, cluster, ng):
    if (ng['name'] == 'fixed'):
        netw_params = data.get('networking_parameters', {
            
        })
        start = netw_params.get('fixed_networks_vlan_start')
        amount = netw_params.get('fixed_networks_amount')
        if (start and amount):
            return range(int(start), (int(start) + int(amount)))
    if (ng.get('vlan_start') is None):
        return []
    return [int(ng.get('vlan_start'))]

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/managers/nova_network.py NovaNetworkManager.generate_vlan_ids_list/original