[attributs] Valeur par defaut pour ip et mdp wifi
This commit is contained in:
parent
625a1dbf94
commit
c38d693d76
1 changed files with 3 additions and 0 deletions
|
@ -678,6 +678,7 @@ class ipHostNumber(Attr):
|
|||
category = 'base_tech'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "ipHostNumber"
|
||||
default = '<automatique>'
|
||||
|
||||
def parse_value(self, ip):
|
||||
if ip == '<automatique>':
|
||||
|
@ -697,6 +698,7 @@ class ip6HostNumber(Attr):
|
|||
category = 'base_tech'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "ip6HostNumber"
|
||||
default = '<automatique>'
|
||||
|
||||
def parse_value(self, ip6):
|
||||
if ip6 == '<automatique>':
|
||||
|
@ -759,6 +761,7 @@ class ipsec(Attr):
|
|||
legend = u'Clef wifi'
|
||||
category = 'wifi'
|
||||
ldap_name = "ipsec"
|
||||
default = u'auto'
|
||||
|
||||
def parse_value(self, val):
|
||||
if len(val) in [10, 22]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue