Make onos service name configurable
Change-Id: I799ed24d461909a90fc334acfb51184d3932a42a
diff --git a/mininet/toposcripts/topo.py b/mininet/toposcripts/topo.py
index 7dd6070..8a89515 100644
--- a/mininet/toposcripts/topo.py
+++ b/mininet/toposcripts/topo.py
@@ -36,7 +36,7 @@
info( '*** Creating network\n' )
OVSSwitch13 = partial( OVSSwitch, protocols='OpenFlow13' )
- controllerIp = socket.gethostbyname( 'onos-openflow.default.svc.cluster.local' )
+ controllerIp = socket.gethostbyname( '{{ .Values.onosOpenflowSvc }}' )
net = Mininet( topo=SingleSwitchTopo(1),
controller=lambda name: RemoteController( name, ip=controllerIp, port=6653 ),
switch=OVSSwitch13