Forward JVM debug port in onos.py

Change-Id: I51cf0a7dab154060afe7d8f919189d10f979eacf
This commit is contained in:
Carmelo Cascone 2018-08-15 10:12:51 -07:00
parent 6d4103642e
commit 3c8d3d04cb

View File

@ -63,6 +63,7 @@ KarafPort = 8101 # ssh port indicating karaf is running
GUIPort = 8181 # GUI/REST port
OpenFlowPort = 6653 # OpenFlow port
CopycatPort = 9876 # Copycat port
DebugPort = 5005 # JVM debug port
def defaultUser():
"Return a reasonable default user"
@ -454,7 +455,7 @@ class ONOSCluster( Controller ):
topo = RenamedTopo( topo, *args, hnew='onos', **kwargs )
self.ipBase = kwargs.pop( 'ipBase', '192.168.123.0/24' )
self.forward = kwargs.pop( 'forward',
[ KarafPort, GUIPort, OpenFlowPort ] )
[ KarafPort, GUIPort, OpenFlowPort, DebugPort ] )
self.debug = kwargs.pop('debug', 'False') == 'True'
super( ONOSCluster, self ).__init__( name, inNamespace=False )