blob: 5704b323427008370ac57e03fb0069ec57df84ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
module sample-plugin {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:sample:plugin";
prefix "samples";
import ietf-inet-types {
prefix "inet";
}
revision 2016-12-14 {
description "Sample model for demonstration of transation code";
}
grouping sample-plugin-params {
container vxlans {
list vxlan-tunnel {
key id;
leaf id {
type string;
}
leaf src {
type inet:ip-address;
}
leaf dst {
type inet:ip-address;
}
}
}
}
container sample-plugin-state {
config false;
uses sample-plugin-params;
}
container sample-plugin {
uses sample-plugin-params;
}
}
|