Skip to content
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] Adapt config/show CLI commands to support DHCPv6 relay #8211

Merged
merged 2 commits into from
Aug 25, 2021
Merged

[dhcp_relay] Adapt config/show CLI commands to support DHCPv6 relay #8211

merged 2 commits into from
Aug 25, 2021

Conversation

shlomibitton
Copy link
Contributor

@shlomibitton shlomibitton commented Jul 18, 2021

Signed-off-by: Shlomi Bitton shlomibi@nvidia.com

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.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

Support multiple dhcp servers assignment in one command
Fix IP validation
Adapt and add new UT cases

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
@lgtm-com
Copy link

lgtm-com bot commented Jul 18, 2021

This pull request introduces 1 alert when merging 6ade59c into c89b62e - view on LGTM.com

new alerts:

  • 1 for Except block handles 'BaseException'

@shlomibitton
Copy link
Contributor Author

@tahmed-dev can you please review this PR?
Thanks

Copy link
Contributor

@tahmed-dev tahmed-dev left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@anshuv-mfst
Copy link

@tahmed-dev - please help with merge asap, needed for 202106 release

@liat-grozovik
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

qiluo-msft pushed a commit to sonic-net/sonic-utilities that referenced this pull request Aug 23, 2021
…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
@tahmed-dev
Copy link
Contributor

@shlomibitton, can you please the build failure?

@tahmed-dev
Copy link
Contributor

/Azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@shlomibitton
Copy link
Contributor Author

@shlomibitton, can you please the build failure?

Hey @tahmed-dev we need this PR to merge in order to fix the build issue:
#8557

@liat-grozovik
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@shlomibitton
Copy link
Contributor Author

@tahmed-dev all checked are passing now, can we proceed and merge?
thanks

@qiluo-msft qiluo-msft merged commit 56533ce into sonic-net:master Aug 25, 2021
judyjoseph pushed a commit that referenced this pull request Aug 25, 2021
…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.
judyjoseph pushed a commit to sonic-net/sonic-utilities that referenced this pull request Aug 26, 2021
…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
@shlomibitton shlomibitton deleted the shlomi_dhcpv6_relay_cli branch September 5, 2021 08:21
malletvapid23 added a commit to malletvapid23/Sonic-Utility that referenced this pull request Aug 3, 2023
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants