コード例 #1
0
 def __init__(self):
     self.file_path = None
     self.sriov = []
     self.first_run = True
     self.dpdk_devbind = os.path.join(get_nsb_option('bin_path'),
                                      'dpdk-devbind.py')
     self.vm_names = []
     self.nfvi_host = []
     self.nodes = []
     self.networks = {}
     self.attrs = {}
     self.vm_flavor = None
     self.servers = None
     self.helper = model.StandaloneContextHelper()
     self.vnf_node = model.Server()
     self.drivers = []
     super(SriovContext, self).__init__()
コード例 #2
0
 def setUp(self):
     self.server = model.Server()