1 module packet-processing {
2 namespace "urn:opendaylight:packet:service";
5 import yang-ext {prefix ext; revision-date "2013-07-09";}
6 import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
7 import ietf-yang-types {prefix yang;revision-date "2010-09-24";}
8 import opendaylight-l2-types {prefix types;revision-date "2013-08-27";}
9 import opendaylight-match-types {prefix match-type;revision-date "2013-10-26";}
10 import opendaylight-table-types {prefix table-type;revision-date "2013-10-26";}
11 import opendaylight-action-types {prefix action-type;revision-date "2013-11-12";}
14 revision "2013-07-09" {
24 type inv:node-connector-ref;
31 grouping ethernet-packet {
33 type yang:mac-address;
37 type yang:mac-address;
41 identity packet-in-reason {
42 description "Base identity for all the available packet in reason";
46 base packet-in-reason;
47 description "No matching flow in the classifier";
50 identity send-to-controller {
51 base packet-in-reason;
52 description "Explicit instruction to send packet to controller";
55 identity invalid-ttl {
56 base packet-in-reason;
57 description "Packet with invalid TTL";
60 notification packet-received {
66 type table-type:table-id;
69 leaf packet-in-reason {
71 base packet-in-reason;
76 uses match-type:match;
84 uses inv:node-context-ref;
91 type inv:node-connector-ref;
98 uses action-type:action-list;