ietf-te-topology.yang
1.39 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
module ietf-te-topology {
yang-version 1;
namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology";
prefix "tet";
import ietf-network {
prefix "nw";
}
revision "2016-03-17" {
description "Initial revision";
}
grouping te-node-augment {
container te {
presence "TE support.";
leaf te-node-id {
type string;
mandatory true;
}
container config {
uses te-node-config;
} // config
} // te
} // te-node-augment
grouping te-node-config {
leaf-list te-node-template {
if-feature template;
type string;
}
uses te-node-config-attributes;
} // te-node-config
grouping te-node-config-attributes {
container te-node-attributes {
leaf admin-status {
type string;
}
uses te-node-connectivity-matrix;
} // te-node-attributes
} // te-node-config-attributes
grouping te-node-connectivity-matrix {
list connectivity-matrix {
key "id";
leaf id {
type uint32;
description "Identifies the connectivity-matrix entry.";
}
}
} // te-node-connectivity-matrix
augment "/nw:networks/nw:network/nw:node" {
uses te-node-augment;
}
}