-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathsonic-dhcpv6-relay.yang
62 lines (45 loc) · 1.07 KB
/
sonic-dhcpv6-relay.yang
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
61
62
module sonic-dhcpv6-relay {
namespace "http://github.com/sonic-net/sonic-dhcpv6-relay";
prefix sdhcpv6relay;
yang-version 1.1;
import ietf-inet-types {
prefix inet;
}
organization "SONiC";
contact "SONiC";
description "DHCPv6 Relay yang Module for SONiC OS";
revision 2021-10-30 {
description "First Revision";
}
container sonic-dhcpv6-relay {
container DHCP_RELAY {
description "DHCP_RELAY part of config_db.json";
list DHCP_RELAY_LIST {
key "name";
leaf name {
type string;
}
leaf-list dhcpv6_servers {
description "Configure the dhcp v6 servers";
type inet:ipv6-address;
}
leaf rfc6939_support {
description "Set rfc6939 for the relay";
type string {
pattern "false|true";
}
}
leaf interface_id {
description "Enable interface ID insertion in relayed messages";
type string {
pattern "false|true";
}
}
}
/* end of VLAN_LIST */
}
/* end of container DHCP_RELAY */
}
/* end of container sonic-dhcpv6-relay */
}
/* end of module sonic-dhcpv6-relay */