blob: 18ef2b6819f5de32cdf330d2cf9269b6372b91c8 (
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
43
44
|
module unnumbered-interfaces {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:unnumbered:interfaces";
prefix "uni";
revision "2017-05-10" {
description
"Initialial revision";
}
import ietf-interfaces {
prefix "if";
}
import vpp-vlan {
prefix "vpp-vlan";
}
import yang-ext {
prefix "ext";
}
grouping unnumbered-config-attributes {
container unnumbered {
presence "Sets interface as unnumbered";
leaf use {
type string;
mandatory true;
description
"Name of interface or subinterface which IP is to be borrowed.";
}
}
}
augment /if:interfaces/if:interface {
ext:augment-identifier "interface-unnumbered-augmentation";
uses unnumbered-config-attributes;
}
augment /if:interfaces/if:interface/vpp-vlan:sub-interfaces/vpp-vlan:sub-interface {
ext:augment-identifier "subinterface-unnumbered-augmentation";
uses unnumbered-config-attributes;
}
}
|