1 module opendaylight-port-inventory {
2 namespace "urn:opendaylight:port:inventory";
5 import yang-ext {prefix ext;}
6 import ietf-inet-types {prefix inet;}
7 import ietf-yang-types {prefix yang;}
8 import opendaylight-inventory {prefix inv;}
10 revision "2013-09-25" {
11 description "Initial revision of Port Inventory model";
14 typedef node-connector-Id {
15 type instance-identifier;
18 grouping ofp-port-config {
24 enum OFPPC_NO_PACKET_IN;
29 grouping ofp-port-state {
39 grouping ofp-port-features {
57 enum OFPPF_PAUSE_ASYM;
62 grouping common-port {
64 type node-connector-Id;
69 description "MAC Address of the port";
75 description "Bit map of OFPPC_* flags"
80 description "Features being advertised by the port"
94 description "Human readable name of the port";
100 description "Bit map of OFPPS_* flags"
105 description "Bit map of OFPPF_* flags"
110 description "Features supported by the port"
115 description "Features advertised by peer"
120 description "Current port bit rate in kbps"
125 description "Max port bit rate in kbps"
129 grouping ofp-port-mod {
130 key "port-mod-order";
131 leaf port-mod-order {
139 description "Bitmap of OFPPC_* flags to be changed"