2 namespace "urn:opendaylight:flow: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-inet-types {prefix inet; revision-date "2010-09-24";}
8 import opendaylight-flow-types {prefix types;revision-date "2013-10-26";}
9 import flow-capable-transaction {prefix tr;}
10 import flow-errors {prefix error;}
12 revision "2013-08-19" {
13 description "Initial revision of flow service";
16 typedef flow-table-ref {
17 type instance-identifier;
20 grouping node-flow-removed {
22 ext:context-reference "inv:node-context";
28 uses types:flow-mod-removed;
32 uses "inv:node-context-ref";
40 /** Base configuration structure **/
41 grouping flow-update {
42 uses "inv:node-context-ref";
44 container original-flow {
47 container updated-flow {
55 uses tr:transaction-aware;
58 uses tr:transaction-aware;
65 uses tr:transaction-aware;
68 uses tr:transaction-aware;
75 uses tr:transaction-aware;
78 uses tr:transaction-aware;
82 notification flow-added {
86 notification flow-updated {
90 notification flow-removed {
94 notification switch-flow-removed {
95 uses node-flow-removed;
98 notification node-error-notification {
99 uses error:error-message;
100 uses tr:transaction-aware;
103 notification node-experimenter-error-notification {
104 uses error:experimenter-error-message;
105 uses tr:transaction-aware;