1 module opendaylight-port-types {
2 namespace "urn:opendaylight:flow:types:port";
5 import yang-ext {prefix ext;}
6 import ietf-inet-types {prefix inet;}
7 import ietf-yang-types {prefix yang;}
9 revision "2013-09-25" {
10 description "Initial revision of Port Inventory model";
32 typedef port-features {
53 grouping common-port {
59 leaf hardware-address {
60 type yang:mac-address;
61 description "MAC Address of the port";
67 description "Bit map of OFPPC-* flags";
70 leaf advertised-features {
72 description "Features being advertised by the port";
76 grouping flow-capable-port {
82 description "Human readable name of the port";
87 description "Bit map of OFPPS-* flags";
90 leaf current-feature {
92 description "Bit map of OFPPF-* flags";
97 description "Features supported by the port";
102 description "Features advertised by peer";
108 description "Current port bit rate in kbps";
114 description "Max port bit rate in kbps";
118 grouping ofp-port-mod {
121 key "port-mod-order";
122 leaf port-mod-order {
130 description "Bitmap of OFPPC-* flags to be changed";
133 leaf container-name {