From 536ff20fff6b995c851c5623e155c6b8b66f1d26 Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Mon, 2 Dec 2013 21:08:00 +0000 Subject: [PATCH] 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) --- daemon/core/api/coreapi.py | 3 ++- daemon/core/api/data.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/daemon/core/api/coreapi.py b/daemon/core/api/coreapi.py index 9de25a62..ff1ade3c 100644 --- a/daemon/core/api/coreapi.py +++ b/daemon/core/api/coreapi.py @@ -248,13 +248,14 @@ class CoreLinkTlv(CoreTlv): CORE_TLV_LINK_BW: CoreTlvDataUint64, CORE_TLV_LINK_PER: CoreTlvDataString, CORE_TLV_LINK_DUP: CoreTlvDataString, - CORE_TLV_LINK_JITTER: CoreTlvDataUint32, + CORE_TLV_LINK_JITTER: CoreTlvDataUint64, CORE_TLV_LINK_MER: CoreTlvDataUint16, CORE_TLV_LINK_BURST: CoreTlvDataUint16, CORE_TLV_LINK_SESSION: CoreTlvDataString, CORE_TLV_LINK_MBURST: CoreTlvDataUint16, CORE_TLV_LINK_TYPE: CoreTlvDataUint32, CORE_TLV_LINK_GUIATTR: CoreTlvDataString, + CORE_TLV_LINK_UNI: CoreTlvDataUint16, CORE_TLV_LINK_EMUID: CoreTlvDataUint32, CORE_TLV_LINK_NETID: CoreTlvDataUint32, CORE_TLV_LINK_KEY: CoreTlvDataUint32, diff --git a/daemon/core/api/data.py b/daemon/core/api/data.py index 524c25d4..bcc859c6 100644 --- a/daemon/core/api/data.py +++ b/daemon/core/api/data.py @@ -16,7 +16,7 @@ def enumdict(d): # Constants -CORE_API_VER = "1.22" +CORE_API_VER = "1.23" CORE_API_PORT = 4038 # Message types @@ -118,6 +118,7 @@ link_tlvs = { 0x10: "CORE_TLV_LINK_MBURST", 0x20: "CORE_TLV_LINK_TYPE", 0x21: "CORE_TLV_LINK_GUIATTR", + 0x22: "CORE_TLV_LINK_UNI", 0x23: "CORE_TLV_LINK_EMUID", 0x24: "CORE_TLV_LINK_NETID", 0x25: "CORE_TLV_LINK_KEY",