Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     Object.__init__(self, *args, **kwargs)
Exemplo n.º 2
0
 def __init__(self, library, item):
     try:
         item['group'] = int(item['group'])
     except KeyError:
         pass
     Object.__init__(self, library, item)
Exemplo n.º 3
0
 def __init__(self, library, data):
     Object.__init__(self, library, data)
     if self['type'] in (NETWORK_RESTYPE, IPSEC_NETWORK_RESTYPE):
         self['address'].NoPrefixForSingleIp = False