From 3c7c37f7062a05b06092d68bcd8170ef69be9de4 Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Fri, 30 Nov 2018 22:50:38 +0000 Subject: [PATCH] Add Platform Revision field. --- .../base/all/vendor-config-onl/src/python/onl/platform/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/base/all/vendor-config-onl/src/python/onl/platform/base.py b/packages/base/all/vendor-config-onl/src/python/onl/platform/base.py index 6efcc409..96c92103 100755 --- a/packages/base/all/vendor-config-onl/src/python/onl/platform/base.py +++ b/packages/base/all/vendor-config-onl/src/python/onl/platform/base.py @@ -452,6 +452,7 @@ class OnlPlatformBase(object): s = """Model: %s Manufacturer: %s Ports: %s (%s) +Platform Revision: %s System Object Id: %s System Information: %s @@ -461,6 +462,7 @@ System Information: self.MANUFACTURER, self.PORT_COUNT, self.PORT_CONFIG, + self.PLATFORM.split('-')[-1], self.sys_object_id(), str(self.onie_info), str(self.platform_info),