def __init__(self):
     LOG.debug("UCS Manager Network driver found")
     self.ucsmsdk = None
     self.supported_sriov_vnic_types = [portbindings.VNIC_DIRECT,
                                        portbindings.VNIC_MACVTAP]
     self.supported_pci_devs = config.parse_pci_vendor_config()
     self.ucsm_conf = config.UcsmConfig()
     self.ucsm_host_dict = {}
     self.ucsm_sp_dict = {}
     self._create_host_and_sp_dicts_from_config()
    def __init__(self):
        LOG.debug("UCS Manager Network driver found")
        self.ucsmsdk = None
        self.ucsm_ip = cfg.CONF.ml2_cisco_ucsm.ucsm_ip
        self.username = cfg.CONF.ml2_cisco_ucsm.ucsm_username
        self.password = cfg.CONF.ml2_cisco_ucsm.ucsm_password

        self.supported_sriov_vnic_types = [portbindings.VNIC_DIRECT, portbindings.VNIC_MACVTAP]
        self.supported_pci_devs = config.parse_pci_vendor_config()
        self.ucsm_host_dict = config.parse_ucsm_host_config()
Esempio n. 3
0
 def __init__(self):
     LOG.debug("UCS Manager Network driver found")
     self.ucsmsdk = None
     self.supported_sriov_vnic_types = [
         portbindings.VNIC_DIRECT, portbindings.VNIC_MACVTAP
     ]
     self.supported_pci_devs = config.parse_pci_vendor_config()
     self.ucsm_conf = config.UcsmConfig()
     self.ucsm_host_dict = {}
     self.ucsm_sp_dict = {}
     self._create_host_and_sp_dicts_from_config()
    def __init__(self):
        LOG.debug("UCS Manager Network driver found")
        self.ucsmsdk = None
        self.ucsm_ip = cfg.CONF.ml2_cisco_ucsm.ucsm_ip
        self.username = cfg.CONF.ml2_cisco_ucsm.ucsm_username
        self.password = cfg.CONF.ml2_cisco_ucsm.ucsm_password
        LOG.debug("UCS Manager Network driver Ip: %s", self.ucsm_ip)

        self.supported_sriov_vnic_types = [portbindings.VNIC_DIRECT,
                                           portbindings.VNIC_MACVTAP]
        self.supported_pci_devs = config.parse_pci_vendor_config()
        self.ucsm_host_dict = config.parse_ucsm_host_config()
 def __init__(self):
     LOG.debug("UCS Manager Network driver found")
     self.ucsmsdk = None
     self.supported_sriov_vnic_types = [portbindings.VNIC_DIRECT, portbindings.VNIC_MACVTAP]
     self.supported_pci_devs = config.parse_pci_vendor_config()
     self.ucsm_conf = config.UcsmConfig()
     self.ucsm_host_dict = {}
     self.ucsm_sp_dict = {}
     # Check if Service Profile to Hostname mapping config has been provided
     if cfg.CONF.ml2_cisco_ucsm.ucsm_host_list:
         self.ucsm_host_dict = config.parse_ucsm_host_config()
     else:
         self._create_ucsm_host_to_service_profile_mapping()
Esempio n. 6
0
 def __init__(self):
     LOG.debug("UCS Manager Network driver found")
     self.ucsmsdk = None
     self.supported_sriov_vnic_types = [
         portbindings.VNIC_DIRECT, portbindings.VNIC_MACVTAP
     ]
     self.supported_pci_devs = config.parse_pci_vendor_config()
     self.ucsm_conf = config.UcsmConfig()
     self.ucsm_host_dict = {}
     self.ucsm_sp_dict = {}
     # Check if Service Profile to Hostname mapping config has been provided
     if cfg.CONF.ml2_cisco_ucsm.ucsm_host_list:
         self.ucsm_host_dict = config.parse_ucsm_host_config()
     else:
         self._create_ucsm_host_to_service_profile_mapping()
    def __init__(self):
        LOG.debug("UCS Manager Network driver found")
        self.ucsmsdk = None
        self.supported_sriov_vnic_types = [bc.portbindings.VNIC_DIRECT,
                                           bc.portbindings.VNIC_MACVTAP]
        self.supported_pci_devs = config.parse_pci_vendor_config()
        self.ucsm_conf = config.UcsmConfig()
        self.ucsm_db = ucsm_db.UcsmDbModel()
        self.ucsm_host_dict = {}
        self.ucsm_sp_dict = {}
        self._disable_ssl_cert_check()
        self._create_host_and_sp_dicts_from_config()

        Timer(const.DEFAULT_PP_DELETE_TIME,
            self._delayed_delete_port_profile, ()).start()
        LOG.debug('Starting periodic Port Profile delete timer for %d',
            const.DEFAULT_PP_DELETE_TIME)