Eliminate blueprint for southbound-cli commands
[openflowplugin.git] / model / model-flow-service / src / main / yang / node-config.yang
1 module node-config {
2     namespace "urn:opendaylight:module:config";
3     prefix node-config;
4
5     import flow-capable-transaction {prefix tr; revision-date "2015-03-04";}
6     import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
7
8     description "Openflow initial device config.";
9
10     revision "2014-10-15" {
11         description "Initial revision
12           + simplified node-context-ref in rpc input";
13     }
14
15     grouping node-config {
16         description "Openflow device initial configuration structure.";
17         
18         leaf flag {
19             type string;
20             description "Switch config flag. Expected values FRAGNORMAL, OFPCFRAGDROP, OFPCFRAGREASM, OFPCFRAGMASK";
21         }
22         leaf miss-search-length{
23             type uint16;
24         }
25     }
26
27     rpc set-config {
28         description "Sending initial configuration to device.";
29         input {
30             uses node-config;
31             uses tr:transaction-aware;
32             uses inv:node-context-ref;
33         }
34         output {
35             uses tr:transaction-aware;
36         }
37     }
38 }