-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check the validity of management IP addresses (#1965)
clab and libvirt management IP addresses must be within the management subnet and the AF used on the node must be defined in the management pool. Furthermore, libvirt nodes need IPv4 management address. Closes #1957
- Loading branch information
Showing
6 changed files
with
72 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
IncorrectValue in libvirt: Management ipv4 address of node a (192.168.44.1) is not part of the management subnet | ||
MissingValue in libvirt: Node b must have ipv4 management address | ||
IncorrectValue in clab: Management ipv6 address of node d (2001:db8:43::3) is not part of the management subnet | ||
Fatal error in netlab: Cannot proceed beyond this point due to errors, exiting |
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,22 @@ | ||
defaults.device: none | ||
addressing.mgmt: | ||
ipv4: 192.168.42.0/24 | ||
ipv6: 2001:db8:42::/64 | ||
|
||
nodes: | ||
a: | ||
provider: libvirt | ||
mgmt.ipv4: 192.168.44.1 | ||
b: | ||
provider: libvirt | ||
mgmt.ipv6: 2001:db8:42::2 | ||
c: | ||
provider: libvirt | ||
mgmt.ipv4: 192.168.42.3 | ||
mgmt.ipv6: 2001:db8:42::3 | ||
d: | ||
provider: clab | ||
mgmt.ipv6: 2001:db8:43::3 | ||
e: | ||
provider: clab | ||
mgmt.ipv6: 2001:db8:42::5 |