explicit.is.better.than.too.explicit.dude.
This commit is contained in:
parent
c0aa3c0e48
commit
b470c860c0
4 changed files with 65 additions and 18 deletions
|
@ -10,10 +10,10 @@
|
|||
This is the parser for firewall service.
|
||||
"""
|
||||
|
||||
import lc_ldap.attributs
|
||||
import lc_ldap.attributs as attributs
|
||||
from gestion.trigger.host import record_parser, chaining
|
||||
|
||||
@record_parser(lc_ldap.attributs.macAddress.ldap_name, lc_ldap.attributs.ipHostNumber.ldap_name)
|
||||
@record_parser(attributs.macAddress, attributs.ipHostNumber)
|
||||
@chaining(0)
|
||||
def send_mac_ip(ob_id, operations, diff, more):
|
||||
"""Computes mac_ip data to send from operations and diff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue