'\" p .\" -*- nroff -*- .TH "vtep" 5 " DB Schema 1.7.0" "Open vSwitch 2.15.0" "Open vSwitch Manual" .fp 5 L CR \\" Make fixed-width font available as \\fL. .de TQ . br . ns . TP "\\$1" .. .de ST . PP . RS -0.15in . I "\\$1" . RE .. .SH NAME vtep \- hardware_vtep database schema .PP .PP .PP .PP This schema specifies relations that a VTEP can use to integrate physical ports into logical switches maintained by a network virtualization controller such as NSX\[char46] .PP .PP Glossary: .RS .TP VTEP VXLAN Tunnel End Point, an entity which originates and/or terminates VXLAN tunnels\[char46] .TP HSC Hardware Switch Controller\[char46] .TP NVC Network Virtualization Controller, e\[char46]g\[char46] NSX\[char46] .TP VRF Virtual Routing and Forwarding instance\[char46] .RE .SS "Common Column" .PP .PP Some tables contain a column, named \fBother_config\fR\[char46] This column has the same form and purpose each place that it appears, so we describe it here to save space later\[char46] .RS .TP \fBother_config\fR: map of string-string pairs Key-value pairs for configuring rarely used or proprietary features\[char46] .IP Some tables do not have \fBother_config\fR column because no key-value pairs have yet been defined for them\[char46] .RE .SH "TABLE SUMMARY" .PP The following list summarizes the purpose of each of the tables in the \fBhardware_vtep\fR database. Each table is described in more detail on a later page. .IP "Table" 1in Purpose .TQ 1in \fBGlobal\fR Top-level configuration\[char46] .TQ 1in \fBManager\fR OVSDB management connection\[char46] .TQ 1in \fBPhysical_Switch\fR A physical switch\[char46] .TQ 1in \fBTunnel\fR A tunnel created by a physical switch\[char46] .TQ 1in \fBPhysical_Port\fR A port within a physical switch\[char46] .TQ 1in \fBLogical_Binding_Stats\fR Statistics for a VLAN on a physical port bound to a logical network\[char46] .TQ 1in \fBLogical_Switch\fR A layer\-2 domain\[char46] .TQ 1in \fBUcast_Macs_Local\fR Unicast MACs (local) .TQ 1in \fBUcast_Macs_Remote\fR Unicast MACs (remote) .TQ 1in \fBMcast_Macs_Local\fR Multicast MACs (local) .TQ 1in \fBMcast_Macs_Remote\fR Multicast MACs (remote) .TQ 1in \fBLogical_Router\fR A logical L3 router\[char46] .TQ 1in \fBArp_Sources_Local\fR ARP source addresses for logical routers .TQ 1in \fBArp_Sources_Remote\fR ARP source addresses for logical routers .TQ 1in \fBPhysical_Locator_Set\fR Physical_Locator_Set configuration\[char46] .TQ 1in \fBPhysical_Locator\fR Physical_Locator configuration\[char46] .TQ 1in \fBACL_entry\fR ACL_entry configuration\[char46] .TQ 1in \fBACL\fR ACL configuration\[char46] .\" check if in troff mode (TTY) .if t \{ .bp .SH "TABLE RELATIONSHIPS" .PP The following diagram shows the relationship among tables in the database. Each node represents a table. Tables that are part of the ``root set'' are shown with double borders. Each edge leads from the table that contains it and points to the table that its value represents. Edges are labeled with their column names, followed by a constraint on the number of allowed values: \fB?\fR for zero or one, \fB*\fR for zero or more, \fB+\fR for one or more. Thick lines represent strong references; thin lines represent weak references. .RS -1in .ps -3 .PS linethick = 1; linethick = 0.500000; box at 0.166808,2.625855 wid 0.333611 height 0.193710 "Global" box at 0.166808,2.625855 wid 0.278056 height 0.138154 linethick = 1.000000; box at 1.393627,2.771138 wid 0.430462 height 0.193710 "Manager" linethick = 1.000000; box at 1.393627,2.480573 wid 0.704872 height 0.193710 "Physical_Switch" linethick = 1.000000; box at 2.908323,2.830336 wid 0.608017 height 0.193710 "Physical_Port" linethick = 1.000000; box at 2.908323,1.000822 wid 0.349755 height 0.193710 "Tunnel" linethick = 0.500000; box at 4.864446,2.060842 wid 0.661830 height 0.193710 "Logical_Switch" box at 4.864446,2.060842 wid 0.606274 height 0.138154 linethick = 0.500000; box at 4.864446,2.685053 wid 0.290565 height 0.193710 "ACL" box at 4.864446,2.685053 wid 0.235009 height 0.138154 linethick = 1.000000; box at 4.864446,3.137017 wid 0.936278 height 0.193710 "Logical_Binding_Stats" linethick = 1.000000; box at 4.864446,0.796381 wid 0.737183 height 0.193710 "Physical_Locator" linethick = 0.500000; box at 2.908323,1.608878 wid 0.785610 height 0.193710 "Ucast_Macs_Local" box at 2.908323,1.608878 wid 0.730055 height 0.138154 linethick = 0.500000; box at 2.908323,1.302157 wid 0.882465 height 0.193710 "Ucast_Macs_Remote" box at 2.908323,1.302157 wid 0.826910 height 0.138154 linethick = 0.500000; box at 1.393627,2.130810 wid 0.801727 height 0.193710 "Mcast_Macs_Local" box at 1.393627,2.130810 wid 0.746171 height 0.138154 linethick = 1.000000; box at 2.908323,0.096855 wid 0.898582 height 0.193710 "Physical_Locator_Set" linethick = 0.500000; box at 1.393627,1.721849 wid 0.893236 height 0.193710 "Mcast_Macs_Remote" box at 1.393627,1.721849 wid 0.837680 height 0.138154 linethick = 0.500000; box at 2.908323,2.469803 wid 0.661830 height 0.193710 "Logical_Router" box at 2.908323,2.469803 wid 0.606274 height 0.138154 linethick = 0.500000; box at 2.908323,0.387420 wid 0.807112 height 0.193710 "Arp_Sources_Local" box at 2.908323,0.387420 wid 0.751557 height 0.138154 linethick = 0.500000; box at 2.908323,0.677985 wid 0.898582 height 0.193710 "Arp_Sources_Remote" box at 2.908323,0.677985 wid 0.843026 height 0.138154 linethick = 0.500000; box at 6.255283,2.685053 wid 0.489660 height 0.193710 "ACL_entry" box at 6.255283,2.685053 wid 0.434105 height 0.138154 linethick = 1.000000; spline -> from 0.333669,2.645149 to 0.333669,2.645149 to 0.550756,2.671067 to 0.937091,2.717248 to 1.177021,2.745878 "managers*" at 0.640328,2.746924 linethick = 1.000000; spline -> from 0.333731,2.577157 to 0.333731,2.577157 to 0.365562,2.568982 to 0.398888,2.561350 to 0.430462,2.555887 to 0.630991,2.521174 to 0.857903,2.502423 to 1.040533,2.492350 "switches*" at 0.640328,2.596256 linethick = 1.000000; spline -> from 1.747845,2.561699 to 1.747845,2.561699 to 2.007301,2.622020 to 2.357644,2.703494 to 2.604237,2.760871 "ports*" at 2.149639,2.741539 linethick = 1.000000; spline -> from 1.672337,2.382788 to 1.672337,2.382788 to 1.731535,2.354003 to 1.791043,2.318592 to 1.840245,2.276092 to 2.160525,1.999513 to 2.183538,1.863374 to 2.362177,1.479712 to 2.425443,1.343921 to 2.355591,1.265236 to 2.459032,1.156875 to 2.530666,1.081832 to 2.640500,1.042857 to 2.732977,1.022595 "tunnels*" at 2.149639,2.224992 linethick = 1.000000; spline -> from 3.213068,2.759476 to 3.213068,2.759476 to 3.291365,2.742391 to 3.375862,2.725267 to 3.454508,2.711940 to 3.827361,2.648713 to 3.958270,2.773540 to 4.299200,2.609700 to 4.356150,2.582425 to 4.623083,2.307938 to 4.766816,2.157813 "vlan_bindings value*" at 3.876912,2.752309 linethick = 1.000000; spline -> from 3.213610,2.845329 to 3.213610,2.845329 to 3.495071,2.855053 to 3.927277,2.858733 to 4.299200,2.814180 to 4.443707,2.796862 to 4.605649,2.757307 to 4.717613,2.726468 "acl_bindings value*" at 3.876912,2.886821 linethick = 1.000000; spline -> from 3.213184,2.900459 to 3.213184,2.900459 to 3.291482,2.917544 to 3.375939,2.934861 to 3.454508,2.948692 to 3.767040,3.003745 to 4.121374,3.051165 to 4.395667,3.084638 "vlan_stats value*" at 3.876912,3.107418 linethick = 1.000000; spline -> from 3.084754,0.989936 to 3.084754,0.989936 to 3.346728,0.972424 to 3.863004,0.934612 to 4.299200,0.882465 to 4.362737,0.874872 to 4.430148,0.865613 to 4.495234,0.855966 "local" at 3.876912,1.003534 linethick = 1.000000; spline -> from 3.085103,0.934031 to 3.085103,0.934031 to 3.167740,0.901371 to 3.268159,0.861041 to 3.357653,0.823267 to 3.401044,0.804943 to 3.408405,0.789988 to 3.454508,0.780225 to 3.802140,0.706460 to 4.209318,0.721918 to 4.495234,0.748922 "remote" at 3.876912,0.820594 linethick = 1.000000; spline -> from 5.009728,2.685053 to 5.009728,2.685053 to 5.244117,2.685053 to 5.718707,2.685053 to 6.008109,2.685053 "acl_entries+" at 5.671441,2.725383 linethick = 1.000000; spline -> from 3.301981,1.675591 to 3.301981,1.675591 to 3.353236,1.684115 to 3.405112,1.692560 to 3.454508,1.700348 to 3.829337,1.759507 to 3.933863,1.721849 to 4.299200,1.824090 to 4.424336,1.859074 to 4.558384,1.915095 to 4.663762,1.963871 "logical_switch" at 3.876912,1.864459 linethick = 1.000000; spline -> from 3.302058,1.592916 to 3.302058,1.592916 to 3.681071,1.574824 to 4.212805,1.541777 to 4.299200,1.495867 to 4.554510,1.360077 to 4.734272,1.052349 to 4.813694,0.894204 "locator" at 3.876912,1.627706 linethick = 1.000000; spline -> from 3.350059,1.302235 to 3.350059,1.302235 to 3.692849,1.308782 to 4.138420,1.333616 to 4.299200,1.415168 to 4.541337,1.537864 to 4.723425,1.815101 to 4.807495,1.963212 "logical_switch" at 3.876912,1.455498 linethick = 1.000000; spline -> from 3.350989,1.228160 to 3.350989,1.228160 to 3.752705,1.160090 to 4.287577,1.069085 to 4.299200,1.065405 to 4.434797,1.022169 to 4.579304,0.952007 to 4.687782,0.894165 "locator" at 3.876912,1.251057 linethick = 1.000000; spline -> from 1.795924,2.122790 to 1.795924,2.122790 to 2.486384,2.108843 to 3.895896,2.080329 to 4.533201,2.067428 "logical_switch" at 2.908323,2.149639 linethick = 1.000000; spline -> from 1.613411,2.033568 to 1.613411,2.033568 to 1.691592,1.990641 to 1.776398,1.934504 to 1.840245,1.867132 to 2.182453,1.506134 to 2.206512,1.349539 to 2.362177,0.877080 to 2.451516,0.605964 to 2.274504,0.459945 to 2.459032,0.242138 to 2.474258,0.224196 to 2.491692,0.208455 to 2.510714,0.194644 "locator_set" at 2.149639,1.789144 linethick = 1.000000; spline -> from 3.357730,0.080118 to 3.357730,0.080118 to 3.639733,0.086073 to 4.005535,0.125288 to 4.299200,0.263663 to 4.510344,0.363133 to 4.693206,0.573498 to 4.788511,0.698015 "locators+" at 3.876912,0.304016 linethick = 1.000000; spline -> from 1.840322,1.809639 to 1.840322,1.809639 to 1.873021,1.814946 to 1.905525,1.819828 to 1.937100,1.824090 to 2.873920,1.950698 to 3.989651,2.018226 to 4.531264,2.045771 "logical_switch" at 2.908323,2.015126 linethick = 1.000000; spline -> from 1.441784,1.624413 to 1.441784,1.624413 to 1.562271,1.361239 to 1.930243,0.629906 to 2.459032,0.242138 to 2.483905,0.223917 to 2.511140,0.207901 to 2.539538,0.193842 "locator_set" at 2.149639,0.815209 linethick = 1.000000; spline -> from 3.240032,2.407389 to 3.240032,2.407389 to 3.616566,2.335213 to 4.197308,2.223403 to 4.299200,2.200778 to 4.375134,2.183964 to 4.456105,2.164477 to 4.532427,2.145532 "switch_binding value*" at 3.876912,2.407932 linethick = 1.000000; spline -> from 3.240575,2.462751 to 3.240575,2.462751 to 3.522694,2.461667 to 3.940061,2.472050 to 4.299200,2.529000 to 4.444870,2.552052 to 4.606424,2.599588 to 4.718388,2.636161 "acl_binding value*" at 3.876912,2.569331 linethick = 1.000000; spline -> from 3.312015,0.361804 to 3.312015,0.361804 to 3.593708,0.355361 to 3.976866,0.370447 to 4.299200,0.468120 to 4.461141,0.517128 to 4.625407,0.621422 to 4.733498,0.699332 "locator" at 3.876912,0.508489 linethick = 1.000000; spline -> from 3.358118,0.600850 to 3.358118,0.600850 to 3.631326,0.566059 to 3.987714,0.543473 to 4.299200,0.597285 to 4.415038,0.617276 to 4.538625,0.658924 to 4.640129,0.699022 "locator" at 3.876912,0.637616 .ps +3 .PE .RE\} .bp .SH "Global TABLE" .PP Top-level configuration for a hardware VTEP\[char46] There must be exactly one record in the \fBGlobal\fR table\[char46] .SS "Summary: .TQ 3.00in \fBswitches\fR set of \fBPhysical_Switch\fRs .TQ .25in \fIDatabase Configuration:\fR .RS .25in .TQ 2.75in \fBmanagers\fR set of \fBManager\fRs .RE .TQ .25in \fICommon Column:\fR .RS .25in .TQ 2.75in \fBother_config\fR map of string-string pairs .RE .SS "Details: .IP "\fBswitches\fR: set of \fBPhysical_Switch\fRs" The physical switch or switches managed by the VTEP\[char46] .IP When a physical switch integrates support for this VTEP schema, which is expected to be the most common case, this column should point to one \fBPhysical_Switch\fR record that represents the switch itself\[char46] In another possible implementation, a server or a VM presents a VTEP schema front-end interface to one or more physical switches, presumably communicating with those physical switches over a proprietary protocol\[char46] In that case, this column would point to one \fBPhysical_Switch\fR for each physical switch, and the set might change over time as the front-end server comes to represent a differing set of switches\[char46] .ST "Database Configuration:" .PP .PP .PP These columns primarily configure the database server (\fBovsdb\-server\fR), not the hardware VTEP itself\[char46] .IP "\fBmanagers\fR: set of \fBManager\fRs" Database clients to which the database server should connect or to which it should listen, along with options for how these connection should be configured\[char46] See the \fBManager\fR table for more information\[char46] .ST "Common Column:" .PP The overall purpose of this column is described under \fBCommon Column\fR at the beginning of this document\[char46] .IP "\fBother_config\fR: map of string-string pairs" .bp .SH "Manager TABLE" .PP .PP .PP Configuration for a database connection to an Open vSwitch Database (OVSDB) client\[char46] .PP .PP The database server can initiate and maintain active connections to remote clients\[char46] It can also listen for database connections\[char46] .SS "Summary: .TQ .25in \fICore Features:\fR .RS .25in .TQ 2.75in \fBtarget\fR string (must be unique within table) .RE .TQ .25in \fIClient Failure Detection and Handling:\fR .RS .25in .TQ 2.75in \fBmax_backoff\fR optional integer, at least 1,000 .TQ 2.75in \fBinactivity_probe\fR optional integer .RE .TQ .25in \fIStatus:\fR .RS .25in .TQ 2.75in \fBis_connected\fR boolean .TQ 2.75in \fBstatus : last_error\fR optional string .TQ 2.75in \fBstatus : state\fR optional string, one of \fBACTIVE\fR, \fBBACKOFF\fR, \fBCONNECTING\fR, \fBIDLE\fR, or \fBVOID\fR .TQ 2.75in \fBstatus : sec_since_connect\fR optional string, containing an integer, at least 0 .TQ 2.75in \fBstatus : sec_since_disconnect\fR optional string, containing an integer, at least 0 .TQ 2.75in \fBstatus : locks_held\fR optional string .TQ 2.75in \fBstatus : locks_waiting\fR optional string .TQ 2.75in \fBstatus : locks_lost\fR optional string .TQ 2.75in \fBstatus : n_connections\fR optional string, containing an integer, at least 2 .RE .TQ .25in \fIConnection Parameters:\fR .RS .25in .TQ 2.75in \fBother_config : dscp\fR optional string, containing an integer .RE .SS "Details: .ST "Core Features:" .PP .IP "\fBtarget\fR: string (must be unique within table)" Connection method for managers\[char46] .IP The following connection methods are currently supported: .RS .TP \fBssl:\fIhost\fB\fR[\fB:\fIport\fB\fR] The specified SSL \fIport\fR (default: 6640) on the given \fIhost\fR, which can either be a DNS name (if built with unbound library) or an IP address\[char46] .IP SSL key and certificate configuration happens outside the database\[char46] .TP \fBtcp:\fIhost\fB\fR[\fB:\fIport\fB\fR] The specified TCP \fIport\fR (default: 6640) on the given \fIhost\fR, which can either be a DNS name (if built with unbound library) or an IP address\[char46] .TP \fBpssl:\fR[\fIport\fR][\fB:\fIhost\fB\fR] Listens for SSL connections on the specified TCP \fIport\fR (default: 6640)\[char46] If \fIhost\fR, which can either be a DNS name (if built with unbound library) or an IP address, is specified, then connections are restricted to the resolved or specified local IP address\[char46] .TP \fBptcp:\fR[\fIport\fR][\fB:\fIhost\fB\fR] Listens for connections on the specified TCP \fIport\fR (default: 6640)\[char46] If \fIhost\fR, which can either be a DNS name (if built with unbound library) or an IP address, is specified, then connections are restricted to the resolved or specified local IP address\[char46] .RE .ST "Client Failure Detection and Handling:" .PP .IP "\fBmax_backoff\fR: optional integer, at least 1,000" Maximum number of milliseconds to wait between connection attempts\[char46] Default is implementation-specific\[char46] .IP "\fBinactivity_probe\fR: optional integer" Maximum number of milliseconds of idle time on connection to the client before sending an inactivity probe message\[char46] If the Open vSwitch database does not communicate with the client for the specified number of seconds, it will send a probe\[char46] If a response is not received for the same additional amount of time, the database server assumes the connection has been broken and attempts to reconnect\[char46] Default is implementation-specific\[char46] A value of 0 disables inactivity probes\[char46] .ST "Status:" .PP .IP "\fBis_connected\fR: boolean" \fBtrue\fR if currently connected to this manager, \fBfalse\fR otherwise\[char46] .IP "\fBstatus : last_error\fR: optional string" A human-readable description of the last error on the connection to the manager; i\[char46]e\[char46] \fBstrerror(errno)\fR\[char46] This key will exist only if an error has occurred\[char46] .IP "\fBstatus : state\fR: optional string, one of \fBACTIVE\fR, \fBBACKOFF\fR, \fBCONNECTING\fR, \fBIDLE\fR, or \fBVOID\fR" The state of the connection to the manager: .RS .TP \fBVOID\fR Connection is disabled\[char46] .TP \fBBACKOFF\fR Attempting to reconnect at an increasing period\[char46] .TP \fBCONNECTING\fR Attempting to connect\[char46] .TP \fBACTIVE\fR Connected, remote host responsive\[char46] .TP \fBIDLE\fR Connection is idle\[char46] Waiting for response to keep-alive\[char46] .RE .IP These values may change in the future\[char46] They are provided only for human consumption\[char46] .IP "\fBstatus : sec_since_connect\fR: optional string, containing an integer, at least 0" The amount of time since this manager last successfully connected to the database (in seconds)\[char46] Value is empty if manager has never successfully connected\[char46] .IP "\fBstatus : sec_since_disconnect\fR: optional string, containing an integer, at least 0" The amount of time since this manager last disconnected from the database (in seconds)\[char46] Value is empty if manager has never disconnected\[char46] .IP "\fBstatus : locks_held\fR: optional string" Space-separated list of the names of OVSDB locks that the connection holds\[char46] Omitted if the connection does not hold any locks\[char46] .IP "\fBstatus : locks_waiting\fR: optional string" Space-separated list of the names of OVSDB locks that the connection is currently waiting to acquire\[char46] Omitted if the connection is not waiting for any locks\[char46] .IP "\fBstatus : locks_lost\fR: optional string" Space-separated list of the names of OVSDB locks that the connection has had stolen by another OVSDB client\[char46] Omitted if no locks have been stolen from this connection\[char46] .IP "\fBstatus : n_connections\fR: optional string, containing an integer, at least 2" When \fBtarget\fR specifies a connection method that listens for inbound connections (e\[char46]g\[char46] \fBptcp:\fR or \fBpssl:\fR) and more than one connection is actually active, the value is the number of active connections\[char46] Otherwise, this key-value pair is omitted\[char46] .IP When multiple connections are active, status columns and key-value pairs (other than this one) report the status of one arbitrarily chosen connection\[char46] .ST "Connection Parameters:" .PP .PP .PP Additional configuration for a connection between the manager and the database server\[char46] .IP "\fBother_config : dscp\fR: optional string, containing an integer" The Differentiated Service Code Point (DSCP) is specified using 6 bits in the Type of Service (TOS) field in the IP header\[char46] DSCP provides a mechanism to classify the network traffic and provide Quality of Service (QoS) on IP networks\[char46] The DSCP value specified here is used when establishing the connection between the manager and the database server\[char46] If no value is specified, a default value of 48 is chosen\[char46] Valid DSCP values must be in the range 0 to 63\[char46] .bp .SH "Physical_Switch TABLE" .PP A physical switch that implements a VTEP\[char46] .SS "Summary: .TQ 3.00in \fBports\fR set of \fBPhysical_Port\fRs .TQ 3.00in \fBtunnels\fR set of \fBTunnel\fRs .TQ .25in \fINetwork Status:\fR .RS .25in .TQ 2.75in \fBmanagement_ips\fR set of strings .TQ 2.75in \fBtunnel_ips\fR set of strings .RE .TQ .25in \fIIdentification:\fR .RS .25in .TQ 2.75in \fBname\fR string (must be unique within table) .TQ 2.75in \fBdescription\fR string .RE .TQ .25in \fIError Notification:\fR .RS .25in .TQ 2.75in \fBswitch_fault_status : mac_table_exhaustion\fR none .TQ 2.75in \fBswitch_fault_status : tunnel_exhaustion\fR none .TQ 2.75in \fBswitch_fault_status : lr_switch_bindings_fault\fR none .TQ 2.75in \fBswitch_fault_status : lr_static_routes_fault\fR none .TQ 2.75in \fBswitch_fault_status : lr_creation_fault\fR none .TQ 2.75in \fBswitch_fault_status : lr_support_fault\fR none .TQ 2.75in \fBswitch_fault_status : unspecified_fault\fR none .TQ 2.75in \fBswitch_fault_status : unsupported_source_node_replication\fR none .RE .TQ .25in \fICommon Column:\fR .RS .25in .TQ 2.75in \fBother_config\fR map of string-string pairs .RE .SS "Details: .IP "\fBports\fR: set of \fBPhysical_Port\fRs" The physical ports within the switch\[char46] .IP "\fBtunnels\fR: set of \fBTunnel\fRs" Tunnels created by this switch as instructed by the NVC\[char46] .ST "Network Status:" .PP .IP "\fBmanagement_ips\fR: set of strings" IPv4 or IPv6 addresses at which the switch may be contacted for management purposes\[char46] .IP "\fBtunnel_ips\fR: set of strings" IPv4 or IPv6 addresses on which the switch may originate or terminate tunnels\[char46] .IP This column is intended to allow a \fBManager\fR to determine the \fBPhysical_Switch\fR that terminates the tunnel represented by a \fBPhysical_Locator\fR\[char46] .ST "Identification:" .PP .IP "\fBname\fR: string (must be unique within table)" Symbolic name for the switch, such as its hostname\[char46] .IP "\fBdescription\fR: string" An extended description for the switch, such as its switch login banner\[char46] .ST "Error Notification:" .PP .PP .PP An entry in this column indicates to the NVC that this switch has encountered a fault\[char46] The switch must clear this column when the fault has been cleared\[char46] .IP "\fBswitch_fault_status : mac_table_exhaustion\fR: none" Indicates that the switch has been unable to process MAC entries requested by the NVC due to lack of table resources\[char46] .IP "\fBswitch_fault_status : tunnel_exhaustion\fR: none" Indicates that the switch has been unable to create tunnels requested by the NVC due to lack of resources\[char46] .IP "\fBswitch_fault_status : lr_switch_bindings_fault\fR: none" Indicates that the switch has been unable to create the logical router interfaces requested by the NVC due to conflicting configurations or a lack of hardware resources\[char46] .IP "\fBswitch_fault_status : lr_static_routes_fault\fR: none" Indicates that the switch has been unable to create the static routes requested by the NVC due to conflicting configurations or a lack of hardware resources\[char46] .IP "\fBswitch_fault_status : lr_creation_fault\fR: none" Indicates that the switch has been unable to create the logical router requested by the NVC due to conflicting configurations or a lack of hardware resources\[char46] .IP "\fBswitch_fault_status : lr_support_fault\fR: none" Indicates that the switch does not support logical routing\[char46] .IP "\fBswitch_fault_status : unspecified_fault\fR: none" Indicates that an error has occurred in the switch but that no more specific information is available\[char46] .IP "\fBswitch_fault_status : unsupported_source_node_replication\fR: none" Indicates that the requested source node replication mode cannot be supported by the physical switch; this specifically means in this context that the physical switch lacks the capability to support source node replication mode\[char46] This error occurs when a controller attempts to set source node replication mode for one of the logical switches that the physical switch is keeping context for\[char46] An NVC that observes this error should take appropriate action (for example reverting the logical switch to service node replication mode)\[char46] It is recommended that an NVC be proactive and test for support of source node replication by using a test logical switch on vtep physical switch nodes and then trying to change the replication mode to source node on this logical switch, checking for error\[char46] The NVC could remember this capability per vtep physical switch\[char46] Using mixed replication modes on a given logical switch is not recommended\[char46] Service node replication mode is considered a basic requirement since it only requires sending a packet to a single transport node, hence it is not expected that a switch should report that service node mode cannot be supported\[char46] .ST "Common Column:" .PP The overall purpose of this column is described under \fBCommon Column\fR at the beginning of this document\[char46] .IP "\fBother_config\fR: map of string-string pairs" .bp .SH "Tunnel TABLE" .PP A tunnel created by a \fBPhysical_Switch\fR\[char46] .SS "Summary: .TQ 3.00in \fBlocal\fR \fBPhysical_Locator\fR .TQ 3.00in \fBremote\fR \fBPhysical_Locator\fR .TQ .25in \fIBidirectional Forwarding Detection (BFD):\fR .RS .25in .TQ .25in \fIBFD Local Configuration:\fR .RS .25in .TQ 2.50in \fBbfd_config_local : bfd_dst_mac\fR optional string .TQ 2.50in \fBbfd_config_local : bfd_dst_ip\fR optional string .RE .TQ .25in \fIBFD Remote Configuration:\fR .RS .25in .TQ 2.50in \fBbfd_config_remote : bfd_dst_mac\fR optional string .TQ 2.50in \fBbfd_config_remote : bfd_dst_ip\fR optional string .RE .TQ .25in \fIBFD Parameters:\fR .RS .25in .TQ 2.50in \fBbfd_params : enable\fR optional string, either \fBtrue\fR or \fBfalse\fR .TQ 2.50in \fBbfd_params : min_rx\fR optional string, containing an integer, at least 1 .TQ 2.50in \fBbfd_params : min_tx\fR optional string, containing an integer, at least 1 .TQ 2.50in \fBbfd_params : decay_min_rx\fR optional string, containing an integer .TQ 2.50in \fBbfd_params : forwarding_if_rx\fR optional string, either \fBtrue\fR or \fBfalse\fR .TQ 2.50in \fBbfd_params : cpath_down\fR optional string, either \fBtrue\fR or \fBfalse\fR .TQ 2.50in \fBbfd_params : check_tnl_key\fR optional string, either \fBtrue\fR or \fBfalse\fR .RE .TQ .25in \fIBFD Status:\fR .RS .25in .TQ 2.50in \fBbfd_status : enabled\fR optional string, either \fBtrue\fR or \fBfalse\fR .TQ 2.50in \fBbfd_status : state\fR optional string, one of \fBadmin_down\fR, \fBdown\fR, \fBinit\fR, or \fBup\fR .TQ 2.50in \fBbfd_status : forwarding\fR optional string, either \fBtrue\fR or \fBfalse\fR .TQ 2.50in \fBbfd_status : diagnostic\fR optional string .TQ 2.50in \fBbfd_status : remote_state\fR optional string, one of \fBadmin_down\fR, \fBdown\fR, \fBinit\fR, or \fBup\fR .TQ 2.50in \fBbfd_status : remote_diagnostic\fR optional string .TQ 2.50in \fBbfd_status : info\fR optional string .RE .RE .SS "Details: .IP "\fBlocal\fR: \fBPhysical_Locator\fR" Tunnel end-point local to the physical switch\[char46] .IP "\fBremote\fR: \fBPhysical_Locator\fR" Tunnel end-point remote to the physical switch\[char46] .ST "Bidirectional Forwarding Detection (BFD):" .PP .PP .PP BFD, defined in RFC 5880, allows point to point detection of connectivity failures by occasional transmission of BFD control messages\[char46] VTEPs are expected to implement BFD\[char46] .PP .PP BFD operates by regularly transmitting BFD control messages at a rate negotiated independently in each direction\[char46] Each endpoint specifies the rate at which it expects to receive control messages, and the rate at which it\(cqs willing to transmit them\[char46] An endpoint which fails to receive BFD control messages for a period of three times the expected reception rate will signal a connectivity fault\[char46] In the case of a unidirectional connectivity issue, the system not receiving BFD control messages will signal the problem to its peer in the messages it transmits\[char46] .PP .PP A hardware VTEP is expected to use BFD to determine reachability of devices at the end of the tunnels with which it exchanges data\[char46] This can enable the VTEP to choose a functioning service node among a set of service nodes providing high availability\[char46] It also enables the NVC to report the health status of tunnels\[char46] .PP .PP In many cases the BFD peer of a hardware VTEP will be an Open vSwitch instance\[char46] The Open vSwitch implementation of BFD aims to comply faithfully with the requirements put forth in RFC 5880\[char46] Open vSwitch does not implement the optional Authentication or ``Echo Mode\(cq\(cq features\[char46] .ST "BFD Local Configuration:" .PP .PP .PP The HSC writes the key-value pairs in the \fBbfd_config_local\fR column to specify the local configurations to be used for BFD sessions on this tunnel\[char46] .IP "\fBbfd_config_local : bfd_dst_mac\fR: optional string" Set to an Ethernet address in the form \fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR to set the MAC expected as destination for received BFD packets\[char46] The default is \fB00:23:20:00:00:01\fR\[char46] .IP "\fBbfd_config_local : bfd_dst_ip\fR: optional string" Set to an IPv4 address to set the IP address that is expected as destination for received BFD packets\[char46] The default is \fB169\[char46]254\[char46]1\[char46]0\fR\[char46] .ST "BFD Remote Configuration:" .PP .PP .PP The \fBbfd_config_remote\fR column is the remote counterpart of the \fBbfd_config_local\fR column\[char46] The NVC writes the key-value pairs in this column\[char46] .IP "\fBbfd_config_remote : bfd_dst_mac\fR: optional string" Set to an Ethernet address in the form \fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR to set the destination MAC to be used for transmitted BFD packets\[char46] The default is \fB00:23:20:00:00:01\fR\[char46] .IP "\fBbfd_config_remote : bfd_dst_ip\fR: optional string" Set to an IPv4 address to set the IP address used as destination for transmitted BFD packets\[char46] The default is \fB169\[char46]254\[char46]1\[char46]1\fR\[char46] .ST "BFD Parameters:" .PP .PP .PP The NVC sets up key-value pairs in the \fBbfd_params\fR column to enable and configure BFD\[char46] .IP "\fBbfd_params : enable\fR: optional string, either \fBtrue\fR or \fBfalse\fR" True to enable BFD on this \fBTunnel\fR\[char46] If not specified, BFD will not be enabled by default\[char46] .IP "\fBbfd_params : min_rx\fR: optional string, containing an integer, at least 1" The shortest interval, in milliseconds, at which this BFD session offers to receive BFD control messages\[char46] The remote endpoint may choose to send messages at a slower rate\[char46] Defaults to \fB1000\fR\[char46] .IP "\fBbfd_params : min_tx\fR: optional string, containing an integer, at least 1" The shortest interval, in milliseconds, at which this BFD session is willing to transmit BFD control messages\[char46] Messages will actually be transmitted at a slower rate if the remote endpoint is not willing to receive as quickly as specified\[char46] Defaults to \fB100\fR\[char46] .IP "\fBbfd_params : decay_min_rx\fR: optional string, containing an integer" An alternate receive interval, in milliseconds, that must be greater than or equal to \fBbfd_params:min_rx\fR\[char46] The implementation should switch from \fBbfd_params:min_rx\fR to \fBbfd_params:decay_min_rx\fR when there is no obvious incoming data traffic at the tunnel, to reduce the CPU and bandwidth cost of monitoring an idle tunnel\[char46] This feature may be disabled by setting a value of 0\[char46] This feature is reset whenever \fBbfd_params:decay_min_rx\fR or \fBbfd_params:min_rx\fR changes\[char46] .IP "\fBbfd_params : forwarding_if_rx\fR: optional string, either \fBtrue\fR or \fBfalse\fR" When \fBtrue\fR, traffic received on the \fBTunnel\fR is used to indicate the capability of packet I/O\[char46] BFD control packets are still transmitted and received\[char46] At least one BFD control packet must be received every 100 * \fBbfd_params:min_rx\fR amount of time\[char46] Otherwise, even if traffic is received, the \fBbfd_params:forwarding\fR will be \fBfalse\fR\[char46] .IP "\fBbfd_params : cpath_down\fR: optional string, either \fBtrue\fR or \fBfalse\fR" Set to true to notify the remote endpoint that traffic should not be forwarded to this system for some reason other than a connectivity failure on the interface being monitored\[char46] The typical underlying reason is ``concatenated path down,\(cq\(cq that is, that connectivity beyond the local system is down\[char46] Defaults to false\[char46] .IP "\fBbfd_params : check_tnl_key\fR: optional string, either \fBtrue\fR or \fBfalse\fR" Set to true to make BFD accept only control messages with a tunnel key of zero\[char46] By default, BFD accepts control messages with any tunnel key\[char46] .ST "BFD Status:" .PP .PP .PP The VTEP sets key-value pairs in the \fBbfd_status\fR column to report the status of BFD on this tunnel\[char46] When BFD is not enabled, with \fBbfd_params:enable\fR, the HSC clears all key-value pairs from \fBbfd_status\fR\[char46] .IP "\fBbfd_status : enabled\fR: optional string, either \fBtrue\fR or \fBfalse\fR" Set to true if the BFD session has been successfully enabled\[char46] Set to false if the VTEP cannot support BFD or has insufficient resources to enable BFD on this tunnel\[char46] The NVC will disable the BFD monitoring on the other side of the tunnel once this value is set to false\[char46] .IP "\fBbfd_status : state\fR: optional string, one of \fBadmin_down\fR, \fBdown\fR, \fBinit\fR, or \fBup\fR" Reports the state of the BFD session\[char46] The BFD session is fully healthy and negotiated if \fBUP\fR\[char46] .IP "\fBbfd_status : forwarding\fR: optional string, either \fBtrue\fR or \fBfalse\fR" Reports whether the BFD session believes this \fBTunnel\fR may be used to forward traffic\[char46] Typically this means the local session is signaling \fBUP\fR, and the remote system isn\(cqt signaling a problem such as concatenated path down\[char46] .IP "\fBbfd_status : diagnostic\fR: optional string" A diagnostic code specifying the local system\(cqs reason for the last change in session state\[char46] The error messages are defined in section 4\[char46]1 of [RFC 5880]\[char46] .IP "\fBbfd_status : remote_state\fR: optional string, one of \fBadmin_down\fR, \fBdown\fR, \fBinit\fR, or \fBup\fR" Reports the state of the remote endpoint\(cqs BFD session\[char46] .IP "\fBbfd_status : remote_diagnostic\fR: optional string" A diagnostic code specifying the remote system\(cqs reason for the last change in session state\[char46] The error messages are defined in section 4\[char46]1 of [RFC 5880]\[char46] .IP "\fBbfd_status : info\fR: optional string" A short message providing further information about the BFD status (possibly including reasons why BFD could not be enabled)\[char46] .bp .SH "Physical_Port TABLE" .PP A port within a \fBPhysical_Switch\fR\[char46] .SS "Summary: .TQ 3.00in \fBvlan_bindings\fR map of integer-\fBLogical_Switch\fR pairs, key in range 0 to 4,095 .TQ 3.00in \fBacl_bindings\fR map of integer-\fBACL\fR pairs, key in range 0 to 4,095 .TQ 3.00in \fBvlan_stats\fR map of integer-\fBLogical_Binding_Stats\fR pairs, key in range 0 to 4,095 .TQ .25in \fIIdentification:\fR .RS .25in .TQ 2.75in \fBname\fR string .TQ 2.75in \fBdescription\fR string .RE .TQ .25in \fIError Notification:\fR .RS .25in .TQ 2.75in \fBport_fault_status : invalid_vlan_map\fR none .TQ 2.75in \fBport_fault_status : invalid_ACL_binding\fR none .TQ 2.75in \fBport_fault_status : unspecified_fault\fR none .RE .TQ .25in \fICommon Column:\fR .RS .25in .TQ 2.75in \fBother_config\fR map of string-string pairs .RE .SS "Details: .IP "\fBvlan_bindings\fR: map of integer-\fBLogical_Switch\fR pairs, key in range 0 to 4,095" Identifies how VLANs on the physical port are bound to logical switches\[char46] If, for example, the map contains a (VLAN, logical switch) pair, a packet that arrives on the port in the VLAN is considered to belong to the paired logical switch\[char46] A value of zero in the VLAN field means that untagged traffic on the physical port is mapped to the logical switch\[char46] .IP "\fBacl_bindings\fR: map of integer-\fBACL\fR pairs, key in range 0 to 4,095" Attach Access Control Lists (ACLs) to the physical port\[char46] The column consists of a map of VLAN tags to \fBACL\fRs\[char46] If the value of the VLAN tag in the map is 0, this means that the ACL is associated with the entire physical port\[char46] Non-zero values mean that the ACL is to be applied only on packets carrying that VLAN tag value\[char46] Switches will not necessarily support matching on the VLAN tag for all ACLs, and unsupported ACL bindings will cause errors to be reported\[char46] The binding of an ACL to a specific VLAN and the binding of an ACL to the entire physical port should not be combined on a single physical port\[char46] That is, a mix of zero and non-zero keys in the map is not recommended\[char46] .IP "\fBvlan_stats\fR: map of integer-\fBLogical_Binding_Stats\fR pairs, key in range 0 to 4,095" Statistics for VLANs bound to logical switches on the physical port\[char46] An implementation that fully supports such statistics would populate this column with a mapping for every VLAN that is bound in \fBvlan_bindings\fR\[char46] An implementation that does not support such statistics or only partially supports them would not populate this column or partially populate it, respectively\[char46] A value of zero in the VLAN field refers to untagged traffic on the physical port\[char46] .ST "Identification:" .PP .IP "\fBname\fR: string" Symbolic name for the port\[char46] The name ought to be unique within a given \fBPhysical_Switch\fR, but the database is not capable of enforcing this\[char46] .IP "\fBdescription\fR: string" An extended description for the port\[char46] .ST "Error Notification:" .PP .PP .PP An entry in this column indicates to the NVC that the physical port has encountered a fault\[char46] The switch must clear this column when the error has been cleared\[char46] .IP "\fBport_fault_status : invalid_vlan_map\fR: none" Indicates that a VLAN-to-logical-switch mapping requested by the controller could not be instantiated by the switch because of a conflict with local configuration\[char46] .IP "\fBport_fault_status : invalid_ACL_binding\fR: none" Indicates that an error has occurred in associating an ACL with a port\[char46] .IP "\fBport_fault_status : unspecified_fault\fR: none" Indicates that an error has occurred on the port but that no more specific information is available\[char46] .ST "Common Column:" .PP The overall purpose of this column is described under \fBCommon Column\fR at the beginning of this document\[char46] .IP "\fBother_config\fR: map of string-string pairs" .bp .SH "Logical_Binding_Stats TABLE" .PP Reports statistics for the \fBLogical_Switch\fR with which a VLAN on a \fBPhysical_Port\fR is associated\[char46] .SS "Summary: .TQ .25in \fIStatistics:\fR .RS .25in .TQ 2.75in \fBpackets_from_local\fR integer .TQ 2.75in \fBbytes_from_local\fR integer .TQ 2.75in \fBpackets_to_local\fR integer .TQ 2.75in \fBbytes_to_local\fR integer .RE .SS "Details: .ST "Statistics:" .PP These statistics count only packets to which the binding applies\[char46] .IP "\fBpackets_from_local\fR: integer" Number of packets sent by the \fBPhysical_Switch\fR\[char46] .IP "\fBbytes_from_local\fR: integer" Number of bytes in packets sent by the \fBPhysical_Switch\fR\[char46] .IP "\fBpackets_to_local\fR: integer" Number of packets received by the \fBPhysical_Switch\fR\[char46] .IP "\fBbytes_to_local\fR: integer" Number of bytes in packets received by the \fBPhysical_Switch\fR\[char46] .bp .SH "Logical_Switch TABLE" .PP A logical Ethernet switch, whose implementation may span physical and virtual media, possibly crossing L3 domains via tunnels; a logical layer\-2 domain; an Ethernet broadcast domain\[char46] .SS "Summary: .TQ .25in \fIPer Logical-Switch Tunnel Key:\fR .RS .25in .TQ 2.75in \fBtunnel_key\fR optional integer .RE .TQ .25in \fIReplication Mode:\fR .RS .25in .TQ 2.75in \fBreplication_mode\fR optional string, either \fBservice_node\fR or \fBsource_node\fR .RE .TQ .25in \fIIdentification:\fR .RS .25in .TQ 2.75in \fBname\fR string (must be unique within table) .TQ 2.75in \fBdescription\fR string .RE .TQ .25in \fICommon Column:\fR .RS .25in .TQ 2.75in \fBother_config\fR map of string-string pairs .RE .SS "Details: .ST "Per Logical-Switch Tunnel Key:" .PP .PP .PP Tunnel protocols tend to have a field that allows the tunnel to be partitioned into sub-tunnels: VXLAN has a VNI, GRE and STT have a key, CAPWAP has a WSI, and so on\[char46] We call these generically ``tunnel keys\[char46]\(cq\(cq Given that one needs to use a tunnel key at all, there are at least two reasonable ways to assign their values: .RS .IP \(bu Per \fBLogical_Switch\fR+\fBPhysical_Locator\fR pair\[char46] That is, each logical switch may be assigned a different tunnel key on every \fBPhysical_Locator\fR\[char46] This model is especially flexible\[char46] .IP In this model, \fBPhysical_Locator\fR carries the tunnel key\[char46] Therefore, one \fBPhysical_Locator\fR record will exist for each logical switch carried at a given IP destination\[char46] .IP \(bu Per \fBLogical_Switch\fR\[char46] That is, every tunnel associated with a particular logical switch carries the same tunnel key, regardless of the \fBPhysical_Locator\fR to which the tunnel is addressed\[char46] This model may ease switch implementation because it imposes fewer requirements on the hardware datapath\[char46] .IP In this model, \fBLogical_Switch\fR carries the tunnel key\[char46] Therefore, one \fBPhysical_Locator\fR record will exist for each IP destination\[char46] .RE .IP "\fBtunnel_key\fR: optional integer" This column is used only in the tunnel key per \fBLogical_Switch\fR model (see above), because only in that model is there a tunnel key associated with a logical switch\[char46] .IP For \fBvxlan_over_ipv4\fR encapsulation, when the tunnel key per \fBLogical_Switch\fR model is in use, this column is the VXLAN VNI that identifies a logical switch\[char46] It must be in the range 0 to 16,777,215\[char46] .ST "Replication Mode:" .PP .PP .PP For handling L2 broadcast, multicast and unknown unicast traffic, packets can be sent to all members of a logical switch referenced by a physical switch\[char46] There are different modes to replicate the packets\[char46] The default mode of replication is to send the traffic to a service node, which can be a hypervisor, server or appliance, and let the service node handle replication to other transport nodes (hypervisors or other VTEP physical switches)\[char46] This mode is called service node replication\[char46] An alternate mode of replication, called source node replication involves the source node sending to all other transport nodes\[char46] Hypervisors are always responsible for doing their own replication for locally attached VMs in both modes\[char46] Service node replication mode is the default and considered a basic requirement because it only requires sending the packet to a single transport node\[char46] .IP "\fBreplication_mode\fR: optional string, either \fBservice_node\fR or \fBsource_node\fR" This optional column defines the replication mode per \fBLogical_Switch\fR\[char46] There are 2 valid values, \fBservice_node\fR and \fBsource_node\fR\[char46] If the column is not set, the replication mode defaults to service_node\[char46] .ST "Identification:" .PP .IP "\fBname\fR: string (must be unique within table)" Symbolic name for the logical switch\[char46] .IP "\fBdescription\fR: string" An extended description for the logical switch, such as its switch login banner\[char46] .ST "Common Column:" .PP The overall purpose of this column is described under \fBCommon Column\fR at the beginning of this document\[char46] .IP "\fBother_config\fR: map of string-string pairs" .bp .SH "Ucast_Macs_Local TABLE" .PP .PP .PP Mapping of unicast MAC addresses to tunnels (physical locators)\[char46] This table is written by the HSC, so it contains the MAC addresses that have been learned on physical ports by a VTEP\[char46] .SS "Summary: .TQ 3.00in \fBMAC\fR string .TQ 3.00in \fBlogical_switch\fR \fBLogical_Switch\fR .TQ 3.00in \fBlocator\fR \fBPhysical_Locator\fR .TQ 3.00in \fBipaddr\fR string .SS "Details: .IP "\fBMAC\fR: string" A MAC address that has been learned by the VTEP\[char46] .IP "\fBlogical_switch\fR: \fBLogical_Switch\fR" The Logical switch to which this mapping applies\[char46] .IP "\fBlocator\fR: \fBPhysical_Locator\fR" The physical locator to be used to reach this MAC address\[char46] In this table, the physical locator will be one of the tunnel IP addresses of the appropriate VTEP\[char46] .IP "\fBipaddr\fR: string" The IP address to which this MAC corresponds\[char46] Optional field for the purpose of ARP supression\[char46] .bp .SH "Ucast_Macs_Remote TABLE" .PP .PP .PP Mapping of unicast MAC addresses to tunnels (physical locators)\[char46] This table is written by the NVC, so it contains the MAC addresses that the NVC has learned\[char46] These include VM MAC addresses, in which case the physical locators will be hypervisor IP addresses\[char46] The NVC will also report MACs that it has learned from other HSCs in the network, in which case the physical locators will be tunnel IP addresses of the corresponding VTEPs\[char46] .SS "Summary: .TQ 3.00in \fBMAC\fR string .TQ 3.00in \fBlogical_switch\fR \fBLogical_Switch\fR .TQ 3.00in \fBlocator\fR \fBPhysical_Locator\fR .TQ 3.00in \fBipaddr\fR string .SS "Details: .IP "\fBMAC\fR: string" A MAC address that has been learned by the NVC\[char46] .IP "\fBlogical_switch\fR: \fBLogical_Switch\fR" The Logical switch to which this mapping applies\[char46] .IP "\fBlocator\fR: \fBPhysical_Locator\fR" The physical locator to be used to reach this MAC address\[char46] In this table, the physical locator will be either a hypervisor IP address or a tunnel IP addresses of another VTEP\[char46] .IP "\fBipaddr\fR: string" The IP address to which this MAC corresponds\[char46] Optional field for the purpose of ARP supression\[char46] .bp .SH "Mcast_Macs_Local TABLE" .PP .PP .PP Mapping of multicast MAC addresses to tunnels (physical locators)\[char46] This table is written by the HSC, so it contains the MAC addresses that have been learned on physical ports by a VTEP\[char46] These may be learned by IGMP snooping, for example\[char46] This table also specifies how to handle unknown unicast and broadcast packets\[char46] .SS "Summary: .TQ 3.00in \fBMAC\fR string .TQ 3.00in \fBlogical_switch\fR \fBLogical_Switch\fR .TQ 3.00in \fBlocator_set\fR \fBPhysical_Locator_Set\fR .TQ 3.00in \fBipaddr\fR string .SS "Details: .IP "\fBMAC\fR: string" A MAC address that has been learned by the VTEP\[char46] .IP The keyword \fBunknown\-dst\fR is used as a special ``Ethernet address\(cq\(cq that indicates the locations to which packets in a logical switch whose destination addresses do not otherwise appear in \fBUcast_Macs_Local\fR (for unicast addresses) or \fBMcast_Macs_Local\fR (for multicast addresses) should be sent\[char46] .IP "\fBlogical_switch\fR: \fBLogical_Switch\fR" The Logical switch to which this mapping applies\[char46] .IP "\fBlocator_set\fR: \fBPhysical_Locator_Set\fR" The physical locator set to be used to reach this MAC address\[char46] In this table, the physical locator set will be contain one or more tunnel IP addresses of the appropriate VTEP(s)\[char46] .IP "\fBipaddr\fR: string" The IP address to which this MAC corresponds\[char46] Optional field for the purpose of ARP supression\[char46] .bp .SH "Mcast_Macs_Remote TABLE" .PP .PP .PP Mapping of multicast MAC addresses to tunnels (physical locators)\[char46] This table is written by the NVC, so it contains the MAC addresses that the NVC has learned\[char46] This table also specifies how to handle unknown unicast and broadcast packets\[char46] .PP .PP Multicast packet replication may be handled by a service node, in which case the physical locators will be IP addresses of service nodes\[char46] If the VTEP supports replication onto multiple tunnels, using source node replication, then this may be used to replicate directly onto VTEP-hypervisor or VTEP-VTEP tunnels\[char46] .SS "Summary: .TQ 3.00in \fBMAC\fR string .TQ 3.00in \fBlogical_switch\fR \fBLogical_Switch\fR .TQ 3.00in \fBlocator_set\fR \fBPhysical_Locator_Set\fR .TQ 3.00in \fBipaddr\fR string .SS "Details: .IP "\fBMAC\fR: string" A MAC address that has been learned by the NVC\[char46] .IP The keyword \fBunknown\-dst\fR is used as a special ``Ethernet address\(cq\(cq that indicates the locations to which packets in a logical switch whose destination addresses do not otherwise appear in \fBUcast_Macs_Remote\fR (for unicast addresses) or \fBMcast_Macs_Remote\fR (for multicast addresses) should be sent\[char46] .IP "\fBlogical_switch\fR: \fBLogical_Switch\fR" The Logical switch to which this mapping applies\[char46] .IP "\fBlocator_set\fR: \fBPhysical_Locator_Set\fR" The physical locator set to be used to reach this MAC address\[char46] In this table, the physical locator set will be either a set of service nodes when service node replication is used or the set of transport nodes (defined as hypervisors or VTEPs) participating in the associated logical switch, when source node replication is used\[char46] When service node replication is used, the VTEP should send packets to one member of the locator set that is known to be healthy and reachable, which could be determined by BFD\[char46] When source node replication is used, the VTEP should send packets to all members of the locator set\[char46] .IP "\fBipaddr\fR: string" The IP address to which this MAC corresponds\[char46] Optional field for the purpose of ARP supression\[char46] .bp .SH "Logical_Router TABLE" .PP .PP .PP A logical router, or VRF\[char46] A logical router may be connected to one or more logical switches\[char46] Subnet addresses and interface addresses may be configured on the interfaces\[char46] .SS "Summary: .TQ 3.00in \fBswitch_binding\fR map of string-\fBLogical_Switch\fR pairs .TQ 3.00in \fBstatic_routes\fR map of string-string pairs .TQ 3.00in \fBacl_binding\fR map of string-\fBACL\fR pairs .TQ .25in \fIIdentification:\fR .RS .25in .TQ 2.75in \fBname\fR string (must be unique within table) .TQ 2.75in \fBdescription\fR string .RE .TQ .25in \fIError Notification:\fR .RS .25in .TQ 2.75in \fBLR_fault_status : invalid_ACL_binding\fR none .TQ 2.75in \fBLR_fault_status : unspecified_fault\fR none .RE .TQ .25in \fICommon Column:\fR .RS .25in .TQ 2.75in \fBother_config\fR map of string-string pairs .RE .SS "Details: .IP "\fBswitch_binding\fR: map of string-\fBLogical_Switch\fR pairs" Maps from an IPv4 or IPv6 address prefix in CIDR notation to a logical switch\[char46] Multiple prefixes may map to the same switch\[char46] By writing a 32-bit (or 128-bit for v6) address with a /N prefix length, both the router\(cqs interface address and the subnet prefix can be configured\[char46] For example, 192\[char46]68\[char46]1\[char46]1/24 creates a /24 subnet for the logical switch attached to the interface and assigns the address 192\[char46]68\[char46]1\[char46]1 to the router interface\[char46] .IP "\fBstatic_routes\fR: map of string-string pairs" One or more static routes, mapping IP prefixes to next hop IP addresses\[char46] .IP "\fBacl_binding\fR: map of string-\fBACL\fR pairs" Maps ACLs to logical router interfaces\[char46] The router interfaces are indicated using IP address notation, and must be the same interfaces created in the \fBswitch_binding\fR column\[char46] For example, an ACL could be associated with the logical router interface with an address of 192\[char46]68\[char46]1\[char46]1 as defined in the example above\[char46] .ST "Identification:" .PP .IP "\fBname\fR: string (must be unique within table)" Symbolic name for the logical router\[char46] .IP "\fBdescription\fR: string" An extended description for the logical router\[char46] .ST "Error Notification:" .PP .PP .PP An entry in this column indicates to the NVC that the HSC has encountered a fault in configuring state related to the logical router\[char46] .IP "\fBLR_fault_status : invalid_ACL_binding\fR: none" Indicates that an error has occurred in associating an ACL with a logical router port\[char46] .IP "\fBLR_fault_status : unspecified_fault\fR: none" Indicates that an error has occurred in configuring the logical router but that no more specific information is available\[char46] .ST "Common Column:" .PP The overall purpose of this column is described under \fBCommon Column\fR at the beginning of this document\[char46] .IP "\fBother_config\fR: map of string-string pairs" .bp .SH "Arp_Sources_Local TABLE" .PP .PP .PP MAC address to be used when a VTEP issues ARP requests on behalf of a logical router\[char46] .PP .PP A distributed logical router is implemented by a set of VTEPs (both hardware VTEPs and vswitches)\[char46] In order for a given VTEP to populate the local ARP cache for a logical router, it issues ARP requests with a source MAC address that is unique to the VTEP\[char46] A single per-VTEP MAC can be re-used across all logical networks\[char46] This table contains the MACs that are used by the VTEPs of a given HSC\[char46] The table provides the mapping from MAC to physical locator for each VTEP so that replies to the ARP requests can be sent back to the correct VTEP using the appropriate physical locator\[char46] .SS "Summary: .TQ 3.00in \fBsrc_mac\fR string .TQ 3.00in \fBlocator\fR \fBPhysical_Locator\fR .SS "Details: .IP "\fBsrc_mac\fR: string" The source MAC to be used by a given VTEP\[char46] .IP "\fBlocator\fR: \fBPhysical_Locator\fR" The \fBPhysical_Locator\fR to use for replies to ARP requests from this MAC address\[char46] .bp .SH "Arp_Sources_Remote TABLE" .PP .PP .PP MAC address to be used when a remote VTEP issues ARP requests on behalf of a logical router\[char46] .PP .PP This table is the remote counterpart of \fBArp_sources_local\fR\[char46] The NVC writes this table to notify the HSC of the MACs that will be used by remote VTEPs when they issue ARP requests on behalf of a distributed logical router\[char46] .SS "Summary: .TQ 3.00in \fBsrc_mac\fR string .TQ 3.00in \fBlocator\fR \fBPhysical_Locator\fR .SS "Details: .IP "\fBsrc_mac\fR: string" The source MAC to be used by a given VTEP\[char46] .IP "\fBlocator\fR: \fBPhysical_Locator\fR" The \fBPhysical_Locator\fR to use for replies to ARP requests from this MAC address\[char46] .bp .SH "Physical_Locator_Set TABLE" .PP .PP .PP A set of one or more \fBPhysical_Locator\fRs\[char46] .PP .PP This table exists only because OVSDB does not have a way to express the type ``map from string to one or more \fBPhysical_Locator\fR records\[char46]\(cq\(cq .SS "Summary: .TQ 3.00in \fBlocators\fR immutable set of 1 or more \fBPhysical_Locator\fRs .SS "Details: .IP "\fBlocators\fR: immutable set of 1 or more \fBPhysical_Locator\fRs" .bp .SH "Physical_Locator TABLE" .PP .PP .PP Identifies an endpoint to which logical switch traffic may be encapsulated and forwarded\[char46] .PP .PP The \fBvxlan_over_ipv4\fR encapsulation, the only encapsulation defined so far, can use either tunnel key model described in the ``Per Logical-Switch Tunnel Key\(cq\(cq section in the \fBLogical_Switch\fR table\[char46] When the tunnel key per \fBLogical_Switch\fR model is in use, the \fBtunnel_key\fR column in the \fBLogical_Switch\fR table is filled with a VNI and the \fBtunnel_key\fR column in this table is empty; in the key-per-tunnel model, the opposite is true\[char46] The former model is older, and thus likely to be more widely supported\[char46] See the ``Per Logical-Switch Tunnel Key\(cq\(cq section in the \fBLogical_Switch\fR table for further discussion of the model\[char46] .SS "Summary: .TQ 3.00in \fBencapsulation_type\fR immutable string, must be \fBvxlan_over_ipv4\fR .TQ 3.00in \fBdst_ip\fR immutable string .TQ 3.00in \fBtunnel_key\fR optional integer .SS "Details: .IP "\fBencapsulation_type\fR: immutable string, must be \fBvxlan_over_ipv4\fR" The type of tunneling encapsulation\[char46] .IP "\fBdst_ip\fR: immutable string" For \fBvxlan_over_ipv4\fR encapsulation, the IPv4 address of the VXLAN tunnel endpoint\[char46] .IP We expect that this column could be used for IPv4 or IPv6 addresses in encapsulations to be introduced later\[char46] .IP "\fBtunnel_key\fR: optional integer" This column is used only in the tunnel key per \fBLogical_Switch\fR+\fBPhysical_Locator\fR model (see above)\[char46] .IP For \fBvxlan_over_ipv4\fR encapsulation, when the \fBLogical_Switch\fR+\fBPhysical_Locator\fR model is in use, this column is the VXLAN VNI\[char46] It must be in the range 0 to 16,777,215\[char46] .bp .SH "ACL_entry TABLE" .PP .PP .PP Describes the individual entries that comprise an Access Control List\[char46] .PP .PP Each entry in the table is a single rule to match on certain header fields\[char46] While there are a large number of fields that can be matched on, most hardware cannot match on arbitrary combinations of fields\[char46] It is common to match on either L2 fields (described below in the L2 group of columns) or L3/L4 fields (the L3/L4 group of columns) but not both\[char46] The hardware switch controller may log an error if an ACL entry requires it to match on an incompatible mixture of fields\[char46] .SS "Summary: .TQ 3.00in \fBsequence\fR integer .TQ .25in \fIL2 fields:\fR .RS .25in .TQ 2.75in \fBsource_mac\fR optional string .TQ 2.75in \fBdest_mac\fR optional string .TQ 2.75in \fBethertype\fR optional string .RE .TQ .25in \fIL3/L4 fields:\fR .RS .25in .TQ 2.75in \fBsource_ip\fR optional string .TQ 2.75in \fBsource_mask\fR optional string .TQ 2.75in \fBdest_ip\fR optional string .TQ 2.75in \fBdest_mask\fR optional string .TQ 2.75in \fBprotocol\fR optional integer .TQ 2.75in \fBsource_port_min\fR optional integer .TQ 2.75in \fBsource_port_max\fR optional integer .TQ 2.75in \fBdest_port_min\fR optional integer .TQ 2.75in \fBdest_port_max\fR optional integer .TQ 2.75in \fBtcp_flags\fR optional integer .TQ 2.75in \fBtcp_flags_mask\fR optional integer .TQ 2.75in \fBicmp_type\fR optional integer .TQ 2.75in \fBicmp_code\fR optional integer .RE .TQ 3.00in \fBdirection\fR string, either \fBegress\fR or \fBingress\fR .TQ 3.00in \fBaction\fR string, either \fBdeny\fR or \fBpermit\fR .TQ .25in \fIError Notification:\fR .RS .25in .TQ 2.75in \fBacle_fault_status : invalid_acl_entry\fR none .TQ 2.75in \fBacle_fault_status : unspecified_fault\fR none .RE .SS "Details: .IP "\fBsequence\fR: integer" The sequence number for the ACL entry for the purpose of ordering entries in an ACL\[char46] Lower numbered entries are matched before higher numbered entries\[char46] .ST "L2 fields:" .PP .IP "\fBsource_mac\fR: optional string" Source MAC address, in the form \fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR .IP "\fBdest_mac\fR: optional string" Destination MAC address, in the form \fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR:\fIxx\fR .IP "\fBethertype\fR: optional string" Ethertype in hexadecimal, in the form \fI0xAAAA\fR .ST "L3/L4 fields:" .PP .IP "\fBsource_ip\fR: optional string" Source IP address, in the form \fIxx\[char46]xx\[char46]xx\[char46]xx\fR for IPv4 or appropriate colon-separated hexadecimal notation for IPv6\[char46] .IP "\fBsource_mask\fR: optional string" Mask that determines which bits of source_ip to match on, in the form \fIxx\[char46]xx\[char46]xx\[char46]xx\fR for IPv4 or appropriate colon-separated hexadecimal notation for IPv6\[char46] .IP "\fBdest_ip\fR: optional string" Destination IP address, in the form \fIxx\[char46]xx\[char46]xx\[char46]xx\fR for IPv4 or appropriate colon-separated hexadecimal notation for IPv6\[char46] .IP "\fBdest_mask\fR: optional string" Mask that determines which bits of dest_ip to match on, in the form \fIxx\[char46]xx\[char46]xx\[char46]xx\fR for IPv4 or appropriate colon-separated hexadecimal notation for IPv6\[char46] .IP "\fBprotocol\fR: optional integer" Protocol number in the IPv4 header, or value of the \(dqnext header\(dq field in the IPv6 header\[char46] .IP "\fBsource_port_min\fR: optional integer" Lower end of the range of source port values\[char46] The value specified is included in the range\[char46] .IP "\fBsource_port_max\fR: optional integer" Upper end of the range of source port values\[char46] The value specified is included in the range\[char46] .IP "\fBdest_port_min\fR: optional integer" Lower end of the range of destination port values\[char46] The value specified is included in the range\[char46] .IP "\fBdest_port_max\fR: optional integer" Upper end of the range of destination port values\[char46] The value specified is included in the range\[char46] .IP "\fBtcp_flags\fR: optional integer" Integer representing the value of TCP flags to match\[char46] For example, the SYN flag is the second least significant bit in the TCP flags\[char46] Hence a value of 2 would indicate that the \(dqSYN\(dq flag should be set (assuming an appropriate mask)\[char46] .IP "\fBtcp_flags_mask\fR: optional integer" Integer representing the mask to apply when matching TCP flags\[char46] For example, a value of 2 would imply that the \(dqSYN\(dq flag should be matched and all other flags ignored\[char46] .IP "\fBicmp_type\fR: optional integer" ICMP type to be matched\[char46] .IP "\fBicmp_code\fR: optional integer" ICMP code to be matched\[char46] .IP "\fBdirection\fR: string, either \fBegress\fR or \fBingress\fR" Direction of traffic to match on the specified port, either \(dqingress\(dq (toward the logical switch or router) or \(dqegress\(dq (leaving the logical switch or router)\[char46] .IP "\fBaction\fR: string, either \fBdeny\fR or \fBpermit\fR" Action to take for this rule, either \(dqpermit\(dq or \(dqdeny\(dq\[char46] .ST "Error Notification:" .PP .PP .PP An entry in this column indicates to the NVC that the ACL could not be configured as requested\[char46] The switch must clear this column when the error has been cleared\[char46] .IP "\fBacle_fault_status : invalid_acl_entry\fR: none" Indicates that an ACL entry requested by the controller could not be instantiated by the switch, e\[char46]g\[char46] because it requires an unsupported combination of fields to be matched\[char46] .IP "\fBacle_fault_status : unspecified_fault\fR: none" Indicates that an error has occurred in configuring the ACL entry but no more specific information is available\[char46] .bp .SH "ACL TABLE" .PP .PP .PP Access Control List table\[char46] Each ACL is constructed as a set of entries from the \fBACL_entry\fR table\[char46] Packets that are not matched by any entry in the ACL are allowed by default\[char46] .SS "Summary: .TQ 3.00in \fBacl_entries\fR set of 1 or more \fBACL_entry\fRs .TQ 3.00in \fBacl_name\fR string (must be unique within table) .TQ .25in \fIError Notification:\fR .RS .25in .TQ 2.75in \fBacl_fault_status : invalid_acl\fR none .TQ 2.75in \fBacl_fault_status : resource_shortage\fR none .TQ 2.75in \fBacl_fault_status : unspecified_fault\fR none .RE .SS "Details: .IP "\fBacl_entries\fR: set of 1 or more \fBACL_entry\fRs" A set of references to entries in the \fBACL_entry\fR table\[char46] .IP "\fBacl_name\fR: string (must be unique within table)" A human readable name for the ACL, which may (for example) be displayed on the switch CLI\[char46] .ST "Error Notification:" .PP .PP .PP An entry in this column indicates to the NVC that the ACL could not be configured as requested\[char46] The switch must clear this column when the error has been cleared\[char46] .IP "\fBacl_fault_status : invalid_acl\fR: none" Indicates that an ACL requested by the controller could not be instantiated by the switch, e\[char46]g\[char46], because it requires an unsupported combination of fields to be matched\[char46] .IP "\fBacl_fault_status : resource_shortage\fR: none" Indicates that an ACL requested by the controller could not be instantiated by the switch due to a shortage of resources (e\[char46]g\[char46] TCAM space)\[char46] .IP "\fBacl_fault_status : unspecified_fault\fR: none" Indicates that an error has occurred in configuring the ACL but no more specific information is available\[char46]