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 {
71 leaf hardware-address {
72 type yang:mac-address;
73 description "MAC Address of the port";
79 description "Bit map of OFPPC-* flags";
82 leaf advertised-features {
84 description "Features being advertised by the port";
88 grouping flow-port-status {
93 uses flow-capable-port;
99 uses queue-types:queue-packet;
103 grouping flow-capable-port {
109 description "Human readable name of the port";
114 description "Description of state of port";
117 leaf current-feature {
119 description "Bit map of OFPPF-* flags";
124 description "Features supported by the port";
129 description "Features advertised by peer";
135 description "Current port bit rate in kbps";
141 description "Max port bit rate in kbps";
150 key "port-mod-order";
151 leaf port-mod-order {
159 description "Bitmap of OFPPC-* flags to be changed";
162 leaf container-name {