Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F118306075
ipv6-link-local
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
242 B
Referenced Files
None
Subscribers
None
ipv6-link-local
View Options
#!/usr/bin/python3
import
sys
from
vyos.utils.network
import
is_ipv6_link_local
if
__name__
==
'__main__'
:
if
len
(
sys
.
argv
)
>
1
:
addr
=
sys
.
argv
[
1
]
if
not
is_ipv6_link_local
(
addr
):
sys
.
exit
(
1
)
sys
.
exit
(
0
)
File Metadata
Details
Attached
Mime Type
text/x-script.python
Expires
Sat, Oct 17, 12:11 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4353139
Default Alt Text
ipv6-link-local (242 B)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment