def _provision_network(self, port_id, net_uuid, network_type,
                           physical_network, segmentation_id):
        """Provision the network with the received information."""
        LOG.info("Provisioning network %s", net_uuid)

        vswitch_name = self._get_vswitch_name(network_type, physical_network)
        vswitch_map = {
            'network_type': network_type,
            'vswitch_name': vswitch_name,
            'ports': [],
            'vlan_id': segmentation_id}
        self._network_vswitch_map[net_uuid] = vswitch_map
def _provision_network ( self , port_id , net_uuid , network_type , physical_network , segmentation_id ) : LOG . info ( "Provisioning network %s" , net_uuid ) vswitch_name = self . _get_vswitch_name ( network_type , physical_network ) vswitch_map = { 'network_type' : network_type , 'vswitch_name' : vswitch_name , 'ports' : [ ] , 'vlan_id' : segmentation_id } self . _network_vswitch_map [ net_uuid ] = vswitch_map
Provision the network with the received information.