1 module opendaylight-port-types {
2 namespace "urn:opendaylight:flow:types:port";
5 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
6 import opendaylight-queue-types {prefix queue-types; revision-date "2013-09-25";}
8 revision "2013-09-25" {
9 description "Initial revision of Port Inventory model";
41 typedef port-features {
62 grouping common-port {
68 leaf hardware-address {
69 type yang:mac-address;
70 description "MAC Address of the port";
76 description "Bit map of OFPPC-* flags";
79 leaf advertised-features {
81 description "Features being advertised by the port";
85 grouping flow-port-status {
90 uses flow-capable-port;
96 uses queue-types:queue-packet;
100 grouping flow-capable-port {
106 description "Human readable name of the port";
111 description "Description of state of port";
114 leaf current-feature {
116 description "Bit map of OFPPF-* flags";
121 description "Features supported by the port";
126 description "Features advertised by peer";
132 description "Current port bit rate in kbps";
138 description "Max port bit rate in kbps";
147 key "port-mod-order";
148 leaf port-mod-order {
156 description "Bitmap of OFPPC-* flags to be changed";
159 leaf container-name {