change API version to 1.23

change jitter to 64-bit value to align with delay in Link Message
added unidirectional link flag TLV to Link Message
(Boeing r1795)
This commit is contained in:
ahrenholz 2013-12-02 21:08:00 +00:00
parent eee6310076
commit 536ff20fff
2 changed files with 4 additions and 2 deletions

View file

@ -248,13 +248,14 @@ class CoreLinkTlv(CoreTlv):
CORE_TLV_LINK_BW: CoreTlvDataUint64, CORE_TLV_LINK_BW: CoreTlvDataUint64,
CORE_TLV_LINK_PER: CoreTlvDataString, CORE_TLV_LINK_PER: CoreTlvDataString,
CORE_TLV_LINK_DUP: CoreTlvDataString, CORE_TLV_LINK_DUP: CoreTlvDataString,
CORE_TLV_LINK_JITTER: CoreTlvDataUint32, CORE_TLV_LINK_JITTER: CoreTlvDataUint64,
CORE_TLV_LINK_MER: CoreTlvDataUint16, CORE_TLV_LINK_MER: CoreTlvDataUint16,
CORE_TLV_LINK_BURST: CoreTlvDataUint16, CORE_TLV_LINK_BURST: CoreTlvDataUint16,
CORE_TLV_LINK_SESSION: CoreTlvDataString, CORE_TLV_LINK_SESSION: CoreTlvDataString,
CORE_TLV_LINK_MBURST: CoreTlvDataUint16, CORE_TLV_LINK_MBURST: CoreTlvDataUint16,
CORE_TLV_LINK_TYPE: CoreTlvDataUint32, CORE_TLV_LINK_TYPE: CoreTlvDataUint32,
CORE_TLV_LINK_GUIATTR: CoreTlvDataString, CORE_TLV_LINK_GUIATTR: CoreTlvDataString,
CORE_TLV_LINK_UNI: CoreTlvDataUint16,
CORE_TLV_LINK_EMUID: CoreTlvDataUint32, CORE_TLV_LINK_EMUID: CoreTlvDataUint32,
CORE_TLV_LINK_NETID: CoreTlvDataUint32, CORE_TLV_LINK_NETID: CoreTlvDataUint32,
CORE_TLV_LINK_KEY: CoreTlvDataUint32, CORE_TLV_LINK_KEY: CoreTlvDataUint32,

View file

@ -16,7 +16,7 @@ def enumdict(d):
# Constants # Constants
CORE_API_VER = "1.22" CORE_API_VER = "1.23"
CORE_API_PORT = 4038 CORE_API_PORT = 4038
# Message types # Message types
@ -118,6 +118,7 @@ link_tlvs = {
0x10: "CORE_TLV_LINK_MBURST", 0x10: "CORE_TLV_LINK_MBURST",
0x20: "CORE_TLV_LINK_TYPE", 0x20: "CORE_TLV_LINK_TYPE",
0x21: "CORE_TLV_LINK_GUIATTR", 0x21: "CORE_TLV_LINK_GUIATTR",
0x22: "CORE_TLV_LINK_UNI",
0x23: "CORE_TLV_LINK_EMUID", 0x23: "CORE_TLV_LINK_EMUID",
0x24: "CORE_TLV_LINK_NETID", 0x24: "CORE_TLV_LINK_NETID",
0x25: "CORE_TLV_LINK_KEY", 0x25: "CORE_TLV_LINK_KEY",