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";
31 typedef port-features {
52 grouping common-port {
58 leaf hardware-address {
59 type yang:mac-address;
60 description "MAC Address of the port";
66 description "Bit map of OFPPC-* flags";
69 leaf advertised-features {
71 description "Features being advertised by the port";
75 grouping flow-capable-port {
81 description "Human readable name of the port";
86 description "Bit map of OFPPS-* flags";
89 leaf current-feature {
91 description "Bit map of OFPPF-* flags";
96 description "Features supported by the port";
101 description "Features advertised by peer";
107 description "Current port bit rate in kbps";
113 description "Max port bit rate in kbps";
117 grouping ofp-port-mod {
120 key "port-mod-order";
121 leaf port-mod-order {
129 description "Bitmap of OFPPC-* flags to be changed";
132 leaf container-name {