Skip to content

Conversation

@architekture
Copy link
Collaborator

  • Added CienaConfigParser class. This class supports both SAOS and SAOS10 devices.
  • Added parser and compliance testing for both network drivers.
  • Updated the compliance.py and lib_mapper.py files to include parser-to-driver mappings.
  • Updated docs as required.
  • Created issue 778 and referenced in change fragment as required.
  • Ran feature branch through Ruff for formatting compliance.

"cannot_parse": true,
"compliant": false,
"extra": "system shell banner add banner login line \"*** THIS IS A LOGIN BANNER ***\"",
"intended": "system shell banner create banner login line \"*******************************************************************************\"\nsystem shell banner add banner login line \"*** THIS IS A LOGIN BANNER MESSAGE ***\"\nsystem shell banner add banner login line \"*******************************************************************************\"",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"intended": "system shell banner create banner login line \"*******************************************************************************\"\nsystem shell banner add banner login line \"*** THIS IS A LOGIN BANNER MESSAGE ***\"\nsystem shell banner add banner login line \"*******************************************************************************\"",
"intended": "system shell banner create banner login line \"*******************************************************************************\"\nsystem shell banner add banner login line \"*** DEMONSTRATE A NON-MATCHING BANNER ***\"\nsystem shell banner add banner login line \"*******************************************************************************\"",

virtual-switch create vs MGMT-VS
virtual-switch create vs OPS-VS
system shell banner create banner login line "*******************************************************************************"
system shell banner add banner login line "*** THIS IS A LOGIN BANNER MESSAGE ***"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
system shell banner add banner login line "*** THIS IS A LOGIN BANNER MESSAGE ***"
system shell banner add banner login line "*** DEMONSTRATE A NON-MATCHING BANNER ***"

"compliant": false,
"extra": "system shell banner add banner login line \"*** THIS IS A LOGIN BANNER ***\"",
"intended": "system shell banner create banner login line \"*******************************************************************************\"\nsystem shell banner add banner login line \"*** THIS IS A LOGIN BANNER MESSAGE ***\"\nsystem shell banner add banner login line \"*******************************************************************************\"",
"missing": "system shell banner add banner login line \"*** THIS IS A LOGIN BANNER MESSAGE ***\"",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"missing": "system shell banner add banner login line \"*** THIS IS A LOGIN BANNER MESSAGE ***\"",
"missing": "system shell banner add banner login line \"*** DEMONSTRATE A NON-MATCHING BANNER ***\"",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants