summaryrefslogtreecommitdiff
path: root/src/completion/list_interfaces.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-08-29 22:40:10 +0200
committerChristian Poessinger <christian@poessinger.com>2018-08-29 22:40:10 +0200
commita30dac7c24549f9ee32a484b74af049607ffd42b (patch)
treec42f7a5548e2997a37884d27650231762158c996 /src/completion/list_interfaces.py
parenteb5a1be8845e75c115910d96b1bc468c872ce705 (diff)
downloadvyos-1x-a30dac7c24549f9ee32a484b74af049607ffd42b.tar.gz
vyos-1x-a30dac7c24549f9ee32a484b74af049607ffd42b.zip
vyos package: add IP address validators
* is_addr_assigned(addr) - Test if address is assigned to ANY interface on the system * is_ipv4(addr) - Test if it is an IPv4 address, both network and host * is_ipv6(addr) - Test if it is an IPv6 address, both network and host
Diffstat (limited to 'src/completion/list_interfaces.py')
0 files changed, 0 insertions, 0 deletions