-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: 1.5.0
-
Fix Version/s: 1.5.0
-
Component/s: None
-
Labels:None
-
Environment:
OSX (build machine)
Ubuntu 14.04 (deploy target)
3-cluster test setup, each cluster a single ONOS instance on its own VM.
-
Story Points:3
-
Epic Link:
-
Sprint:Falcon Sprint #1 (1/5 - 1/22)
Tested with changes made in ONOS-3614.
An NPE (stack trace attached) is thrown when the big switch application is reinstalled and activated with onos-app.
From cfg the config file appears to be read in:
onos> cfg get org.onosproject.ecord.co.BigSwitchDeviceProvider
org.onosproject.ecord.co.BigSwitchDeviceProvider
name=providerScheme, type=string, value=bigswitch1, defaultValue=bigswitch, description=Provider scheme used to register a big switch device
name=remoteUri, type=string, value=grpc://192.168.64.82:1984, defaultValue=grpc://localhost:11984, description=URI of remote host to connect via RPC service
name=providerId, type=string, value=org.onosproject.bigswitch, defaultValue=org.onosproject.bigswitch, description=Provider ID used to register a big switch device
name=metroIp, type=string, value=192.168.64.82, defaultValue=localhost, description=IP address or hostname of metro ONOS instance to make REST calls
however the changes don't seem to take place when the app's behavior is inspected (e.g. with netstat):
sdn@test:~$ netstat --tcp -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5005 0.0.0.0:* LISTEN
tcp 0 0 192.168.64.81:22 192.168.64.1:53892 ESTABLISHED
tcp6 0 0 :::11984 :::* LISTEN
tcp6 0 0 :::49840 :::* LISTEN
tcp6 0 0 :::9876 :::* LISTEN
tcp6 0 0 :::8181 :::* LISTEN
Changing the defaults for the configurable parameters will change them as expected.
- relates to
-
ONOS-3614 Make scheme and remote URI configurable on big switch app
- Closed