Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F119897191
ipv6-eui64-prefix
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
302 B
Referenced Files
None
Subscribers
None
ipv6-eui64-prefix
View Options
#!/usr/bin/env python3
# Validator used to check if given IPv6 prefix is of size /64 required by EUI64
from
sys
import
argv
from
sys
import
exit
if
__name__
==
'__main__'
:
if
len
(
argv
)
!=
2
:
exit
(
1
)
prefix
=
argv
[
1
]
if
prefix
.
split
(
'/'
)[
1
]
==
'64'
:
exit
(
0
)
exit
(
1
)
File Metadata
Details
Attached
Mime Type
text/x-script.python
Expires
Thu, Nov 26, 8:10 PM (10 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4889311
Default Alt Text
ipv6-eui64-prefix (302 B)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment