Example #1
0
 def _parse_network_vlan_ranges(self):
     try:
         self.network_vlan_ranges = plugin_utils.parse_network_vlan_ranges(
             cfg.CONF.MLNX.network_vlan_ranges)
     except Exception as ex:
         LOG.error(_("%s. Server terminated!"), ex)
         sys.exit(1)
     LOG.info(_("Network VLAN ranges: %s"), self.network_vlan_ranges)
Example #2
0
 def _parse_network_vlan_ranges(self):
     try:
         self.network_vlan_ranges = plugin_utils.parse_network_vlan_ranges(
             cfg.CONF.MLNX.network_vlan_ranges)
     except Exception as ex:
         LOG.error(_("%s. Server terminated!"), ex)
         sys.exit(1)
     LOG.info(_("Network VLAN ranges: %s"), self.network_vlan_ranges)
Example #3
0
 def _parse_network_vlan_ranges(self):
     try:
         self.network_vlan_ranges = plugin_utils.parse_network_vlan_ranges(
             cfg.CONF.ml2_type_vlan.network_vlan_ranges)
         # TODO(rkukura): Validate that each physical_network name
         # is neither empty nor too long.
     except Exception:
         LOG.exception(_("Failed to parse network_vlan_ranges. "
                         "Service terminated!"))
         sys.exit(1)
     LOG.info(_("Network VLAN ranges: %s"), self.network_vlan_ranges)
Example #4
0
 def parse_list(self, cfg_entries):
     return plugin_utils.parse_network_vlan_ranges(cfg_entries)
 def _parse_network_vlan_ranges(self):
     self._network_vlan_ranges = plugin_utils.parse_network_vlan_ranges(
         cfg.CONF.HYPERV.network_vlan_ranges)
     LOG.info(_("Network VLAN ranges: %s"), self._network_vlan_ranges)
Example #6
0
 def _parse_network_vlan_ranges(self):
     self._network_vlan_ranges = plugin_utils.parse_network_vlan_ranges(
         cfg.CONF.HYPERV.network_vlan_ranges)
     LOG.info(_("Network VLAN ranges: %s"), self._network_vlan_ranges)
Example #7
0
 def parse_list(self, cfg_entries):
     return plugin_utils.parse_network_vlan_ranges(cfg_entries)