https://jira.opencord.org/browse/VOL-167
Device Management: Retrieve Software Version on the device
Provides a framework in voltha to retrieve the software
details on the device.
Addressed Review Comments
Change-Id: I2938e6e1a57f95d41cc8f548a5ebad9c952a23db
diff --git a/cli/device.py b/cli/device.py
index 690d381..c1e9ba6 100644
--- a/cli/device.py
+++ b/cli/device.py
@@ -336,3 +336,10 @@
groups=device['flow_groups']['items']
)
+ def do_images(self, line):
+ """Show software images on the device"""
+ device = self.get_device(depth=-1)
+ omit_fields = {}
+ print_pb_list_as_table('Software Images:', device.images.image,
+ omit_fields, self.poutput, show_nulls=True)
+