1 module opendaylight-port-types {
2 namespace "urn:opendaylight:flow:types:port";
5 import ietf-inet-types {prefix inet; revision-date "2010-09-24";}
6 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
7 import opendaylight-queue-types {prefix queue-types; revision-date "2013-09-25";}
9 revision "2013-09-25" {
10 description "Initial revision of Port Inventory model";
42 typedef port-features {
63 grouping common-port {
69 leaf hardware-address {
70 type yang:mac-address;
71 description "MAC Address of the port";
77 description "Bit map of OFPPC-* flags";
80 leaf advertised-features {
82 description "Features being advertised by the port";
86 grouping flow-port-status {
91 uses flow-capable-port;
97 uses queue-types:queue-packet;
101 grouping flow-capable-port {
107 description "Human readable name of the port";
112 description "Description of state of port";
115 leaf current-feature {
117 description "Bit map of OFPPF-* flags";
122 description "Features supported by the port";
127 description "Features advertised by peer";
133 description "Current port bit rate in kbps";
139 description "Max port bit rate in kbps";
148 key "port-mod-order";
149 leaf port-mod-order {
157 description "Bitmap of OFPPC-* flags to be changed";
160 leaf container-name {