We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7444c81 commit 73013a2Copy full SHA for 73013a2
src/aleph/vm/network/hostnetwork.py
@@ -53,8 +53,8 @@ class StaticIPv6Allocator(IPv6Allocator):
53
}
54
55
def __init__(self, ipv6_range: IPv6Network, subnet_prefix: int):
56
- if ipv6_range.prefixlen != 64:
57
- msg = "The static IP address allocation scheme requires a /64 subnet"
+ if ipv6_range.prefixlen not in (56, 64):
+ msg = "The static IP address allocation scheme requires a /64 or /56 subnet"
58
raise ValueError(msg)
59
if subnet_prefix < 124:
60
msg = "The IPv6 subnet prefix cannot be larger than /124."
0 commit comments