-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Initial fix for issue #352 1a. Add ability to discern if PER_VRF_LOOPBACK_PROVISION is enabled. dcnm_vrf.set_fabric_properties_of_interest() Add method to extract any fabric parameters read by the DcnmVrf module. Other required parameters can be added to this method in the future. In this case, we are setting self.per_vrf_loopback_provision based on the value of nvPairs.PER_VRF_LOOPBACK_PROVISION 1b. Guard against invalid user input if PER_VRF_LOOPBACK_PROVISION is enabled. validate_input() Add conditionals in to guard against user input of invalid vrf-lite parameters when PER_VRF_LOOPBACK_PROVISION is enabled. 1c. Modify endpoint path if PER_VRF_LOOPBACK_PROVISION is enabled push_diff_attach() push_diff_detach() If PER_VRF_LOOPBACK_PROVISION is enabled, use quick-Attach=true query parameter for all attach/detach operations. 2. Unit tests 2a. Modify fabric_details In fixture dcnm_vrf.json, modify fabric_details to include the following key/value "PER_VRF_LOOPBACK_AUTO_PROVISION": "false", This allows existing unit-tests to pass. 3. TODO Need to add unit tests for PER_VRF_LOOPBACK_AUTO_PROVISION == True
- Loading branch information
1 parent
7e41d5d
commit e1c4d1e
Showing
2 changed files
with
184 additions
and
16 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