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 typedef port-number-uni {
69 grouping common-port {
75 leaf hardware-address {
76 type yang:mac-address;
77 description "MAC Address of the port";
83 description "Bit map of OFPPC-* flags";
86 leaf advertised-features {
88 description "Features being advertised by the port";
92 grouping flow-port-status {
97 uses flow-capable-port;
103 uses queue-types:queue-packet;
107 grouping flow-capable-port {
113 description "Human readable name of the port";
118 description "Description of state of port";
121 leaf current-feature {
123 description "Bit map of OFPPF-* flags";
128 description "Features supported by the port";
133 description "Features advertised by peer";
139 description "Current port bit rate in kbps";
145 description "Max port bit rate in kbps";
154 key "port-mod-order";
155 leaf port-mod-order {
163 description "Bitmap of OFPPC-* flags to be changed";
166 leaf container-name {