add cidr and network_cidr variable type
This commit is contained in:
parent
cbf107cbdc
commit
9ec8f881ab
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@ CONVERT_OPTION = {'number': dict(opttype=IntOption),
|
|||
'hostname_strict': dict(opttype=DomainnameOption, initkwargs={'type': 'hostname', 'allow_ip': False}),
|
||||
'web_address': dict(opttype=URLOption, initkwargs={'allow_ip': True, 'allow_without_dot': True}),
|
||||
'port': dict(opttype=PortOption, initkwargs={'allow_private': True}),
|
||||
'mac': dict(opttype=MACOption)
|
||||
'mac': dict(opttype=MACOption),
|
||||
'cidr': dict(opttype=IPOption, initkwargs={'cidr': True}),
|
||||
'network_cidr': dict(opttype=NetworkOption, initkwargs={'cidr': True}),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue