Skip to content

Commit

Permalink
doc: Updating VLAN schema (sonic-net#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
stcheng authored Jun 14, 2016
1 parent 4a56a63 commit 6dcff45
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions doc/swss-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,14 @@ For example (reorder output)
###VLAN_TABLE
;Defines VLANs and the interfaces which are members of the vlan
;Status: work in progress
key = DEVICE_NAME ; must be unique across PORT,INTF,VLAN,LAG TABLES
vland_id = DIGIT 0-4095
admin_status = BIT ; administrative status for vlan up or down
attach_to = PORT_TABLE.key
key = VLAN_TABLE:"vlan"vlanid ; DIGIT 0-4095
admin_status = "down" / "up" ; admin status
oper_status = "down" / "up" ; operating status
mtu = 1*4DIGIT ; MTU for this object

key = VLAN_TABLE:vlanid:ifname ; physical port member of VLAN
tagging_mode = "untagged" / "tagged" / "priority_tagged" ; default value as untagged


---------------------------------------------
###LAG_TABLE
Expand All @@ -115,7 +119,7 @@ For example (reorder output)
minimum_links = 1*2DIGIT ; to be implemented
admin_status = "down" / "up" ; Admin status
oper_status = "down" / "up" ; Oper status (physical + protocol state)
if_mtu = 1*4DIGIT ; MTU for this object
mtu = 1*4DIGIT ; MTU for this object
linkup
speed

Expand Down

0 comments on commit 6dcff45

Please sign in to comment.