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/devices.go b/internal/pkg/commands/devices.go
index dd0bfc8..2f0d8a8 100644
--- a/internal/pkg/commands/devices.go
+++ b/internal/pkg/commands/devices.go
@@ -91,6 +91,7 @@
type DeviceFlowList struct {
ListOutputOptions
+ FlowIdOptions
Args struct {
Id DeviceId `positional-arg-name:"DEVICE_ID" required:"yes"`
} `positional-args:"yes"`
@@ -698,6 +699,7 @@
func (options *DeviceFlowList) Execute(args []string) error {
fl := &FlowList{}
fl.ListOutputOptions = options.ListOutputOptions
+ fl.FlowIdOptions = options.FlowIdOptions
fl.Args.Id = string(options.Args.Id)
fl.Method = "device-flows"
return fl.Execute(args)