-
Notifications
You must be signed in to change notification settings - Fork 710
[ssip]: Add CLI #2191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ssip]: Add CLI #2191
Conversation
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -4970,6 +4974,12 @@ def del_vrf(ctx, vrf_name): | |||
ctx.fail("'vrf_name' is not start with Vrf, mgmt or management!") | |||
if len(vrf_name) > 15: | |||
ctx.fail("'vrf_name' is too long!") | |||
syslog_table = config_db.get_table("SYSLOG_SERVER") | |||
syslog_vrf_dev = "mgmt" if vrf_name == "management" else vrf_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prsunny, Could you check VRF related part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, minor comment: Later part of the syslog implementation checks for the presence of 'source_ip' in linux during add operation. But this is not checked during an ip address
delete. Is this intentional or am i missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prsunny you are right, this is intentionally. The reason for that is because we don't reference IP in Config DB, so there is no point to check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prsunny can you please approve if no more questions
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
ba67de4
to
a0d762a
Compare
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
@wen587 / @qiluo-msft please sign-off if no more concerns |
LGTM |
HLD: sonic-net/SONiC#1002
What I did
How I did it
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)