Skip to content

Commit

Permalink
vtep: Update vtep schema with tunnel table
Browse files Browse the repository at this point in the history
Added a Tunnel table to the VTEP schema that allows
per-tunnel BFD configuration and status to be specified.
Removed the BFD configuration/status from the
Physical_Locator table.

Signed-off-by: Ashwin Swaminathan <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Bruce Davie <[email protected]>
  • Loading branch information
Ashwin Swaminathan authored and blp committed May 7, 2014
1 parent 5383f2c commit c8f4eed
Show file tree
Hide file tree
Showing 2 changed files with 219 additions and 162 deletions.
35 changes: 26 additions & 9 deletions vtep/vtep.ovsschema
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hardware_vtep",
"cksum": "1687941026 6625",
"cksum": "58544667 7319",
"tables": {
"Global": {
"columns": {
Expand All @@ -25,6 +25,9 @@
"type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
"tunnel_ips": {
"type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
"tunnels": {
"type": {"key": {"type": "uuid", "refTable": "Tunnel"},
"min": 0, "max": "unlimited"}},
"switch_fault_status": {
"type": {
"key": "string", "min": 0, "max": "unlimited"},
Expand All @@ -49,6 +52,26 @@
"type": {
"key": "string", "min": 0, "max": "unlimited"},
"ephemeral": true}}},
"Tunnel": {
"columns": {
"local": {
"type": {"key": {"type": "uuid",
"refTable": "Physical_Locator"}}},
"remote": {
"type": {"key": {"type": "uuid",
"refTable": "Physical_Locator"}}},
"bfd_config_local": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}},
"bfd_config_remote": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}},
"bfd_params": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}},
"bfd_status": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}}}},
"Logical_Binding_Stats": {
"columns": {
"bytes_from_local": {"type": "integer"},
Expand Down Expand Up @@ -149,13 +172,7 @@
"enum": ["set", ["vxlan_over_ipv4"]],
"type": "string"}},
"mutable": false},
"dst_ip": {"type": "string", "mutable": false},
"bfd": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}},
"bfd_status": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}}},
"dst_ip": {"type": "string", "mutable": false}},
"indexes": [["encapsulation_type", "dst_ip"]]},
"Manager": {
"columns": {
Expand All @@ -176,4 +193,4 @@
"ephemeral": true}},
"indexes": [["target"]],
"isRoot": false}},
"version": "1.2.0"}
"version": "1.3.0"}
Loading

0 comments on commit c8f4eed

Please sign in to comment.