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__()
def setUp(self): self.server = model.Server()