3 namespace "urn:opendaylight:params:xml:ns:yang:ovsdb";
6 import network-topology {prefix "topo"; revision-date "2013-10-21"; }
7 import yang-ext { prefix "ext"; }
8 import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
9 import overlay { prefix overlay; }
10 import ietf-yang-types { prefix yang; revision-date "2013-07-15";}
11 import opendaylight-l2-types { prefix ethertype; revision-date "2013-08-27";}
13 revision "2015-01-05" {
14 description "Initial revision of southbound model";
17 typedef ovsdb-termination-point-ref {
18 description "A reference to an ovsdb termination point";
19 type instance-identifier;
22 typedef ovsdb-bridge-ref {
23 description "A reference to an ovsdb bridge";
24 type instance-identifier;
27 typedef ovsdb-node-ref {
28 description "A reference to an ovsdb node";
29 type instance-identifier;
32 typedef flow-node-ref {
33 description "A reference to a flow node";
34 type instance-identifier;
37 typedef ovsdb-qos-ref {
38 description "A reference to a ovsdb QoS entry";
39 type instance-identifier;
42 typedef ovsdb-queue-ref {
43 description "A reference to an ovsdb queue entry";
44 type instance-identifier;
47 typedef ovsdb-bridge-name {
54 '[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){7}';
57 "The datapath-d type represents OpenFlow datapath-id .
58 The canonical representation uses lowercase characters.
60 In the value set and its semantics, this type is similar
61 to the MacAddress textual convention of the SMIv2, but with
65 IEEE 802: IEEE Standard for Local and Metropolitan Area
66 Networks: Overview and Architecture
67 RFC 2579: Textual Conventions for SMIv2";
70 identity datapath-type-base {
71 description "Base identity for all OVSDB datapath types";
74 identity datapath-type-system {
75 description "Datapath type for the kernel datapath";
76 base datapath-type-base;
79 identity datapath-type-netdev {
80 description "Datapath type for the userspace datapath";
81 base datapath-type-base;
84 identity ovsdb-bridge-protocol-base {
85 description "Base identity for all ovsdb-bridge-protocols";
88 identity ovsdb-bridge-protocol-openflow-10 {
89 description "Ovsdb bridge protocol OpenFlow 1.0";
90 base ovsdb-bridge-protocol-base;
93 identity ovsdb-bridge-protocol-openflow-11 {
94 description "Ovsdb bridge protocol OpenFlow 1.1";
95 base ovsdb-bridge-protocol-base;
98 identity ovsdb-bridge-protocol-openflow-12 {
99 description "Ovsdb bridge protocol OpenFlow 1.2";
100 base ovsdb-bridge-protocol-base;
103 identity ovsdb-bridge-protocol-openflow-13 {
104 description "Ovsdb bridge protocol OpenFlow 1.3";
105 base ovsdb-bridge-protocol-base;
108 identity ovsdb-bridge-protocol-openflow-14 {
109 description "Ovsdb bridge protocol OpenFlow 1.4";
110 base ovsdb-bridge-protocol-base;
113 identity ovsdb-bridge-protocol-openflow-15 {
114 description "Ovsdb bridge protocol OpenFlow 1.5";
115 base ovsdb-bridge-protocol-base;
118 identity ovsdb-fail-mode-base {
119 description "Base identity for ovsdb-failmode";
122 identity ovsdb-fail-mode-standalone {
123 description "Identity for ovsdb-failmode standalone";
124 base ovsdb-fail-mode-base;
127 identity ovsdb-fail-mode-secure {
128 description "Identity for ovsdb-failmode standalone";
129 base ovsdb-fail-mode-base;
132 grouping ovsdb-bridge-attributes {
134 description "The unique identifier of the bridge";
137 leaf bridge-openflow-node-ref {
138 description "A reference to the openflow node";
139 type instance-identifier;
143 description "The name of the bridge";
144 type ovsdb-bridge-name;
146 list protocol-entry {
149 description "Protocol bridge should seek to speak to its controller";
151 base ovsdb-bridge-protocol-base;
156 list controller-entry {
157 description "Bridge controller info";
160 description "Uri telling bridge how to connect to controller";
163 leaf controller-uuid {
164 description "The unique identifier of the controller";
172 "Maximum number of milliseconds to wait between
173 connection attempts";
178 leaf inactivity_probe {
180 "Maximum number of milliseconds of idle time on connection
181 to controller before sending an inactivity probe message.
182 A value of 0 disables inactivity probes.";
189 description "Datapath-id of the bridge";
194 description "The datapath type of the bridge";
196 base datapath-type-base;
201 description "Failmode of the bridge";
203 base ovsdb-fail-mode-base;
208 description "Flow node corresponding to this bridge";
213 description "The OVSDB which this bridge belongs to";
219 "Enable spanning tree on the bridge. By default, STP is
220 disabled on bridges";
224 list bridge-external-ids {
226 "Key-value pairs for use by external frameworks that integrate
229 external_ids : bridge-id: optional string
231 A unique identifier of the bridge. On Citrix XenServer this
232 will commonly be the same as external_ids:xs-network-uuids.
234 external_ids : xs-network-uuids: optional string
236 Semicolon-delimited set of universally unique identifier(s)
237 for the network with which this bridge is associated on a
238 Citrix XenServer host. The network identifiers are RFC 4122
239 UUIDs as displayed by, e.g., xe network-list.";
241 key "bridge-external-id-key";
242 leaf bridge-external-id-key {
243 description "external-id name/key";
247 leaf bridge-external-id-value {
248 description "bridge-external-id value";
254 list bridge-other-configs {
256 "Key-value pairs for configuring rarely used features.
258 other_config : hwaddr: optional string
259 An Ethernet address in the form xx:xx:xx:xx:xx:xx to set the
260 hardware address of the local port and influence the datapath
263 other_config : forward-bpdu: optional string
264 either true or false. Option to allow forwarding of BPDU frames when NORMAL
265 action is invoked. Frames with reserved Ethernet
266 addresses (e.g. STP BPDU) will be forwarded when this option
267 is enabled and the switch is not providing that functionality.
269 other_config : mac-aging-time: optional string
270 containing an integer, at least 1 The maximum number of seconds to retain a
271 MAC learning entry for which no packets have been seen. The
272 default is currently 300 seconds (5 minutes). The value, if
273 specified, is forced into a reasonable range, currently 15
276 other_config : mac-table-size: optional string
277 containing an integer, at least 1 The maximum number of MAC addresses to
278 learn. The default is currently 2048. The value, if
279 specified, is forced into a reasonable range, currently 10
282 other_config : datapath-id: optional string
283 Exactly 16 hex digits to set the OpenFlow datapath ID to a
284 specific value. May not be all-zero.
286 other_config : dp-desc: optional string
287 Human readable description of datapath. It it a maximum
288 256 byte-long free-form string to describe the datapath for
291 other_config : disable-in-band: optional string
293 If set to true, disable in-band control on the bridge
294 regardless of controller and manager settings.
296 other_config : in-band-queue: optional string
297 containing an integer, in range 0 to 4,294,967,295 A queue ID as a
300 other_config : stp-system-id: optional string
301 The bridge's STP identifier (the lower 48 bits of the
302 bridge-id) in the form xx:xx:xx:xx:xx:xx. By default, the
303 identifier is the MAC address of the bridge.
305 other_config : stp-priority: optional string
306 containing an integer, in range 0 to 65,535 The bridge's relative priority
307 value for determining the root bridge (the upper 16 bits of
308 the bridgeid). A bridge with the lowest bridge-id is elected
309 the root. By default, the priority is 0x8000.
311 other_config : stp-hello-time: optional string
312 containing an integer, in range 1 to 10 The interval between transmissions
313 of hello messages by designated ports, in seconds. By default
314 the hello interval is 2 seconds.
316 other_config : stp-max-age: optional string
317 containing an integer, in range 6 to 40 The maximum age of the information
318 transmitted by the bridge when it is the root bridge, in
319 seconds. By default, the maximum age is 20 seconds.
321 other_config : stp-forward-delay: optional string
322 containing an integer, in range 4 to 30 The delay to wait between
323 transitioning root and designated ports to forwarding, in
324 seconds. By default, the forwarding delay is 15 seconds.
326 other_config : mcast-snooping-aging-time: optional string,
327 containing an integer, at least 1 The maximum number of
328 seconds to retain a multicast snooping entry for which no
329 packets have been seen. The default is currently 300
330 seconds (5 minutes). The value, if specified, is forced into
331 a reasonable range, currently 15 to 3600 seconds.
333 other_config : mcast-snooping-table-size: optional string,
334 containing an integer, at least 1 The maximum number of
335 multicast snooping addresses to learn. The default is
336 currently 2048. The value, if specified, is forced into a
337 reasonable range, currently 10 to 1,000,000.
339 other_config : mcast-snooping-disable-flood-unregistered:
340 optional string, either true or false If set to false,
341 unregistered multicast packets are forwarded to all ports.
342 If set to true, unregistered multicast packets are forwarded
343 to ports connected to multicast routers.";
345 key "bridge-other-config-key";
346 leaf bridge-other-config-key {
347 description "bridge-other-config name/key";
350 leaf bridge-other-config-value {
351 description "bridge-other-config value";
357 description "The unique identifier of the auto_attach entry for this bridge.";
362 grouping ovsdb-connection-info-attributes {
364 type inet:ip-address;
365 description "Ovsdb Connection Remote IP";
368 type inet:port-number;
369 description "Ovsdb Connection Remote Port Number";
372 type inet:ip-address;
373 description "Ovsdb Connection Local IP";
376 type inet:port-number;
377 description "Ovsdb Connection Local Port Number IP";
381 grouping ovsdb-node-attributes {
382 description "Plugin will not allow multiple connections to the same device.
383 If an application attempts to make more than one connection to the device by
384 putting multiple entries in the config data store, then it is the responsibility
385 of the application to clean the config data store";
386 container connection-info{
387 uses ovsdb-connection-info-attributes;
391 description "The database schema version";
396 description "The Open_vSwitch version number";
400 list managed-node-entry {
403 type ovsdb-bridge-ref;
407 list datapath-type-entry {
410 description "Datapath types supported by OVSDB node";
412 base datapath-type-base;
417 list interface-type-entry {
418 key "interface-type";
419 leaf interface-type {
420 description "Interface types supported by OVSDB node";
422 base interface-type-base;
427 list openvswitch-external-ids {
428 description "Key-value pairs for use by external frameworks that integrate
431 external_ids : system-id: optional string
432 A unique identifier for the Open vSwitch's physical host.
433 The form of the identifier depends on the type of the host.
434 On a Citrix XenServer, this will likely be the same as
435 external_ids:xs-system-uuid.
437 external_ids : xs-system-uuid: optional string
438 The Citrix XenServer universally unique identifier for the
439 physical host as displayed by xe-host-list.";
441 key "external-id-key";
442 leaf external-id-key {
443 description "external-id name/key";
447 leaf external-id-value {
448 description "external-id value";
454 list openvswitch-other-configs {
455 description "Key-value pairs for configuring rarely used features.
457 other_config : stats-update-interval: optional string
458 This option will affect the update of the statistics column
459 in the following tables: Port, Interface , Mirror.
461 other_config : flow-restore-wait: optional string
462 either true or false When ovs-vswitchd starts up, it has an empty flow
463 table and therefore it handles all arriving packets in its
464 default fashion according to its configuration, by
465 dropping them or sending them to an OpenFlow controller or
466 switching them as a standalone switch.
468 other_config : flow-limit: optional string
469 containing an integer, at least 0. The maximum number of flows allowed in
470 the datapath flow table.
472 other_config : n-dpdk-rxqs: optional string
473 containing an integer, at least 1 Specifies the number of rx queues to be
474 created for each dpdk interface. If not specified or
475 specified to 0, one rx queue will be created for each dpdk
476 interface by default.
478 other_config : pmd-cpu-mask: optional string
479 Specifies CPU mask for setting the cpu affinity of
480 PMD (Poll Mode Driver) threads. Value should be in the form
481 of hex string, similar to the dpdk EAL '-c COREMASK' option
482 input or the 'taskset' mask input.
484 other_config : n-handler-threads: optional string
485 containing an integer, at least 1 Specifies the number of threads for
486 software datapaths to use for handling new flows. The default
487 the number of online CPU cores minus the number of
490 other_config : n-revalidator-threads: optional string,
491 containing an integer, at least 1 Specifies the number of
492 threads for software datapaths to use for revalidating flows
495 other_config : enable-statistics: optional string
496 either ture or false. Set this value to true to enable populating the
497 statistics column or to false to explicitly disable it.";
499 key "other-config-key";
500 leaf other-config-key {
501 description "other-config name/key";
504 leaf other-config-value {
505 description "other-config value";
511 description "Node managers info";
515 description "Uri that user set to connect to the controller";
521 leaf number_of_connections {
529 description "An identifier used for QoS entries in the MD-SAL.";
533 description "The unique identifier of the QoS.";
542 description "The list of queues used by the QoS";
545 description "The queue number of the record in the QoS entry";
550 description "Instance identifier to a Queue in the MD-SAL.";
551 type ovsdb-queue-ref;
555 list qos-external-ids {
556 key "qos-external-id-key";
557 leaf qos-external-id-key {
558 description "qos external-id name/key";
562 leaf qos-external-id-value {
563 description "qos-external-id value";
568 list qos-other-config {
570 other_config : max-rate
571 optional string, containing an integer.";
573 key "other-config-key";
574 leaf other-config-key {
575 description "qos-other-config name/key";
578 leaf other-config-value {
579 description "qos-other-config value";
588 description "An identifier used for Queue entries in the MD-SAL.";
592 description "The unique identifier of the queue.";
598 list queues-external-ids {
599 key "queues-external-id-key";
600 leaf queues-external-id-key {
601 description "queues external-id name/key";
605 leaf queues-external-id-value {
606 description "queues-external-id value";
611 list queues-other-config {
613 Configuration for linux-htb QoS:
615 other_config : min-rate optional string
616 containing an integer, at least 1.
617 Minimum guaranteed bandwidth, in bit/s.
619 other_config : max-rate optional string
620 containing an integer, at least 1.
621 Maximum allowed bandwidth, in bit/s. Optional. If specified, the queue's rate will not be allowed
622 to exceed the specified value, even if excess bandwidth is available. If unspecified, defaults to no
625 other_config : burst optional string
626 containing an integer, at least 1.
627 Burst size, in bits. This is the maximum amount of ''credits'' that a queue can accumulate while it
628 is idle. Optional. Details of the linux-htb implementation require a minimum burst size, so a
629 too-small burst will be silently ignored.
631 other_config : priority optional string.
632 containing an integer, in range 0 to 4,294,967,295.
633 A queue with a smaller priority will receive all the excess bandwidth that it can use before a
634 queue with a larger value receives any. Specific priority values are unimportant; only relative
635 ordering matters. Defaults to 0 if unspecified.
637 Configuration for linux-htb QoS:
639 other_config : min-rate optional string
640 containing an integer, at least 1.
641 Minimum guaranteed bandwidth, in bit/s.
643 other_config : max-rate optional string
644 containing an integer, at least 1.
645 Maximum allowed bandwidth, in bit/s. Optional. If specified, the queue's rate will not be allowed
646 to exceed the specified value, even if excess bandwidth is available. If unspecified, defaults to no
649 key "queue-other-config-key";
650 leaf queue-other-config-key {
653 leaf queue-other-config-value {
662 description "An identifier used for AutoAttach table in the MD-SAL.";
666 description "Node-id of the Bridge table from where Autoattach table can be referenced.";
669 leaf autoattach-uuid {
670 description "The unique identifier of the autoattach table.";
675 description "The system_name string is exported in LLDP messages.
676 It should uniquely identify the bridge in the network.";
678 leaf system-description {
680 description "The system_description string is exported in LLDP messages.
681 It should describe the type of software and hardware.";
684 description "Map of integer-integer pairs, key in range 0 to 16,777,215,
685 value in range 0 to 4,095. A mapping from SPB network Individual Service
686 Identifier (ISID) to VLAN id.";
693 leaf mappings-value {
699 list autoattach-external-ids {
701 "Key-value pairs for use by external frameworks that integrate with
702 Open vSwitch, rather than by Open vSwitch itself.";
704 key "autoattach-external-id-key";
705 leaf autoattach-external-id-key {
706 description "external-id name/key";
710 leaf autoattach-external-id-value {
711 description "autoattach-external-id value";
719 identity interface-type-base {
720 description "Base identity for all OVSDB interface types";
723 identity interface-type-system {
724 description "Interface type for system interfaces";
725 base interface-type-base;
728 identity interface-type-internal {
729 description "Interface type for internal interfaces";
730 base interface-type-base;
733 identity interface-type-vxlan {
734 description "Interface type for vxlan interfaces";
735 base interface-type-base;
738 identity interface-type-vxlan-gpe {
739 description "Interface type for vxlan gpe interfaces";
740 base interface-type-base;
743 identity interface-type-patch {
744 description "Interface type for patch interfaces";
745 base interface-type-base;
748 identity interface-type-tap {
749 description "Interface type for tun/tap interfaces";
750 base interface-type-base;
753 identity interface-type-geneve {
754 description "Interface type for geneve interfaces";
755 base interface-type-base;
758 identity interface-type-gre {
759 description "Interface type for gre interfaces";
760 base interface-type-base;
763 identity interface-type-ipsec-gre {
764 description "Interface type for ipsec-gre interfaces";
765 base interface-type-base;
768 identity interface-type-gre64 {
769 description "Interface type for gre64 interfaces";
770 base interface-type-base;
773 identity interface-type-ipsec-gre64 {
774 description "Interface type for ipsec-gre64 interfaces";
775 base interface-type-base;
778 identity interface-type-lisp {
779 description "Interface type for lisp interfaces";
780 base interface-type-base;
783 identity interface-type-dpdk {
784 description "Interface type for dpdk interfaces";
785 base interface-type-base;
788 identity interface-type-dpdkr {
789 description "Interface type for dpdk ring interfaces";
790 base interface-type-base;
793 identity interface-type-dpdkvhost {
794 description "Interface type for dpdkvhost interfaces";
795 base interface-type-base;
798 identity interface-type-dpdkvhostuser {
799 description "Interface type for dpdkvhostuser interfaces";
800 base interface-type-base;
803 identity interface-type-stt {
804 description "Interface type for stt interfaces";
805 base interface-type-base;
808 identity qos-type-base {
809 description "the base identity for qos";
812 identity qos-type-linux-htb {
813 description "linux hierarchy token bucket classifier";
817 identity qos-type-linux-hfsc {
818 description "linux hierarchical fair service curve classifier";
822 identity qos-type-linux-sfq {
823 description "linux stochastic fairness queueing classifier";
827 identity qos-type-linux-codel {
828 description "linux controlled delay classifier";
832 identity qos-type-linux-fq-codel {
833 description "linux fair queueing controlled delay classifier";
837 identity qos-type-egress-policer {
838 description "DPDK user space egress policer";
842 grouping ovsdb-port-interface-attributes {
844 description "The unique identifier of the OVSDB port";
848 leaf interface-uuid {
849 description "The unique identifier of the OVSDB interface";
854 description "The name of the OVSDB port/interface";
859 description "The ifindex is useful for seamless integration with protocols such as SNMP and sFlow.
860 It is a positive interface index as defined for SNMP MIB-II in RFCs 1213 and 2863 if the interface
861 has one, otherwise 0. It is a read-only column and an integer in the range 0 to 4,294,967,295";
866 leaf interface-type {
867 description "The type of the OVSDB interface";
869 base interface-type-base;
874 description "Port/Interface related optional input values";
877 description "Option name";
881 description "Option value";
887 description "Port/Interface related optional ofport";
891 leaf ofport_request {
892 description "Port/Interface related optional ofport_request, in range 1 to 65279";
899 description "The VLAN tag of the termination point.";
900 type ethertype:vlan-id;
904 description "Represents the trunks of a termination point.";
906 type ethertype:vlan-id;
911 description "The VLAN mode of the termination point.";
916 "The VLAN mode access.";
918 enum "native-tagged" {
921 "The VLAN mode native-tagged.";
923 enum "native-untagged" {
926 "The VLAN mode native-untagged.";
931 "The VLAN mode trunk.";
936 list port-other-configs {
937 description "Other config attributes for Ports
939 other_config : priority-tags: optional string
940 either true or false An 802.1Q header contains two important pieces of
941 information: a VLAN ID and a priority.
943 other_config : bond-hash-basis: optional string
944 containing an integer An integer hashed along with flows when choosing output
945 slaves in load balanced bonds. When changed, all flows will be
946 assigned different hash values possibly causing slave selection
949 other_config : bond-detect-mode: optional string
950 either miimon or carrier The means used to detect link failures. Defaults to
951 carrier which uses each interface's carrier to detect failures.
952 When set to miimon, will check for failures by polling each
955 other_config : bond-miimon-interval: optional string
956 containing an integer The interval, in milliseconds, between successive
957 attempts to poll each interface's MII. Relevant only when
958 other_config:bond-detect-mode is miimon
960 other_config : lacp-system-id: optional string
961 The LACP system ID of this Port. The system ID of a LACP bond
962 is used to identify itself to its partners. Must be a nonzero
963 MAC address. Defaults to the bridge Ethernet address if unset.
965 other_config : lacp-system-priority: optional string
966 containing an integer, in range 1 to 65,535 The LACP system priority of this
967 Port. In LACP negotiations, link status decisions are made by
968 the system with the numerically lower priority.
970 other_config : lacp-time: optional string
971 either slow or fast. The LACP timing which should be used on this Port. By default
972 slow is used. When configured to be fast LACP heartbeats are
973 requested at a rate of once per second causing connectivity
974 problems to be detected more quickly. In slow mode, heartbeats
975 are requested at a rate of once every 30 seconds.
977 other_config : lacp-fallback-ab: optional string
978 either true or false Determines the behavior of openvswitch bond in LACP mode.
979 If the partner switch does not support LACP, setting this
980 option to true allows openvswitch to fallback to active-backup.
981 If the option is set to false, the bond will be disabled.
982 In both the cases, once the partner switch is configured
983 to LACP mode, the bond will use LACP.
985 other_config : bond-rebalance-interval: optional string,
986 containing an integer, in range 0 to 10,000 For a load
987 balanced bonded port, the number of milliseconds between
988 successive attempts to rebalance the bond, that is, to move
989 flows from one interface on the bond to another in an attempt
990 to keep usage of each interface roughly equal. If zero, load
991 balancing is disabled on the bond (link failure still cause
992 flows to move). If less than 1000ms, the rebalance interval
995 other_config : stp-enable: optional string
996 either true or false. If spanning tree is enabled on the bridge, member ports are
997 enabled by default (with the exception of bond, internal, and
998 mirror ports which do not work with STP). If this column's
999 value is false spanning tree is disabled on the port.
1001 other_config : stp-port-num: optional string
1002 containing an integer, in range 1 to 255 The port number used for the lower 8
1003 bits of the port-id. By default, the numbers will be assigned
1004 automatically. If any port's number is manually configured on
1005 a bridge, then they must all be.
1007 other_config : stp-port-priority: optional string
1008 containing an integer, in range 0 to 255 The port's relative priority value
1009 for determining the root port (the upper 8 bits of the port-id).
1011 other_config : stp-path-cost: optional string
1012 containing an integer, in range 0 to 65,535 Spanning tree path cost for the
1013 port. A lower number indicates a faster link. By default, the
1014 cost is based on the maximum speed of the link.
1016 other_config : rstp-enable: optional string
1017 either true or false
1018 If rapid spanning tree is enabled on the bridge, member ports
1019 are enabled by default (with the exception of bond, internal,
1020 and mirror ports which do not work with RSTP). If this
1021 column's value is false rapid spanning tree is disabled on
1024 other_config : rstp-port-priority: optional string
1025 containing an integer, in range 0 to 240 The port's relative priority value
1026 for determining the root port, in multiples of 16. By default,
1027 the port priority is 0x80 (128).
1029 other_config : rstp-port-num: optional string
1030 containing an integer, in range 1 to 4,095 The local RSTP port number, used
1031 as the lower 12 bits of the port-id.
1033 other_config : rstp-port-path-cost: optional string
1034 containing an integer The port path cost. The Port's contribution, when it
1035 is the Root Port, to the Root Path Cost for the Bridge.
1037 other_config : rstp-port-admin-edge: optional string
1038 either true or false
1040 other_config : rstp-port-auto-edge: optional string
1041 either true or false The auto edge port parameter for the Port. Default
1044 other_config : rstp-port-mcheck: optional string
1045 either true or false The mcheck port parameter for the Port. Default is false.
1047 other_config : mcast-snooping-flood: optional string
1048 either true or false If set to true, multicast packets are
1049 unconditionally forwarded to the specific port";
1051 key "other-config-key";
1052 leaf other-config-key {
1053 description "port-other-config name/key";
1056 leaf other-config-value {
1057 description "port-other-config value";
1062 list interface-other-configs {
1063 description "Other config attributes for Interfaces
1065 other_config : enable-vlan-splinters: optional string
1066 either true or false. Set to true to enable VLAN splinters on this
1067 interface. Defaults to false.";
1069 key "other-config-key";
1070 leaf other-config-key {
1071 description "interface-other-config name/key";
1074 leaf other-config-value {
1075 description "interface-other-config value";
1080 list port-external-ids {
1081 description "Port external ids
1083 external_ids : fake-bridge-id-*: optional string
1084 External IDs for a fake bridge (see the fake_bridge column) are defined by
1085 prefixing a Bridge external_ids key with
1086 fake-bridge-, e.g. fake-bridge-xs-network-uuids.";
1088 key "external-id-key";
1089 leaf external-id-key {
1090 description "external-id name/key";
1094 leaf external-id-value {
1095 description "external-id value";
1101 list interface-external-ids {
1102 description "Interface external ids
1104 external_ids : attached-mac: optional string.
1105 The MAC address programmed into the ''virtual hardware'' for this interface, in
1106 the form xx:xx:xx:xx:xx:xx. For Citrix XenServer, this is the
1107 value of the MAC field in the VIF record for this interface.
1109 external_ids : iface-id: optional string.
1110 A system-unique identifier for the interface. On XenServer, this will commonly
1111 be the same as external_ids:xs-vif-uuid.
1113 external_ids : iface-status: optional string
1114 either active or inactive Hypervisors may sometimes have more than one interface
1115 associated with a given external_ids:iface-id, only one of
1116 which is actually in use at a given time.
1118 external_ids : xs-vif-uuid: optional string.
1119 The virtual interface associated with this interface.
1121 external_ids : xs-network-uuid: optional string.
1122 The virtual network to which this interface is attached.
1124 external_ids : vm-id: optional string.
1125 The VM to which this interface belongs. On XenServer, this will be the same as
1126 external_ids:xsvm-uuid.
1128 external_ids : xs-vm-uuid: optional string.
1129 The VM to which this interface belongs";
1131 key "external-id-key";
1132 leaf external-id-key {
1133 description "external-id name/key";
1137 leaf external-id-value {
1138 description "external-id value";
1144 list interface-lldp {
1145 description "Auto Attach configuration for a particular interface.
1146 If LLDP is enabled on an interface, the interface processes received
1147 LLDP packets and never passes them to OpenFlow or forwards them.
1149 lldp : enable: optional string, either true or false
1150 True to enable LLDP on this Interface. If not specified, LLDP
1151 will be disabled by default.";
1155 description "lldp name/key";
1159 description "lldp value";
1164 list interface-bfd {
1165 description "BFD configuration for a particular interface.
1166 BFD, defined in RFC 5880 and RFC 5881, allows point-to-point
1167 detection of connectivity failures by occasional transmission of
1168 BFD control messages.
1170 bfd : enable: optional string, either true or false
1171 True to enable BFD on this Interface. If not specified, BFD
1172 will be disabled by default.
1174 bfd : min_rx: optional string
1175 containing an integer, at least 1.
1176 The shortest interval, in milliseconds, at which this BFD session
1177 offers to receive BFD control messages. The remote endpoint may
1178 choose to send messages at a slower rate. Defaults to 1000.
1180 bfd : min_tx: optional string
1181 containing an integer, at least 1.
1182 The shortest interval, in milliseconds, at which this BFD session is
1183 willing to transmit BFD control messages. Messages will actually be
1184 transmitted at a slower rate if the remote endpoint is not willing to
1185 receive as quickly as specified. Defaults to 100.
1187 bfd : decay_min_rx: optional string
1188 containing an integer
1189 An alternate receive interval, in milliseconds, that must be greater
1190 than or equal to bfd:min_rx. The implementation switches from
1191 bfd:min_rx to bfd:decay_min_rx when there is no obvious incoming
1192 data traffic at the interface, to reduce the CPU and bandwidth cost
1193 of monitoring an idle interface. This feature may be disabled by
1194 setting a value of 0. This feature is reset whenever bfd:decay_min_rx
1197 bfd : forwarding_if_rx: optional string, either true or false
1198 When true, traffic received on the Interface is used to
1199 indicate the capability of packet I/O. BFD control packets are
1200 still transmitted and received. At least one BFD control
1201 packet must be received every 100 * bfd:min_rx amount of time.
1202 Otherwise, even if traffic are received, the bfd-status:forwarding
1205 bfd : cpath_down: optional string, either true or false
1206 Set to true to notify the remote endpoint that traffic should not be
1207 forwarded to this system for some reason other than a connectivity
1208 failure on the interface being monitored. The typical underlying
1209 reason is concatenated path down, that is, that connectivity
1210 beyond the local system is down. Defaults to false.
1212 bfd : cpath_down: optional string, either true or false
1213 Set to true to notify the remote endpoint that traffic should not be
1214 forwarded to this system for some reason other than a connectivity
1215 failure on the interface being monitored. The typical underlying
1216 reason is concatenated path down, that is, that connectivity
1217 beyond the local system is down. Defaults to false.
1219 bfd : check_tnl_key: optional string, either true or false
1220 Set to true to make BFD accept only control messages with a tunnel
1221 key of zero. By default, BFD accepts control messages with any
1224 bfd : bfd_local_dst_mac: optional string, mac address
1225 Set to an Ethernet address in the form xx:xx:xx:xx:xx:xx
1226 to set the MAC used as destination for transmitted BFD packets. The
1227 default is 00:23:20:00:00:01
1229 bfd : bfd_remote_dst_mac: optional string, mac address
1230 Set to an Ethernet address in the form xx:xx:xx:xx:xx:xx
1231 to set the MAC used for checking the destination of received BFD packets.
1232 Packets with different destination MAC will not be considered as BFD packets.
1233 If not specified the destination MAC address of received BFD packets
1236 bfd : bfd_src_ip: optional string, ip address
1237 Set to an IPv4 address to set the IP address used as source
1238 for transmitted BFD packets. The default is 169.254.1.1
1240 bfd : bfd_dst_ip: optional string, ip address
1241 Set to an IPv4 address to set the IP address used as destination
1242 for transmitted BFD packets. The default is 169.254.1.0";
1246 description "bfd name/key";
1250 description "bfd value";
1255 list interface-bfd-status {
1256 description "BFD status for a particular interface.
1257 The switch sets key-value pairs in the bfd_status column to
1258 report the status of BFD on this interface. When BFD is not
1259 enabled, with bfd:enable, the switch clears all key-value
1260 pairs from bfd_status.
1262 bfd_status : state: optional string, one of [admin_down, down, init, up]
1263 Reports the state of the BFD session. The BFD session is fully
1264 healthy and negotiated if UP.
1266 bfd_status : forwarding: optional string, true or false
1267 Reports whether the BFD session believes this Interface
1268 may be used to forward traffic. Typically this means
1269 the local session is signaling UP, and the remote
1270 system isn't signaling a problem such as concatenated path down.
1272 bfd_status : diagnostic: optional string
1273 A diagnostic code specifying the local system's reason for the
1274 last change in session state. The error messages are defined in
1275 section 4.1 of [RFC 5880].
1277 bfd_status : remote_state: optional string, one of [admin_down, down, init, up]
1278 Reports the state of the remote endpoint's BFD session.
1280 bfd_status : remote_diagnostic: optional string
1281 A diagnostic code specifying the remote system's reason for the
1282 last change in session state. The error messages are defined in
1283 section 4.1 of [RFC 5880].
1285 bfd_status : flap_count: optional string,
1286 containing an integer, minimum 0
1287 Counts the number of bfd_status:forwarding flaps since start.
1288 A flap is considered as a change of the bfd_status:forwarding value.";
1290 key "bfd-status-key";
1291 leaf bfd-status-key {
1292 description "bfd-status name/key";
1295 leaf bfd-status-value {
1296 description "bfd-status value";
1305 description "Fixed key to reference the QoS entry in MD-SAL.";
1312 description "Instance identifier of a QoS entry in the MD-SAL.";
1318 leaf ingress-policing-rate {
1319 description "Maximum rate for data received on this interface in kbps.
1320 Data received faster than this rate is dropped. Set to 0 (default)
1321 to disable policing";
1325 leaf ingress-policing-burst {
1326 description "Maximum burst size for data received on this interface in kb.
1327 The default burst size if set to 0 is 1000 kb. This value has no
1328 effect if ingress-policing-rate is 0.";
1333 augment "/topo:network-topology/topo:topology/topo:node" {
1334 description "Augmentation for bridge nodes managed by ovsdb";
1335 ext:augment-identifier "ovsdb-bridge-augmentation";
1336 uses ovsdb-bridge-attributes;
1339 augment "/topo:network-topology/topo:topology/topo:node" {
1340 description "Augment topology node for an ovsdb node";
1341 ext:augment-identifier "ovsdb-node-augmentation";
1342 uses ovsdb-node-attributes;
1345 augment "/topo:network-topology/topo:topology/topo:node/topo:termination-point" {
1346 description "Augment topology node termination-point for an ovsdb port/interface";
1347 ext:augment-identifier "ovsdb-termination-point-augmentation";
1348 uses ovsdb-port-interface-attributes;