-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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_server] add config dhcp server range #17741
[dhcp_server] add config dhcp server range #17741
Conversation
ctx = click.get_current_context() | ||
dbconn = db.db | ||
key = "DHCP_SERVER_IPV4_RANGE|" + range_name | ||
if dbconn.exists("CONFIG_DB", key): |
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.
How about add checks to make sure range is not used in DHCP_SERVER_IPV4 table and add a not required argument '--force' to bypass the 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.
#Closed
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it
Add config dhcp server range add / update / delete
Work item tracking
How I did it
Add command to config plugin
How to verify it
Run unittest and run manually on latest image
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Latest public image
Description for the changelog
Add config dhcp_server range related functions
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)