Skip to content

Commit

Permalink
adding LLDP schema (sonic-net#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Booth authored and lguohan committed Jul 29, 2016
1 parent 119ce29 commit 2c92bc8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc/swss-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,29 @@ and reflects the LAG ports into the redis under: `LAG_TABLE:<team0>: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?

Expand Down

0 comments on commit 2c92bc8

Please sign in to comment.