Skip to content
Snippets Groups Projects
Commit 4b9592a9 authored by Neda Moeini's avatar Neda Moeini
Browse files

Add AS number to the VRF description.

parent 5a61647a
No related branches found
No related tags found
1 merge request!314Feature/vrf
Pipeline #90631 passed
......@@ -61,7 +61,7 @@ def initialize_subscription(
subscription.vrf.route_distinguisher = route_distinguisher
subscription.vrf.route_target = route_target
subscription.vrf.vrf_as_number = vrf_as_number
subscription.description = f"VRF {vrf_name}"
subscription.description = f"VRF {vrf_name} - {vrf_as_number}"
return {"subscription": subscription}
......
......@@ -40,7 +40,7 @@ def test_create_vrf_success(
assert subscription.vrf.route_distinguisher == vrf_input[1]["route_distinguisher"]
assert subscription.vrf.route_target == vrf_input[1]["route_target"]
assert subscription.vrf.vrf_as_number == vrf_input[1]["vrf_as_number"]
assert subscription.description == f"VRF {vrf_input[1]["vrf_name"]}"
assert subscription.description == f"VRF {vrf_input[1]["vrf_name"]} - {vrf_input[1]["vrf_as_number"]}"
@pytest.mark.workflow()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment