daemon: refactored missed LinkTlv INTERFACE_NAME fields to IFACE_NAME to match other refactoring done in 7.0.0 release

This commit is contained in:
Blake Harnden 2020-08-17 20:04:42 -07:00
parent b98ff0f744
commit 3e41d31c6c
3 changed files with 6 additions and 6 deletions

View file

@ -520,8 +520,8 @@ class CoreLinkTlv(CoreTlv):
LinkTlvs.IFACE2_MAC.value: CoreTlvDataMacAddr,
LinkTlvs.IFACE2_IP6.value: CoreTlvDataIPv6Addr,
LinkTlvs.IFACE2_IP6_MASK.value: CoreTlvDataUint16,
LinkTlvs.INTERFACE1_NAME.value: CoreTlvDataString,
LinkTlvs.INTERFACE2_NAME.value: CoreTlvDataString,
LinkTlvs.IFACE1_NAME.value: CoreTlvDataString,
LinkTlvs.IFACE2_NAME.value: CoreTlvDataString,
LinkTlvs.OPAQUE.value: CoreTlvDataString,
}

View file

@ -759,7 +759,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
node2_id = message.get_tlv(LinkTlvs.N2_NUMBER.value)
iface1_data = InterfaceData(
id=message.get_tlv(LinkTlvs.IFACE1_NUMBER.value),
name=message.get_tlv(LinkTlvs.INTERFACE1_NAME.value),
name=message.get_tlv(LinkTlvs.IFACE1_NAME.value),
mac=message.get_tlv(LinkTlvs.IFACE1_MAC.value),
ip4=message.get_tlv(LinkTlvs.IFACE1_IP4.value),
ip4_mask=message.get_tlv(LinkTlvs.IFACE1_IP4_MASK.value),
@ -768,7 +768,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
)
iface2_data = InterfaceData(
id=message.get_tlv(LinkTlvs.IFACE2_NUMBER.value),
name=message.get_tlv(LinkTlvs.INTERFACE2_NAME.value),
name=message.get_tlv(LinkTlvs.IFACE2_NAME.value),
mac=message.get_tlv(LinkTlvs.IFACE2_MAC.value),
ip4=message.get_tlv(LinkTlvs.IFACE2_IP4.value),
ip4_mask=message.get_tlv(LinkTlvs.IFACE2_IP4_MASK.value),

View file

@ -84,8 +84,8 @@ class LinkTlvs(Enum):
IFACE2_MAC = 0x39
IFACE2_IP6 = 0x40
IFACE2_IP6_MASK = 0x41
INTERFACE1_NAME = 0x42
INTERFACE2_NAME = 0x43
IFACE1_NAME = 0x42
IFACE2_NAME = 0x43
OPAQUE = 0x50