Redondances avec le can_modify par défaut
This commit is contained in:
parent
0b93ad0e19
commit
9252614cd9
1 changed files with 0 additions and 14 deletions
14
attributs.py
14
attributs.py
|
@ -1082,7 +1082,6 @@ class rid(intAttr):
|
||||||
unique = True
|
unique = True
|
||||||
legend = u"Identifiant réseau de machine"
|
legend = u"Identifiant réseau de machine"
|
||||||
category = 'id'
|
category = 'id'
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "rid"
|
ldap_name = "rid"
|
||||||
|
|
||||||
def parse_value(self, rid):
|
def parse_value(self, rid):
|
||||||
|
@ -1133,7 +1132,6 @@ class puissance(Attr):
|
||||||
optional = True
|
optional = True
|
||||||
legend = u"puissance d'émission pour les bornes wifi"
|
legend = u"puissance d'émission pour les bornes wifi"
|
||||||
category = 'wifi'
|
category = 'wifi'
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "puissance"
|
ldap_name = "puissance"
|
||||||
default = '60'
|
default = '60'
|
||||||
|
|
||||||
|
@ -1144,7 +1142,6 @@ class canal(intAttr):
|
||||||
optional = True
|
optional = True
|
||||||
legend = u'Canal d\'émission de la borne'
|
legend = u'Canal d\'émission de la borne'
|
||||||
category = 'wifi'
|
category = 'wifi'
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "canal"
|
ldap_name = "canal"
|
||||||
default = "11"
|
default = "11"
|
||||||
|
|
||||||
|
@ -1155,7 +1152,6 @@ class hotspot(boolAttr):
|
||||||
optional = True
|
optional = True
|
||||||
legend = u'Hotspot'
|
legend = u'Hotspot'
|
||||||
category = 'wifi'
|
category = 'wifi'
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "hotspot"
|
ldap_name = "hotspot"
|
||||||
default = "FALSE"
|
default = "FALSE"
|
||||||
|
|
||||||
|
@ -1164,7 +1160,6 @@ class positionBorne(Attr):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
legend = u"Position de la borne"
|
legend = u"Position de la borne"
|
||||||
category = "wifi"
|
category = "wifi"
|
||||||
can_modify = [nounou]
|
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
optional = True
|
optional = True
|
||||||
ldap_name = "positionBorne"
|
ldap_name = "positionBorne"
|
||||||
|
@ -1175,7 +1170,6 @@ class nvram(Attr):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
legend = u"Configuration speciale"
|
legend = u"Configuration speciale"
|
||||||
optional = True
|
optional = True
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "nvram"
|
ldap_name = "nvram"
|
||||||
|
|
||||||
class portAttr(Attr):
|
class portAttr(Attr):
|
||||||
|
@ -1184,7 +1178,6 @@ class portAttr(Attr):
|
||||||
optional = True
|
optional = True
|
||||||
legend = u'Ouverture de port'
|
legend = u'Ouverture de port'
|
||||||
category = 'firewall'
|
category = 'firewall'
|
||||||
can_modify = [nounou]
|
|
||||||
|
|
||||||
def parse_value(self, port):
|
def parse_value(self, port):
|
||||||
if ":" in port:
|
if ":" in port:
|
||||||
|
@ -1258,7 +1251,6 @@ class nombrePrises(intAttr):
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
optional = True
|
optional = True
|
||||||
categoriy = 'base_tech'
|
categoriy = 'base_tech'
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "nombrePrises"
|
ldap_name = "nombrePrises"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
@ -1268,7 +1260,6 @@ class prise(Attr):
|
||||||
optional = True
|
optional = True
|
||||||
legend = u"Prise sur laquelle est branchée la machine"
|
legend = u"Prise sur laquelle est branchée la machine"
|
||||||
category = 'base_tech'
|
category = 'base_tech'
|
||||||
can_modify = [nounou]
|
|
||||||
ldap_name = "prise"
|
ldap_name = "prise"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
@ -1775,7 +1766,6 @@ class machineAlias(boolAttr):
|
||||||
class issuerCN(Attr):
|
class issuerCN(Attr):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
ldap_name = "issuerCN"
|
ldap_name = "issuerCN"
|
||||||
can_modify = [nounou]
|
|
||||||
legend = "Common Name de l'éméteur du certificat"
|
legend = "Common Name de l'éméteur du certificat"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
@ -1783,21 +1773,18 @@ class serialNumber(Attr):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
ldap_name = "serialNumber"
|
ldap_name = "serialNumber"
|
||||||
python_type = int
|
python_type = int
|
||||||
can_modify = [nounou]
|
|
||||||
legend = "Numéro de série du certificat"
|
legend = "Numéro de série du certificat"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class start(intAttr):
|
class start(intAttr):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
ldap_name = "start"
|
ldap_name = "start"
|
||||||
can_modify = [nounou]
|
|
||||||
legend = "Date de début"
|
legend = "Date de début"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
class end(intAttr):
|
class end(intAttr):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
ldap_name = "end"
|
ldap_name = "end"
|
||||||
can_modify = [nounou]
|
|
||||||
legend = "Date de fin"
|
legend = "Date de fin"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
@ -1814,7 +1801,6 @@ class revocked(boolAttr):
|
||||||
ldap_name = "revocked"
|
ldap_name = "revocked"
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
optional = True
|
optional = True
|
||||||
can_modify = [nounou]
|
|
||||||
legend = "Détermine si le certificat est révoqué"
|
legend = "Détermine si le certificat est révoqué"
|
||||||
|
|
||||||
@crans_attribute
|
@crans_attribute
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue