ietf-network-topology.yang
912 Bytes
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-network-topology {
yang-version 1;
namespace "ietf-vidya-topology";
prefix lnk;
import ietf-network {
prefix nd;
}
revision 2015-12-08 {
description
"Initial revision.
NOTE TO RFC EDITOR: Please replace the following reference
to draft-ietf-i2rs-yang-network-topo-02 with
RFC number when published (i.e. RFC xxxx).";
reference
"draft-ietf-i2rs-yang-network-topo-02.";
}
augment "/nd:networks/nd:network" {
list link {
key "link-id";
container source {
leaf source-node {
type string;
mandatory true;
}
leaf source-tp {
type string;
}
}
leaf link-id {
type string;
}
}
}
}