Commit 55045b1 1 parent 91b8f19 commit 55045b1 Copy full SHA for 55045b1
File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3135,6 +3135,7 @@ def vrf_add_management_vrf(config_db):
3135
3135
return None
3136
3136
try :
3137
3137
config_db .mod_entry ('MGMT_VRF_CONFIG' , "vrf_global" , {"mgmtVrfEnabled" : "true" })
3138
+ config_db .mod_entry ('NTP' , "global" , {"vrf" : "mgmt" })
3138
3139
except ValueError as e :
3139
3140
ctx = click .get_current_context ()
3140
3141
ctx .fail ("Invalid ConfigDB. Error: {}" .format (e ))
@@ -3149,6 +3150,7 @@ def vrf_delete_management_vrf(config_db):
3149
3150
return None
3150
3151
try :
3151
3152
config_db .mod_entry ('MGMT_VRF_CONFIG' , "vrf_global" , {"mgmtVrfEnabled" : "false" })
3153
+ config_db .mod_entry ('NTP' , "global" , {"vrf" : "default" })
3152
3154
except ValueError as e :
3153
3155
ctx = click .get_current_context ()
3154
3156
ctx .fail ("Invalid ConfigDB. Error: {}" .format (e ))
You can’t perform that action at this time.
0 commit comments