-
Notifications
You must be signed in to change notification settings - Fork 666
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
[dhcp_relay] Update CLI reference document and add a new API for ip address type #1717
[dhcp_relay] Update CLI reference document and add a new API for ip address type #1717
Conversation
Add a new API on utilities_common to get IP type Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
@tahmed-dev can you please review this PR? |
Hi @tahmed-dev - could you please review and approve asap, this is needed in 202106 release |
@@ -200,6 +201,17 @@ def is_ipaddress(val): | |||
return False | |||
return True | |||
|
|||
def ipaddress_type(val): |
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.
is ipaddress_type
used anywhere?
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.
Yes, on the other PR for the CLI:
sonic-net/sonic-buildimage#8211
This is why this PR is a dependency for the other.
@tahmed-dev kindly reminder to review following the above reply |
@tahmed-dev kindly remider |
…8211) #### Why I did it - Adapt config/show CLI commands to support DHCPv6 relay - Support multiple dhcp servers assignment in one command - Fix IP validation - Adapt UT and add new UT cases #### How I did it - Modify config/show dhcp relay files - Modify config/show UT files #### How to verify it This PR has a dependency on PR sonic-net/sonic-utilities#1717 Build an image with the dependent PR and this PR Use config/show DHCPv6 relay commands.
…8211) #### Why I did it - Adapt config/show CLI commands to support DHCPv6 relay - Support multiple dhcp servers assignment in one command - Fix IP validation - Adapt UT and add new UT cases #### How I did it - Modify config/show dhcp relay files - Modify config/show UT files #### How to verify it This PR has a dependency on PR sonic-net/sonic-utilities#1717 Build an image with the dependent PR and this PR Use config/show DHCPv6 relay commands.
…ddress type (#1717) #### What I did Update CLI reference document following PR : sonic-net/sonic-buildimage#8211 Add a new API on utilities_common to get IP type. #### How I did it - Update doc/Command-Reference.md with new DHCP CLI. - Add ipaddress_type API to utilities_common/cli.py #### How to verify it - Build an image with PR sonic-net/sonic-buildimage#8211 and this PR. - Run DHCP CLI commands
Signed-off-by: Shlomi Bitton shlomibi@nvidia.com
What I did
Update CLI reference document following PR : sonic-net/sonic-buildimage#8211
Add a new API on utilities_common to get IP type.
How I did it
How to verify it