From 3c8d3d04cbf80ee1ba199bb345ea07e5419d5c7d Mon Sep 17 00:00:00 2001 From: Carmelo Cascone Date: Wed, 15 Aug 2018 10:12:51 -0700 Subject: [PATCH] Forward JVM debug port in onos.py Change-Id: I51cf0a7dab154060afe7d8f919189d10f979eacf --- tools/dev/mininet/onos.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/dev/mininet/onos.py b/tools/dev/mininet/onos.py index 3923e66b5c..c656a05717 100755 --- a/tools/dev/mininet/onos.py +++ b/tools/dev/mininet/onos.py @@ -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 )