Example #1
0
 def __init__(self, *args, **kwargs):
     Object.__init__(self, *args, **kwargs)
Example #2
0
 def __init__(self, library, item):
     try:
         item['group'] = int(item['group'])
     except KeyError:
         pass
     Object.__init__(self, library, item)
Example #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