VOL-2463 : Enable and disable pon/NNI port
This patch has dependency on https://gerrit.opencord.org/#/c/17105/
Change-Id: I9b63fcf332204d282f4cc3a2056a73a03df6b507
diff --git a/internal/pkg/commands/logicaldevices.go b/internal/pkg/commands/logicaldevices.go
index cecd5ec..a42ef9c 100644
--- a/internal/pkg/commands/logicaldevices.go
+++ b/internal/pkg/commands/logicaldevices.go
@@ -63,10 +63,12 @@
}
type LogicalDeviceOpts struct {
- List LogicalDeviceList `command:"list"`
- Flows LogicalDeviceFlowList `command:"flows"`
- Ports LogicalDevicePortList `command:"ports"`
- Inspect LogicalDeviceInspect `command:"inspect"`
+ List LogicalDeviceList `command:"list"`
+ Flows LogicalDeviceFlowList `command:"flows"`
+ Port struct {
+ List LogicalDevicePortList `command:"list"`
+ } `command:"port"`
+ Inspect LogicalDeviceInspect `command:"inspect"`
}
var logicalDeviceOpts = LogicalDeviceOpts{}