+ leaf vlan-tag {
+ description "The VLAN tag of the termination point.";
+ type ethertype:vlan-id;
+ }
+
+ list trunks {
+ description "Represents the trunks of a termination point.";
+ leaf trunk {
+ type ethertype:vlan-id;
+ }
+ }
+
+ leaf vlan-mode {
+ description "The VLAN mode of the termination point.";
+ type enumeration {
+ enum "access" {
+ value 1;
+ description
+ "The VLAN mode access.";
+ }
+ enum "native-tagged" {
+ value 2;
+ description
+ "The VLAN mode native-tagged.";
+ }
+ enum "native-untagged" {
+ value 3;
+ description
+ "The VLAN mode native-untagged.";
+ }
+ enum "trunk" {
+ value 4;
+ description
+ "The VLAN mode trunk.";
+ }
+ }
+ }
+
+ list port-other-configs {
+ description "Other config attributes for Ports
+
+ other_config : priority-tags: optional string
+ either true or false An 802.1Q header contains two important pieces of
+ information: a VLAN ID and a priority.
+
+ other_config : bond-hash-basis: optional string
+ containing an integer An integer hashed along with flows when choosing output
+ slaves in load balanced bonds. When changed, all flows will be
+ assigned different hash values possibly causing slave selection
+ decisions to change.
+
+ other_config : bond-detect-mode: optional string
+ either miimon or carrier The means used to detect link failures. Defaults to
+ carrier which uses each interface’s carrier to detect failures.
+ When set to miimon, will check for failures by polling each
+ interface’s MII.
+
+ other_config : bond-miimon-interval: optional string
+ containing an integer The interval, in milliseconds, between successive
+ attempts to poll each interface’s MII. Relevant only when
+ other_config:bond-detect-mode is miimon
+
+ other_config : lacp-system-id: optional string
+ The LACP system ID of this Port. The system ID of a LACP bond
+ is used to identify itself to its partners. Must be a nonzero
+ MAC address. Defaults to the bridge Ethernet address if unset.
+
+ other_config : lacp-system-priority: optional string
+ containing an integer, in range 1 to 65,535 The LACP system priority of this
+ Port. In LACP negotiations, link status decisions are made by
+ the system with the numerically lower priority.
+
+ other_config : lacp-time: optional string
+ either slow or fast. The LACP timing which should be used on this Port. By default
+ slow is used. When configured to be fast LACP heartbeats are
+ requested at a rate of once per second causing connectivity
+ problems to be detected more quickly. In slow mode, heartbeats
+ are requested at a rate of once every 30 seconds.
+
+ other_config : lacp-fallback-ab: optional string
+ either true or false Determines the behavior of openvswitch bond in LACP mode.
+ If the partner switch does not support LACP, setting this
+ option to true allows openvswitch to fallback to active-backup.
+ If the option is set to false, the bond will be disabled.
+ In both the cases, once the partner switch is configured
+ to LACP mode, the bond will use LACP.
+
+ other_config : bond-rebalance-interval: optional string,
+ containing an integer, in range 0 to 10,000 For a load
+ balanced bonded port, the number of milliseconds between
+ successive attempts to rebalance the bond, that is, to move
+ flows from one interface on the bond to another in an attempt
+ to keep usage of each interface roughly equal. If zero, load
+ balancing is disabled on the bond (link failure still cause
+ flows to move). If less than 1000ms, the rebalance interval
+ will be 1000ms.
+
+ other_config : stp-enable: optional string
+ either true or false. If spanning tree is enabled on the bridge, member ports are
+ enabled by default (with the exception of bond, internal, and
+ mirror ports which do not work with STP). If this column’s
+ value is false spanning tree is disabled on the port.
+
+ other_config : stp-port-num: optional string
+ containing an integer, in range 1 to 255 The port number used for the lower 8
+ bits of the port-id. By default, the numbers will be assigned
+ automatically. If any port’s number is manually configured on
+ a bridge, then they must all be.
+
+ other_config : stp-port-priority: optional string
+ containing an integer, in range 0 to 255 The port’s relative priority value
+ for determining the root port (the upper 8 bits of the port-id).
+
+ other_config : stp-path-cost: optional string
+ containing an integer, in range 0 to 65,535 Spanning tree path cost for the
+ port. A lower number indicates a faster link. By default, the
+ cost is based on the maximum speed of the link.
+
+ other_config : rstp-enable: optional string
+ either true or false
+ If rapid spanning tree is enabled on the bridge, member ports
+ are enabled by default (with the exception of bond, internal,
+ and mirror ports which do not work with RSTP). If this
+ column’s value is false rapid spanning tree is disabled on
+ the port.
+
+ other_config : rstp-port-priority: optional string
+ containing an integer, in range 0 to 240 The port’s relative priority value
+ for determining the root port, in multiples of 16. By default,
+ the port priority is 0x80 (128).
+
+ other_config : rstp-port-num: optional string
+ containing an integer, in range 1 to 4,095 The local RSTP port number, used
+ as the lower 12 bits of the port-id.
+
+ other_config : rstp-port-path-cost: optional string
+ containing an integer The port path cost. The Port’s contribution, when it
+ is the Root Port, to the Root Path Cost for the Bridge.
+
+ other_config : rstp-port-admin-edge: optional string
+ either true or false
+
+ other_config : rstp-port-auto-edge: optional string
+ either true or false The auto edge port parameter for the Port. Default
+ is true.
+
+ other_config : rstp-port-mcheck: optional string
+ either true or false The mcheck port parameter for the Port. Default is false.
+
+ other_config : mcast-snooping-flood: optional string
+ either true or false If set to true, multicast packets are
+ unconditionally forwarded to the specific port";
+
+ key "other-config-key";
+ leaf other-config-key {
+ description "port-other-config name/key";
+ type string;
+ }
+ leaf other-config-value {
+ description "port-other-config value";
+ type string;
+ }
+ }
+
+ list interface-other-configs {
+ description "Other config attributes for Interfaces
+
+ other_config : enable-vlan-splinters: optional string
+ either true or false. Set to true to enable VLAN splinters on this
+ interface. Defaults to false.";
+
+ key "other-config-key";
+ leaf other-config-key {
+ description "interface-other-config name/key";
+ type string;
+ }
+ leaf other-config-value {
+ description "interface-other-config value";
+ type string;
+ }
+ }
+
+ list port-external-ids {
+ description "Port external ids
+
+ external_ids : fake-bridge-id-*: optional string
+ External IDs for a fake bridge (see the fake_bridge column) are defined by
+ prefixing a Bridge external_ids key with
+ fake−bridge−, e.g. fake−bridge−xs−network−uuids.";
+
+ key "external-id-key";
+ leaf external-id-key {
+ description "external-id name/key";
+ type string;
+ mandatory true;
+ }
+ leaf external-id-value {
+ description "external-id value";
+ type string;
+ mandatory true;
+ }
+ }
+
+ list interface-external-ids {
+ description "Interface external ids
+
+ external_ids : attached-mac: optional string.
+ The MAC address programmed into the ‘‘virtual hardware’’ for this interface, in
+ the form xx:xx:xx:xx:xx:xx. For Citrix XenServer, this is the
+ value of the MAC field in the VIF record for this interface.
+
+ external_ids : iface-id: optional string.
+ A system-unique identifier for the interface. On XenServer, this will commonly
+ be the same as external_ids:xs-vif-uuid.
+
+ external_ids : iface-status: optional string
+ either active or inactive Hypervisors may sometimes have more than one interface
+ associated with a given external_ids:iface-id, only one of
+ which is actually in use at a given time.
+
+ external_ids : xs-vif-uuid: optional string.
+ The virtual interface associated with this interface.
+
+ external_ids : xs-network-uuid: optional string.
+ The virtual network to which this interface is attached.
+
+ external_ids : vm-id: optional string.
+ The VM to which this interface belongs. On XenServer, this will be the same as
+ external_ids:xsvm-uuid.
+
+ external_ids : xs-vm-uuid: optional string.
+ The VM to which this interface belongs";
+
+ key "external-id-key";
+ leaf external-id-key {
+ description "external-id name/key";
+ type string;
+ mandatory true;
+ }
+ leaf external-id-value {
+ description "external-id value";
+ type string;
+ mandatory true;
+ }
+ }
+
+ list interface-lldp {
+ description "Auto Attach configuration for a particular interface.
+ If LLDP is enabled on an interface, the interface processes received
+ LLDP packets and never passes them to OpenFlow or forwards them.
+
+ lldp : enable: optional string, either true or false
+ True to enable LLDP on this Interface. If not specified, LLDP
+ will be disabled by default.";
+
+ key "lldp-key";
+ leaf lldp-key {
+ description "lldp name/key";
+ type string;
+ }
+ leaf lldp-value {
+ description "lldp value";
+ type string;
+ }
+ }
+
+ leaf qos {
+ description "The unique identifier of the QoS entry for this port.";
+ type yang:uuid;