forked from zhenggen-xu/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sonic-yang-models]: Yang models changes for DHCPv6 Relay.
This commit brings part of sonic-net#8946. Signed-off-by: Praveen Chaudhary <[email protected]> RB=2977661 G=lnos-reviewers R=pchaudhary,pmao,samaity,zxu A=
- Loading branch information
Praveen Chaudhary
committed
Nov 20, 2021
1 parent
a19ef79
commit 75ccb2e
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
module sonic-dhcpv6-relay { | ||
|
||
namespace "http://github.com/Azure/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 boolean; | ||
} | ||
} | ||
/* end of DHCP_RELAY_LIST */ | ||
} | ||
/* end of container DHCP_RELAY */ | ||
} | ||
/* end of container sonic-dhcpv6-relay */ | ||
} | ||
/* end of module sonic-dhcpv6-relay */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters