Skip to content

Commit aa3787a

Browse files
authored
Merge branch 'edge-core:202211.0' into not_allow_set_lt_at_RJ45_port
2 parents 9ad30cf + 894aa52 commit aa3787a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/main.py

+1
Original file line numberDiff line numberDiff line change
@@ -4556,6 +4556,7 @@ def add(ctx, interface_name, ip_addr, gw):
45564556
config_db.set_entry("MGMT_INTERFACE", (interface_name, str(ip_address)), {"NULL": "NULL"})
45574557
else:
45584558
config_db.set_entry("MGMT_INTERFACE", (interface_name, str(ip_address)), {"gwaddr": gw})
4559+
config_db.set_entry("MGMT_PORT", interface_name, {"admin_status": "up", "alias": interface_name})
45594560

45604561
return
45614562

0 commit comments

Comments
 (0)