Skip to content

Commit

Permalink
Merge branch 'edge-core:202211.0' into not_allow_set_lt_at_RJ45_port
Browse files Browse the repository at this point in the history
  • Loading branch information
PJHsieh authored Jul 9, 2024
2 parents 9ad30cf + 894aa52 commit aa3787a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4556,6 +4556,7 @@ def add(ctx, interface_name, ip_addr, gw):
config_db.set_entry("MGMT_INTERFACE", (interface_name, str(ip_address)), {"NULL": "NULL"})
else:
config_db.set_entry("MGMT_INTERFACE", (interface_name, str(ip_address)), {"gwaddr": gw})
config_db.set_entry("MGMT_PORT", interface_name, {"admin_status": "up", "alias": interface_name})

return

Expand Down

0 comments on commit aa3787a

Please sign in to comment.