mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +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 LANforge import add_monitor
 | 
			
		||||
from LANforge.add_monitor import *
 | 
			
		||||
#Profile Imports
 | 
			
		||||
from l3_cxprofile import L3CXProfile
 | 
			
		||||
from l3_cxprofile2 import L3CXProfile2
 | 
			
		||||
import os
 | 
			
		||||
import datetime
 | 
			
		||||
import base64
 | 
			
		||||
@@ -787,6 +789,13 @@ class Realm(LFCliBase):
 | 
			
		||||
                              local_realm=self,
 | 
			
		||||
                              debug_=self.debug,
 | 
			
		||||
                              report_timer_=3000)
 | 
			
		||||
        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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user