-
Notifications
You must be signed in to change notification settings - Fork 661
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vrf add, del commands for duplicate/non-existing VRFs (#2467)
*[VRF] Update vrf add, del commands for duplicate/non-existing VRFs #2467 *What I did Throw an error in case user wants to add a duplicate VRF. Throw an error if user wants to delete a VRF that does not exist. Update is_vrf_exists function to use vrf_name == management as a valid vrf name as well. Update grammar for vrf_name is invalid message. Renamed tests/show_vrf_test.py -> tests/vrf_test.py to correctly represent the file contents. Add test cases for the added/modified lines.
- Loading branch information
1 parent
addae73
commit 263810b
Showing
2 changed files
with
56 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters