Created experimenter subtype for vendor's actions
[openflowjava.git] / openflow-nx-resubmit-action / src / main / yang / nx-resubmit-action.yang
1 /*\r
2  * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8  \r
9  module nx-resubmit-action {\r
10     namespace "urn:opendaylight:openflow:nx:resubmit:action";\r
11     prefix "nx-resubmit";\r
12 \r
13     import openflow-types {prefix oft;}\r
14     import openflow-action {prefix ofaction;}\r
15     import yang-ext {prefix ext;}\r
16 \r
17     revision "2013-07-31" {\r
18         description "OpenFlow 1.3 - action model";\r
19     }\r
20     \r
21     identity nx-resubmit-action {\r
22         base ofaction:experimenter-action-sub-type;\r
23     }\r
24 \r
25     augment "/ofaction:actions-container/ofaction:action" {\r
26          ext:augment-identifier "nx-action-resubmit-augment";\r
27          leaf subtype {\r
28              type uint16;\r
29          }\r
30          leaf in-port {\r
31              type uint16;\r
32          }\r
33          leaf table {\r
34              type uint8;\r
35          }\r
36      }\r
37 \r
38 }