mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
imports added for L3CXProfile2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
This commit is contained in:
@@ -14,7 +14,9 @@ from LANforge.lfcli_base import LFCliBase
|
|||||||
#from generic_cx import GenericCx
|
#from generic_cx import GenericCx
|
||||||
from LANforge import add_monitor
|
from LANforge import add_monitor
|
||||||
from LANforge.add_monitor import *
|
from LANforge.add_monitor import *
|
||||||
|
#Profile Imports
|
||||||
from l3_cxprofile import L3CXProfile
|
from l3_cxprofile import L3CXProfile
|
||||||
|
from l3_cxprofile2 import L3CXProfile2
|
||||||
import os
|
import os
|
||||||
import datetime
|
import datetime
|
||||||
import base64
|
import base64
|
||||||
@@ -787,7 +789,14 @@ class Realm(LFCliBase):
|
|||||||
local_realm=self,
|
local_realm=self,
|
||||||
debug_=self.debug,
|
debug_=self.debug,
|
||||||
report_timer_=3000)
|
report_timer_=3000)
|
||||||
return cx_prof
|
elif ver == 2:
|
||||||
|
import l3_cxprofile2
|
||||||
|
cx_prof = l3_cxprofile2.L3CXProfile2(self.lfclient_host,
|
||||||
|
self.lfclient_port,
|
||||||
|
local_realm=self,
|
||||||
|
debug_=self.debug,
|
||||||
|
report_timer_=3000)
|
||||||
|
return cx_prof
|
||||||
|
|
||||||
def new_l4_cx_profile(self):
|
def new_l4_cx_profile(self):
|
||||||
cx_prof = L4CXProfile(self.lfclient_host, self.lfclient_port, local_realm=self, debug_=self.debug)
|
cx_prof = L4CXProfile(self.lfclient_host, self.lfclient_port, local_realm=self, debug_=self.debug)
|
||||||
|
|||||||
Reference in New Issue
Block a user