forked from illumos/illumos-gate
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OS-4683 Using the allowed-ips property prevents using dynamic addresses
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
- Loading branch information
Showing
14 changed files
with
424 additions
and
148 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
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
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,45 @@ | ||
#!/bin/ksh | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
|
||
# | ||
# Copyright 2017 Joyent, Inc. | ||
# | ||
|
||
source ./common.ksh | ||
|
||
property="dynamic-methods" | ||
|
||
setup | ||
|
||
# All valid values on their own | ||
epass slaac | ||
epass dhcpv4 | ||
epass dhcpv6 | ||
epass addrconf | ||
|
||
# Combinations of values | ||
epass slaac,dhcpv4 | ||
epass slaac,dhcpv6 | ||
epass dhcpv4,dhcpv6 | ||
epass dhcpv4,addrconf | ||
epass dhcpv4,dhcpv6,slaac | ||
|
||
# Illegal values | ||
efail dhcpv8 | ||
efail slaac,dhcpv8 | ||
efail slack | ||
efail ipv6 | ||
efail dhcp | ||
efail dhcpv | ||
|
||
cleanup | ||
printf "TEST PASS: $ai_arg0\n" |
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
Oops, something went wrong.