コード例 #1
0
ファイル: service_object_group.py プロジェクト: 3pings/aci
 def __init__(self):
     """We are not interested in 'object-group service <name> [tcp|udp|tcp-udp]' variants, as they are legacy.
     """
     DMList.__init__(self,
                     name='ServiceObjectGroup',
                     asa_key=re.compile('^object-group service \S+$'),
                     child_class=ServiceObjectGroup)
コード例 #2
0
 def __init__(self):
     DMList.__init__(self, name='PortChannelMember', asa_key = 'interface', child_class=PortChannelMember)
コード例 #3
0
ファイル: service_object.py プロジェクト: 3pings/aci
 def __init__(self, name, child_class, asa_sub_key):
     DMList.__init__(self, name, child_class, asa_key='object service')
     self.asa_sub_key = asa_sub_key
コード例 #4
0
 def __init__(self):
     """We are not interested in 'object-group service <name> [tcp|udp|tcp-udp]' variants, as they are legacy.
     """
     DMList.__init__(self, name='ServiceObjectGroup',
                     asa_key=re.compile('^object-group service \S+$'),
                     child_class=ServiceObjectGroup)
コード例 #5
0
 def __init__(self):
     DMList.__init__(self, name='BridgeGroupIntf', asa_key='interface BVI', child_class=BridgeGroupIntf)
コード例 #6
0
 def __init__(self):
     DMList.__init__(self,
                     name='BridgeGroupIntf',
                     asa_key='interface BVI',
                     child_class=BridgeGroupIntf)
コード例 #7
0
 def __init__(self):
     DMList.__init__(self, Firewall.__name__, Firewall)
コード例 #8
0
 def __init__(self):
     DMList.__init__(self, name='NetworkObjectGroup', asa_key='object-group network', child_class=NetworkObjectGroup)
コード例 #9
0
ファイル: network_object_group.py プロジェクト: 3pings/aci
 def __init__(self):
     DMList.__init__(self,
                     name='NetworkObjectGroup',
                     asa_key='object-group network',
                     child_class=NetworkObjectGroup)
コード例 #10
0
 def __init__(self, name, child_class, asa_sub_key):
     DMList.__init__(self, name, child_class, asa_key='object network')
     self.asa_sub_key = asa_sub_key
コード例 #11
0
 def __init__(self):
     DMList.__init__(self,
                     name='PortChannelMember',
                     asa_key='interface',
                     child_class=PortChannelMember)
コード例 #12
0
 def __init__(self, name, child_class, asa_sub_key):
     DMList.__init__(self, name, child_class, asa_key = 'object network')
     self.asa_sub_key = asa_sub_key