'\" p .\" -*- nroff -*- .TH "vtep" 5 " DB Schema 1.7.0" "Open vSwitch 3.0.90" "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.175151,3.165707 wid 0.350302 height 0.233535 "Global" box at 0.175151,3.165707 wid 0.294747 height 0.177979 linethick = 1.000000; box at 1.417417,3.340858 wid 0.421661 height 0.233535 "Manager" linethick = 1.000000; box at 1.417417,2.990556 wid 0.694113 height 0.233535 "Physical_Switch" linethick = 1.000000; box at 2.928903,3.412227 wid 0.596822 height 0.233535 "Physical_Port" linethick = 1.000000; box at 2.928903,1.206582 wid 0.356790 height 0.233535 "Tunnel" linethick = 0.500000; box at 4.868738,2.484532 wid 0.661698 height 0.233535 "Logical_Switch" box at 4.868738,2.484532 wid 0.606143 height 0.177979 linethick = 0.500000; box at 4.868738,3.237075 wid 0.350302 height 0.233535 "ACL" box at 4.868738,3.237075 wid 0.294747 height 0.177979 linethick = 1.000000; box at 4.868738,3.781959 wid 0.914663 height 0.233535 "Logical_Binding_Stats" linethick = 1.000000; box at 4.868738,0.960109 wid 0.720082 height 0.233535 "Physical_Locator" linethick = 0.500000; box at 2.928903,1.939648 wid 0.791403 height 0.233535 "Ucast_Macs_Local" box at 2.928903,1.939648 wid 0.735848 height 0.177979 linethick = 0.500000; box at 2.928903,1.569869 wid 0.869264 height 0.233535 "Ucast_Macs_Remote" box at 2.928903,1.569869 wid 0.813708 height 0.177979 linethick = 0.500000; box at 1.417417,2.568885 wid 0.810880 height 0.233535 "Mcast_Macs_Local" box at 1.417417,2.568885 wid 0.755325 height 0.177979 linethick = 1.000000; box at 2.928903,0.116767 wid 0.875756 height 0.233535 "Physical_Locator_Set" linethick = 0.500000; box at 1.417417,2.075846 wid 0.888741 height 0.233535 "Mcast_Macs_Remote" box at 1.417417,2.075846 wid 0.833185 height 0.177979 linethick = 0.500000; box at 2.928903,2.977571 wid 0.655206 height 0.233535 "Logical_Router" box at 2.928903,2.977571 wid 0.599650 height 0.177979 linethick = 0.500000; box at 2.928903,0.467070 wid 0.810880 height 0.233535 "Arp_Sources_Local" box at 2.928903,0.467070 wid 0.755325 height 0.177979 linethick = 0.500000; box at 2.928903,0.817372 wid 0.888741 height 0.233535 "Arp_Sources_Remote" box at 2.928903,0.817372 wid 0.833185 height 0.177979 linethick = 0.500000; box at 6.247061,3.237075 wid 0.505977 height 0.233535 "ACL_entry" box at 6.247061,3.237075 wid 0.450421 height 0.177979 linethick = 1.000000; spline -> from 0.352568,3.190041 to 0.352568,3.190041 to 0.575570,3.221802 to 0.965387,3.277383 to 1.204574,3.311433 "managers*" at 0.661698,3.311666 linethick = 1.000000; spline -> from 0.352652,3.114189 to 0.352652,3.114189 to 0.390092,3.104287 to 0.429704,3.094806 to 0.467070,3.087846 to 0.664641,3.050995 to 0.888274,3.027174 to 1.068236,3.012321 "switches*" at 0.661698,3.136515 linethick = 1.000000; spline -> from 1.765805,3.086772 to 1.765805,3.086772 to 2.026710,3.160149 to 2.382244,3.260195 to 2.629978,3.329929 "ports*" at 2.173183,3.305174 linethick = 1.000000; spline -> from 1.688972,2.873461 to 1.688972,2.873461 to 1.750578,2.837964 to 1.812512,2.794713 to 1.861788,2.744036 to 2.198078,2.398264 to 2.185187,2.230399 to 2.367765,1.783927 to 2.436144,1.616763 to 2.364355,1.529514 to 2.484532,1.394718 to 2.553378,1.317511 to 2.659403,1.270851 to 2.749875,1.243340 "tunnels*" at 2.173183,2.662953 linethick = 1.000000; spline -> from 3.227734,3.331143 to 3.227734,3.331143 to 3.311993,3.309378 to 3.404333,3.287052 to 3.490040,3.269490 to 3.844406,3.196954 to 3.978269,3.321802 to 4.294428,3.146230 to 4.414839,3.079393 to 4.650943,2.773135 to 4.777192,2.601673 "vlan_bindings value*" at 3.892234,3.318159 linethick = 1.000000; spline -> from 3.228668,3.429321 to 3.228668,3.429321 to 3.505033,3.440391 to 3.929974,3.444501 to 4.294428,3.392750 to 4.431046,3.373366 to 4.581396,3.331143 to 4.693119,3.295506 "acl_bindings value*" at 3.892234,3.480325 linethick = 1.000000; spline -> from 3.227874,3.492609 to 3.227874,3.492609 to 3.312133,3.514375 to 3.404427,3.536841 to 3.490040,3.554916 to 3.794804,3.619232 to 4.140809,3.676355 to 4.409094,3.717223 "vlan_stats value*" at 3.892234,3.739783 linethick = 1.000000; spline -> from 3.107557,1.192757 to 3.107557,1.192757 to 3.366033,1.171038 to 3.869395,1.124985 to 4.294428,1.063892 to 4.363882,1.053897 to 4.437772,1.041613 to 4.508487,1.029049 "local" at 3.892234,1.209851 linethick = 1.000000; spline -> from 3.107977,1.121575 to 3.107977,1.121575 to 3.263044,1.045536 to 3.469489,0.945303 to 3.490040,0.940632 to 3.829180,0.863519 to 4.227778,0.880707 to 4.507646,0.909666 "remote" at 3.892234,0.989301 linethick = 1.000000; spline -> from 5.045290,3.237075 to 5.045290,3.237075 to 5.283496,3.237075 to 5.717404,3.237075 to 5.991574,3.237075 "acl_entries+" at 5.659954,3.285697 linethick = 1.000000; spline -> from 3.326192,2.017976 to 3.326192,2.017976 to 3.381166,2.028812 to 3.437028,2.039741 to 3.490040,2.049924 to 3.847115,2.118536 to 3.949824,2.083132 to 4.294428,2.199106 to 4.421985,2.242029 to 4.556875,2.308867 to 4.663133,2.367111 "logical_switch" at 3.892234,2.247774 linethick = 1.000000; spline -> from 3.325865,1.917416 to 3.325865,1.917416 to 3.697746,1.893548 to 4.212691,1.852353 to 4.294428,1.803404 to 4.576165,1.634885 to 4.748234,1.266040 to 4.821097,1.076970 "locator" at 3.892234,1.955856 linethick = 1.000000; spline -> from 3.363791,1.575194 to 3.363791,1.575194 to 3.701530,1.586216 to 4.140389,1.617837 to 4.294428,1.706113 to 4.558556,1.857444 to 4.734222,2.187055 to 4.813623,2.364962 "logical_switch" at 3.892234,1.754735 linethick = 1.000000; spline -> from 3.364445,1.483087 to 3.364445,1.483087 to 3.745901,1.405460 to 4.250057,1.301304 to 4.294428,1.284442 to 4.434503,1.231243 to 4.581023,1.146657 to 4.690317,1.077204 "locator" at 3.892234,1.508262 linethick = 1.000000; spline -> from 1.823348,2.559077 to 1.823348,2.559077 to 2.510828,2.542215 to 3.904565,2.508026 to 4.536931,2.492519 "logical_switch" at 2.928903,2.591585 linethick = 1.000000; spline -> from 1.633624,2.451884 to 1.633624,2.451884 to 1.713586,2.398965 to 1.800181,2.330446 to 1.861788,2.250997 to 2.236284,1.768420 to 2.202842,1.561275 to 2.367765,0.973047 to 2.450716,0.677345 to 2.291399,0.530732 to 2.484532,0.291919 to 2.502047,0.270275 to 2.522645,0.251288 to 2.545158,0.234637 "locator_set" at 2.173183,2.137499 linethick = 1.000000; spline -> from 3.369536,0.106193 to 3.369536,0.106193 to 3.648938,0.116828 to 4.011384,0.164357 to 4.294428,0.317869 to 4.522032,0.441306 to 4.702461,0.693646 to 4.794941,0.842641 "locators+" at 3.892234,0.366519 linethick = 1.000000; spline -> from 1.861975,2.178321 to 1.861975,2.178321 to 1.901302,2.185934 to 1.940582,2.193034 to 1.978555,2.199106 to 2.899991,2.346560 to 4.000081,2.430212 to 4.536090,2.465102 "logical_switch" at 2.928903,2.416433 linethick = 1.000000; spline -> from 1.463330,1.958098 to 1.463330,1.958098 to 1.574073,1.643853 to 1.917696,0.776644 to 2.484532,0.291919 to 2.510081,0.270102 to 2.538619,0.250779 to 2.568651,0.233717 "locator_set" at 2.173183,0.898456 linethick = 1.000000; spline -> from 3.257907,2.905829 to 3.257907,2.905829 to 3.534085,2.843149 to 3.941791,2.747633 to 4.294428,2.653238 to 4.372896,2.632220 to 4.456969,2.608119 to 4.535763,2.584812 "switch_binding value*" at 3.892234,2.896488 linethick = 1.000000; spline -> from 3.256786,2.970378 to 3.256786,2.970378 to 3.534038,2.969911 to 3.943846,2.982849 to 4.294428,3.048940 to 4.431140,3.074675 to 4.580275,3.125025 to 4.691251,3.167155 "acl_binding value*" at 3.892234,3.097562 linethick = 1.000000; spline -> from 3.336328,0.440671 to 3.336328,0.440671 to 3.613160,0.435561 to 3.985602,0.455076 to 4.294428,0.564361 to 4.463181,0.624099 to 4.627776,0.748340 to 4.736090,0.841800 "locator" at 3.892234,0.613029 linethick = 1.000000; spline -> from 3.373833,0.726387 to 3.373833,0.726387 to 3.641978,0.685425 to 3.990739,0.658475 to 4.294428,0.720082 to 4.413998,0.744323 to 4.539640,0.794533 to 4.642209,0.842828 "locator" at 3.892234,0.768704 .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]