VOLTHA/VOL-3478 : FlowId are logged as decimals and reported by voltctl as hex.
By Default flow-id would be in int format .
hex-id option is supported to display flow id in hex format.
Change-Id: I8b715613a6800b89a5dcedb8b90dc289b336bf24
diff --git a/internal/pkg/commands/logicaldevices.go b/internal/pkg/commands/logicaldevices.go
index 3a5dd66..bef1de3 100644
--- a/internal/pkg/commands/logicaldevices.go
+++ b/internal/pkg/commands/logicaldevices.go
@@ -43,6 +43,7 @@
type LogicalDeviceFlowList struct {
ListOutputOptions
+ FlowIdOptions
Args struct {
Id LogicalDeviceId `positional-arg-name:"DEVICE_ID" required:"yes"`
} `positional-args:"yes"`
@@ -212,6 +213,7 @@
func (options *LogicalDeviceFlowList) Execute(args []string) error {
fl := &FlowList{}
fl.ListOutputOptions = options.ListOutputOptions
+ fl.FlowIdOptions = options.FlowIdOptions
fl.Args.Id = string(options.Args.Id)
fl.Method = "logical-device-flows"
return fl.Execute(args)