def __init__(self, configfile=None):
        self._db = hyperv_db.HyperVPluginDB()
        self._db.initialize()

        self._set_tenant_network_type()

        self._parse_network_vlan_ranges()
        self._create_network_providers_map()

        self._db.sync_vlan_allocations(self._network_vlan_ranges)

        self._setup_rpc()
 def __init__(self):
     self._db = hyperv_db.HyperVPluginDB()
예제 #3
0
 def __init__(self, notifier):
     self.notifier = notifier
     self._db = hyperv_db.HyperVPluginDB()