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";}
8 revision "2013-09-25" {
9 description "Initial revision of Port Inventory model";
37 typedef port-features {
58 grouping common-port {
64 leaf hardware-address {
65 type yang:mac-address;
66 description "MAC Address of the port";
72 description "Bit map of OFPPC-* flags";
75 leaf advertised-features {
77 description "Features being advertised by the port";
81 grouping flow-port-status {
86 uses flow-capable-port;
89 grouping flow-capable-port {
95 description "Human readable name of the port";
100 description "Bit map of OFPPS-* flags";
103 leaf current-feature {
105 description "Bit map of OFPPF-* flags";
110 description "Features supported by the port";
115 description "Features advertised by peer";
121 description "Current port bit rate in kbps";
127 description "Max port bit rate in kbps";
134 key "port-mod-order";
135 leaf port-mod-order {
143 description "Bitmap of OFPPC-* flags to be changed";
146 leaf container-name {