RT_1.23 : bgp_afi_safi_defaults_test.go #3627
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This test was written as per README provided.
WE need to enable AFI-SAFI per subtest and verify state for the same whether inherited properly and also priority is given to AFi-SAFi which is enabled at neighbor/peer group/Global .
Below is as in README:
Ensure that only IPv4-Unicast enabled boolean is made "true" for IPv4 neighbor.
"IPv6-unicast enabled" boolean is left to OC default for the IPv4 peer".
Ensure that only IPv6-Unicast enabled boolean is made "true" for IPv6 neighbor. "IPv4-unicast enabled" boolean is left to OC default for the IPv6 peer".
Ensure that there are no AFI-SAFI configurations at the global and peer-group levels.
For IPv4 neighbor, ensure that the IPv4 neighborship is up and IPv6-unicast capability is not negotiated.
For IPv6 neighbor ensure that the IPv6 neighborship is up and IPv4-unicast capability is not negotiated.
The test will check for default implementations under the neighbor and peer-group hierarchies and also test for inheritance rules as was specified in openconfig/public#774 and openconfig/public#815.
Thanks,
Prabha