diff --git a/plugins/modules/aoscx_vrf.py b/plugins/modules/aoscx_vrf.py index 581242b..54b8dc8 100644 --- a/plugins/modules/aoscx_vrf.py +++ b/plugins/modules/aoscx_vrf.py @@ -120,17 +120,9 @@ def main(): if state == "create": # Create VRF with incoming attributes - vrf = device.vrf(vrf_name) + vrf = device.vrf(vrf_name, rd) modified = vrf.was_modified() - # Configure RD (Route Distinguisher) - if rd: - vrf.rd = rd - - # Apply VRF Configuration Change - vrf.apply() - modified |= vrf.was_modified() - # Changed result["changed"] = modified