[VOL-5535] update uplink to updateDevice
Change-Id: I373f146125f6542d1041b910d01abbc4a53d2d99
Signed-off-by: Akash Reddy Kankanala <akash.kankanala@radisys.com>
diff --git a/VERSION b/VERSION
index 04c5555..f8bc4c6 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.17
+0.1.18
diff --git a/voltha-go-controller/nbi/rest.go b/voltha-go-controller/nbi/rest.go
index 6a9be34..8bd6ea8 100644
--- a/voltha-go-controller/nbi/rest.go
+++ b/voltha-go-controller/nbi/rest.go
@@ -87,7 +87,7 @@
NetConfigPath string = "/network-configurations"
DeviceConfigPath string = "/olt/{serialNumber}"
FlowProvisionStatus string = "/flow-status/{portName}"
- Uplinkpath string = "/uplink/{deviceId}"
+ UpdateDevicePath string = "/updateDevice/{deviceId}"
)
// RestStart to execute for API
@@ -134,7 +134,7 @@
mu.HandleFunc(BasePath+NetConfigPath, prometheusMiddleware((&NetConfigHandle{}).NetConfigServeHTTP))
mu.HandleFunc(BasePath+DeviceConfigPath, prometheusMiddleware((&onosnbi.DeviceConfigHandle{}).ServeHTTP))
mu.HandleFunc(BasePath+FlowProvisionStatus, prometheusMiddleware((&SubscriberHandle{}).StatusServeHTTP))
- mu.HandleFunc(BasePath+Uplinkpath, (&onosnbi.UpdateUplinkDeviceConfigHandle{}).ServeHTTP)
+ mu.HandleFunc(BasePath+UpdateDevicePath, (&onosnbi.UpdateUplinkDeviceConfigHandle{}).ServeHTTP)
err := http.ListenAndServe(":8181", mu)
if p != nil {