Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
4ebdeb83
Commit
4ebdeb83
authored
Jul 21, 2022
by
Andrey Vertiprahov
Browse files
Fix CLI Name.
parent
94b2c3fa
Pipeline
#36950
passed with stages
in 15 minutes and 47 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
collections/inv.capabilities/NAG/SNR/CLI_FoxGate.json
View file @
4ebdeb83
{
"name"
:
"NAG | SNR | CLI |
FoxGate
"
,
"name"
:
"NAG | SNR | CLI |
Old
"
,
"$collection"
:
"inv.capabilities"
,
"uuid"
:
"96cb024c-3062-415a-a2a7-d3503d7628c0"
,
"description"
:
"Supported FoxGate CLI Syntax on SNR Profile"
,
...
...
sa/profiles/NAG/SNR/get_capabilities.py
View file @
4ebdeb83
...
...
@@ -50,4 +50,4 @@ class Script(BaseScript):
if
has_lldp
:
caps
[
"Network | LLDP"
]
=
True
if
foxgate_cli
:
caps
[
"NAG | SNR | CLI |
FoxGate
"
]
=
True
caps
[
"NAG | SNR | CLI |
Old
"
]
=
True
sa/profiles/NAG/SNR/profile.py
View file @
4ebdeb83
...
...
@@ -29,7 +29,7 @@ class Profile(BaseProfile):
command_exit
=
"exit"
config_tokenizer
=
"indent"
config_tokenizer_settings
=
{
"line_comment"
:
"!"
}
matchers
=
{
"is_foxgate_cli"
:
{
"caps"
:
{
"$in"
:
[
"NAG | SNR | CLI |
FoxGate
"
]}}}
matchers
=
{
"is_foxgate_cli"
:
{
"caps"
:
{
"$in"
:
[
"NAG | SNR | CLI |
Old
"
]}}}
rx_pager
=
re
.
compile
(
r
"0 for no pausing"
)
...
...
Dmitry Lukhtionov
@dmitryluhtionov
mentioned in commit
28517534
·
Aug 16, 2022
mentioned in commit
28517534
mentioned in commit 28517534f4e75f429df444e69075d073ac2ba368
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!6572 (merged)
·
Aug 16, 2022
mentioned in merge request
!6572 (merged)
mentioned in merge request !6572
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment