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";
38 typedef port-features {
59 grouping common-port {
65 leaf hardware-address {
66 type yang:mac-address;
67 description "MAC Address of the port";
73 description "Bit map of OFPPC-* flags";
76 leaf advertised-features {
78 description "Features being advertised by the port";
82 grouping flow-port-status {
87 uses flow-capable-port;
93 uses queue-types:queue-packet;
97 grouping flow-capable-port {
103 description "Human readable name of the port";
108 description "Bit map of OFPPS-* flags";
111 leaf current-feature {
113 description "Bit map of OFPPF-* flags";
118 description "Features supported by the port";
123 description "Features advertised by peer";
129 description "Current port bit rate in kbps";
135 description "Max port bit rate in kbps";
144 key "port-mod-order";
145 leaf port-mod-order {
153 description "Bitmap of OFPPC-* flags to be changed";
156 leaf container-name {