summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-03-19 12:32:13 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-03-19 12:32:13 -0400
commit9bf1b0f74a27cd6c697c7daf4fb31e5b55c48ef7 (patch)
tree7656c650f9faa42dffa49e18f1c7a7db033989e2 /tests/topotests/example-test/test_example.py
parent795fbef4dfe44e592281aa7217dc9c89e0bb143f (diff)
pbrd: properly handle duplicate set vrf XX configs
Properly handle the case where we are sent the same `set vrf` configs for a pbr map repeatedly. If we are sent the same config, we return successfully without doing anyting. If the config is different and its not a [no], then return failure as we did before since we don't support atomic replace yet. Before, we would fail anytime even if the config sent was the same as is already there. This would cause frr-reload to mark as a failure when it tried to re-apply the same config. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions