From 168fc9316058db98889f61d58f97fe31b44e22ea Mon Sep 17 00:00:00 2001 From: thomasbo Date: Thu, 28 Jul 2016 19:48:06 -0700 Subject: [PATCH 1/2] adding LLDP schema --- doc/swss-schema.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/swss-schema.md b/doc/swss-schema.md index 696d1f1b3ab..0d99aab413f 100644 --- a/doc/swss-schema.md +++ b/doc/swss-schema.md @@ -281,6 +281,29 @@ and reflects the LAG ports into the redis under: `LAG_TABLE::port` --------------------------------------------- +###LLDP_ENTRY_TABLE + ; current LLDP neighbor information. + port_table_key = LLDP_ENTRY_TABLE:ifname ; .1.0.8802.1.1.2.1 + ; field value + lldp_rem_port_id_subtype = 1DIGIT ; 4.1.1.6 + lldp_rem_port_id = 1*255VCHAR ; 4.1.1.7 + lldp_rem_port_des = 0*255VCHAR ; 4.1.1.8 + lldp_rem_sys_name = 0*255VCHAR ; 4.1.1.9 + + Example: + 127.0.0.1:6379[1]> hgetall "LLDP_ENTRY_TABLE:ETHERNET4" + 1) "lldp_rem_sys_name" + 2) "str-7260-13" + 3) "lldp_rem_port_id_subtype" + 4) "6" + 5) "lldp_rem_port_id" + 6) "Ethernet7" + 7) "lldp_rem_sys_name" + 8) "SONiC v2" + +--------------------------------------------- + + ###Configuration files What configuration files should we have? Do apps, orch agent each need separate files? From 2de0f41f1d330f068c91f06aabbffb64cb82f81a Mon Sep 17 00:00:00 2001 From: thomasbo Date: Thu, 28 Jul 2016 20:00:06 -0700 Subject: [PATCH 2/2] adding lldp schema --- doc/swss-schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/swss-schema.md b/doc/swss-schema.md index 0d99aab413f..c1aa358edce 100644 --- a/doc/swss-schema.md +++ b/doc/swss-schema.md @@ -298,7 +298,7 @@ and reflects the LAG ports into the redis under: `LAG_TABLE::port` 4) "6" 5) "lldp_rem_port_id" 6) "Ethernet7" - 7) "lldp_rem_sys_name" + 7) "lldp_rem_sys_desc" 8) "SONiC v2" ---------------------------------------------