def __init__(self): self.file_path = None self.sriov = [] self.first_run = True self.dpdk_devbind = '' self.vm_names = [] self.nfvi_host = [] self.nodes = [] self.networks = {} self.attrs = {} self.vm_flavor = None self.servers = None self.helper = StandaloneContextHelper() self.vnf_node = Server() self.drivers = [] super(SriovContext, self).__init__()
def __init__(self): self.file_path = None self.sriov = [] self.first_run = True self.dpdk_devbind = '' self.vm_names = [] self.nfvi_host = [] self.nodes = [] self.networks = {} self.attrs = {} self.vm_flavor = None self.servers = None self.helper = StandaloneContextHelper() self.vnf_node = Server() self.ovs_properties = {} self.wait_for_vswitchd = 10 super(OvsDpdkContext, self).__init__()
def setUp(self): self.helper = StandaloneContextHelper()