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 = []
Example #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 = []
Example #3
0
	def __init__(self, name, **params ):	
		failMode='standalone'
		datapath='kernel'
		OVSKernelSwitch.__init__(self, name, failMode, datapath, **params)
Example #4
0
 def __init__(self, name, **params):
     failMode = 'standalone'
     datapath = 'kernel'
     OVSKernelSwitch.__init__(self, name, failMode, datapath, **params)
Example #5
0
 def __init__(self, name, *args, **kwargs):
     OVSKernelSwitch.__init__(self, name, *args, **kwargs)