Forward JVM debug port in onos.py
Change-Id: I51cf0a7dab154060afe7d8f919189d10f979eacf
diff --git a/tools/dev/mininet/onos.py b/tools/dev/mininet/onos.py
index 3923e66..c656a05 100755
--- a/tools/dev/mininet/onos.py
+++ b/tools/dev/mininet/onos.py
@@ -63,6 +63,7 @@
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 @@
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 )