GroupingCopiedInModule2.yang
1.04 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
module ietf-te-topology {
yang-version 1;
namespace "onos-yang-19:level1:newlevel";
prefix test;
import ietf-network {
prefix "nw";
}
description "leaf scenario";
typedef te-topology-event-type {
type enumeration {
enum "add" {
value 0;
description
"A TE node or te-link has been added.";
}
enum "remove" {
value 1;
description
"A TE node or te-link has been removed.";
}
enum "update" {
value 2;
description
"A TE node or te-link has been updated.";
}
}
description "TE Event type for notifications";
} // te-topology-event-type
container te-node-event {
leaf event-type {
type te-topology-event-type;
description "Event type.";
}
description "Notification event for TE node.";
uses nw:node-ref;
}
}