configure the hostname for lldpd

Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
Guohan Lu 2019-02-12 09:40:51 +00:00 committed by Ying Xie
parent a7e013bca3
commit 41bb13b834
2 changed files with 2 additions and 1 deletions

View File

@ -9,3 +9,4 @@ configure ports eth0 lldp portidsubtype local {{ mgmt_port_name }}
{% endif %} {% endif %}
configure system ip management pattern {{ ipv4 }} configure system ip management pattern {{ ipv4 }}
{% endif %} {% endif %}
configure system hostname {{ DEVICE_METADATA['localhost']['hostname'] }}

View File

@ -1,3 +1,3 @@
configure ports eth0 lldp portidsubtype local eth0 configure ports eth0 lldp portidsubtype local eth0
configure system ip management pattern 10.0.0.100 configure system ip management pattern 10.0.0.100
configure system hostname switch-t0