def __init__(self, name, custom_type="sd_car_switch", **pars):
     OVSKernelSwitch.__init__(self, name, **pars)
     print ("custom swtich has been initialized")
     self.Function_table = []
     self.counter = 0
     self.custom_type = custom_type
     self.MEC = []
     """AR Content"""
     self.AR_Library = []
Exemplo n.º 2
0
 def __init__(self, name, custom_type=Type.SD_SWITCH, **pars):
     OVSKernelSwitch.__init__(self, name, **pars)
     print ("custom swtich has been initialized")
     self.Function_table = []
     self.counter = 0
     self.custom_type = custom_type
     self.MEC = []
     """Content"""
     self.cLibrary = []
Exemplo n.º 3
0
	def __init__(self, name, **params ):	
		failMode='standalone'
		datapath='kernel'
		OVSKernelSwitch.__init__(self, name, failMode, datapath, **params)
Exemplo n.º 4
0
 def __init__(self, name, **params):
     failMode = 'standalone'
     datapath = 'kernel'
     OVSKernelSwitch.__init__(self, name, failMode, datapath, **params)
Exemplo n.º 5
0
 def __init__(self, name, *args, **kwargs):
     OVSKernelSwitch.__init__(self, name, *args, **kwargs)