From 2c92bc871adecf6bf751ed85032793d8f5aa03b8 Mon Sep 17 00:00:00 2001 From: Tom Booth Date: Fri, 29 Jul 2016 16:21:55 -0700 Subject: [PATCH] adding LLDP schema (#53) --- doc/swss-schema.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/swss-schema.md b/doc/swss-schema.md index dd0668dca553..6637641b3f01 100644 --- a/doc/swss-schema.md +++ b/doc/swss-schema.md @@ -297,6 +297,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_desc = 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) "the-system-name" + 3) "lldp_rem_port_id_subtype" + 4) "6" + 5) "lldp_rem_port_id" + 6) "Ethernet7" + 7) "lldp_rem_sys_desc" + 8) "Debian - SONiC v2" + +--------------------------------------------- + + ###Configuration files What configuration files should we have? Do apps, orch agent each need separate files?