You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Backport] xe-reset-networking: Allow the user to perform a network reset without renaming the management interface (#6937)
There are some use cases according to which the user would like to
perform a network reconfiguration of the management interface by keeping
the interface's name intact. This commit allows the user to run the
xe-reset-networking script by requesting the aforementioned behavior.
This is a backport of PR
[#6852](#6852).
Copy file name to clipboardExpand all lines: python3/bin/xe-reset-networking
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,7 @@ if __name__ == "__main__":
91
91
parser.add_option("--gateway", help="Gateway for new management interface", dest="gateway", default='')
92
92
parser.add_option("--gateway-v6", help="IPv6 Gateway for new management interface", dest="gateway_v6", default='')
93
93
parser.add_option("--dns", help="DNS server for new management interface", dest="dns", default='')
94
+
parser.add_option("--keep-interface-name-rules", help="Keep (do NOT reset) the interface name rules", dest="keep_interface_name_rules", action="store_const", const=True, default=False)
0 commit comments