Skip to content

Commit bc63fe5

Browse files
authored
Merge pull request #950 from aknopper/docfix
Fixes to doc values for show processes memory
2 parents 62c55fc + 2aa03f1 commit bc63fe5

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--------------------------------------------------------------------------------
2+
Fix
3+
--------------------------------------------------------------------------------
4+
* Parser
5+
* Modified Show Processes Memory Doc Value ():
6+
* Updated doc value for "show processes memory" to match this, instead of "show switch detail"

sdk_generator/outputs/github_parser.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95105,7 +95105,7 @@
9510595105
"folders": {
9510695106
"ios": {
9510795107
"class": "ShowProcessesMemory",
95108-
"doc": "Parser for show switch detail",
95108+
"doc": "Parser for show processes memory",
9510995109
"module_name": "ios.show_platform",
9511095110
"package": "genie.libs.parser",
9511195111
"schema": "{\n Optional('processor_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('reserve_p_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('lsmi_io_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('pid'): {\n Any('*'): {\n 'index': {\n Any('*'): {\n 'pid': int,\n 'tty': int,\n 'allocated': int,\n 'freed': int,\n 'holding': int,\n 'getbufs': int,\n 'retbufs': int,\n 'process': str,\n },\n },\n },\n },\n}",
@@ -95221,7 +95221,7 @@
9522195221
"folders": {
9522295222
"ios": {
9522395223
"class": "ShowProcessesMemory",
95224-
"doc": "Parser for show switch detail",
95224+
"doc": "Parser for show processes memory | exclude {exclude}",
9522595225
"module_name": "ios.show_platform",
9522695226
"package": "genie.libs.parser",
9522795227
"schema": "{\n Optional('processor_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('reserve_p_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('lsmi_io_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('pid'): {\n Any('*'): {\n 'index': {\n Any('*'): {\n 'pid': int,\n 'tty': int,\n 'allocated': int,\n 'freed': int,\n 'holding': int,\n 'getbufs': int,\n 'retbufs': int,\n 'process': str,\n },\n },\n },\n },\n}",
@@ -95249,7 +95249,7 @@
9524995249
"folders": {
9525095250
"ios": {
9525195251
"class": "ShowProcessesMemory",
95252-
"doc": "Parser for show switch detail",
95252+
"doc": "Parser for show processes memory | include {include}",
9525395253
"module_name": "ios.show_platform",
9525495254
"package": "genie.libs.parser",
9525595255
"schema": "{\n Optional('processor_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('reserve_p_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('lsmi_io_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('pid'): {\n Any('*'): {\n 'index': {\n Any('*'): {\n 'pid': int,\n 'tty': int,\n 'allocated': int,\n 'freed': int,\n 'holding': int,\n 'getbufs': int,\n 'retbufs': int,\n 'process': str,\n },\n },\n },\n },\n}",
@@ -95301,7 +95301,7 @@
9530195301
"folders": {
9530295302
"ios": {
9530395303
"class": "ShowProcessesMemory",
95304-
"doc": "Parser for show switch detail",
95304+
"doc": "Parser for show processes memory | section {section}",
9530595305
"module_name": "ios.show_platform",
9530695306
"package": "genie.libs.parser",
9530795307
"schema": "{\n Optional('processor_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('reserve_p_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('lsmi_io_pool'): {\n 'total': int,\n 'used': int,\n 'free': int,\n },\n Optional('pid'): {\n Any('*'): {\n 'index': {\n Any('*'): {\n 'pid': int,\n 'tty': int,\n 'allocated': int,\n 'freed': int,\n 'holding': int,\n 'getbufs': int,\n 'retbufs': int,\n 'process': str,\n },\n },\n },\n },\n}",

src/genie/libs/parser/ios/show_platform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,5 @@ class ShowSwitchDetail(ShowSwitchDetail_iosxe):
635635

636636

637637
class ShowProcessesMemory(ShowProcessesMemory_iosxe):
638-
"""Parser for show switch detail"""
639-
638+
"""Parser for show processes memory"""
640639
pass

0 commit comments

Comments
 (0)