Example #1
0
 def ont_ports(self):
     """Return `OntPortCollection` object."""
     return pbn_ont_port.PBNOntPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'ont_ports'))
Example #2
0
 def portgroupsports(self):
     """Return `PortgrouportCollection` object."""
     return keymile_portgroupport.KeyMilePortGroupPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'portgrouports'))
Example #3
0
 def srvcs(self):
     """Return `SrvcCollection` object."""
     return keymile_srvc.KeyMileSrvcCollection(
         self._conn, base.get_sub_resource_path_by(self, 'srvcs'))
Example #4
0
 def cards(self):
     """Return `cardCollection` object."""
     return keymile_card.KeyMileCardCollection(
         self._conn, base.get_sub_resource_path_by(
             self, 'cards'))
Example #5
0
 def mgmt_ports(self):
     """Return `mgmtportCollection` object."""
     return keymile_mgmt_port.KeyMileMgmtPortCollection(
         self._conn, base.get_sub_resource_path_by(
             self, 'mgmt_ports'))
Example #6
0
 def get_srvcs(self, field, value):
     """Get specific srvcs object."""
     return keymile_srvc.KeyMileSrvcCollection(
         self._conn, base.get_sub_resource_path_by(self, 'srvcs'),
         params={field: value})
Example #7
0
 def interfaces(self):
     """Return `InterfaceCollection` object."""
     return keymile_interface.KeyMileInterfaceCollection(
         self._conn, base.get_sub_resource_path_by(self, 'interfaces'))
Example #8
0
 def get_service_ports_by_values(self, params):
     """Get a collection of service port objects."""
     return pbn_service_port.PBNServicePortCollection(
         self._conn,
         base.get_sub_resource_path_by(self, 'service_ports'),
         params=params)
Example #9
0
 def get_cards(self, field, value):
     """Get all cards."""
     return keymile_card.KeyMileCardCollection(
         self._conn, base.get_sub_resource_path_by(self, 'cards'),
         params={field: value})
Example #10
0
 def vlans(self):
     """Return `VlanCollection` object."""
     return pbn_vlan.PBNVlanCollection(
         self._conn, base.get_sub_resource_path_by(self, 'vlans'))
Example #11
0
 def service_ports(self):
     """Return `ServicePortCollection` object."""
     return pbn_service_port.PBNServicePortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'service_ports'))
Example #12
0
 def get_users(self, field, value):
     """Get specific user objects."""
     return pbn_user.PBNUserCollection(self._conn,
                                       base.get_sub_resource_path_by(
                                           self, 'users'),
                                       params={field: value})
Example #13
0
 def users(self):
     """Return `UserCollection` object."""
     return pbn_user.PBNUserCollection(
         self._conn, base.get_sub_resource_path_by(self, 'users'))
Example #14
0
 def get_ont_ports(self, field, value):
     """Get specific ont_port object."""
     return pbn_ont_port.PBNOntPortCollection(self._conn,
                                              base.get_sub_resource_path_by(
                                                  self, 'ont_ports'),
                                              params={field: value})
Example #15
0
 def get_subscribers(self, field, value):
     """Get specific subscribers object."""
     return keymile_subscriber.KeyMileSubscriberCollection(
         self._conn, base.get_sub_resource_path_by(self, 'subscribers'),
         params={field: value})
Example #16
0
 def get_mgmt_card(self, field, value):
     """Get specific mgnt card object."""
     return keymile_mgmt_card.KeyMileMgntCardCollection(
         self._conn, base.get_sub_resource_path_by(self, 'mgmt_cards'),
         params={field: value}).find_by_field_value(field, value)
Example #17
0
 def get_portgroupports(self, field, value):
     """Get specific portgroupports object."""
     return keymile_portgroupport.KeyMilePortGroupPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'portgroupports'),
         params={field: value})
Example #18
0
 def get_mgmt_ports(self, field, value):
     """Get specific mgmtport object."""
     return keymile_mgmt_port.KeyMileMgmtPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'mgmt_ports'),
         params={field: value})
Example #19
0
 def channels(self):
     """Return `ChannelCollection` object."""
     return keymile_channel.KeyMileChannelCollection(
         self._conn, base.get_sub_resource_path_by(self, 'channels'))
Example #20
0
 def get_logport(self, field, value):
     """Get specific logport object."""
     return keymile_logport.KeyMileLogPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'logports'),
         params={field: value}).find_by_field_value(field, value)
Example #21
0
 def credentials(self):
     """Return `CredentialsCollection` object."""
     return credentials.CredentialsCollection(
         self._conn, base.get_sub_resource_path_by(
             self, 'credentials'))
Example #22
0
 def get_logports(self, field, value):
     """Get al logport objects with a specific trait."""
     return keymile_logport.KeyMileLogPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'logports'),
         params={field: value})
Example #23
0
 def mgmt_cards(self):
     """Return `mgmtcardCollection` object."""
     return keymile_mgmt_card.KeyMileMgntCardCollection(
         self._conn, base.get_sub_resource_path_by(
             self, 'mgmt_cards'))
Example #24
0
 def get_chan(self, field, value):
     """Get specific channel object."""
     return keymile_channel.KeyMileChannelCollection(
         self._conn, base.get_sub_resource_path_by(self, 'channels'),
         params={field: value}).find_by_field_value(field, value)
Example #25
0
 def subscribers(self):
     """Return `SubscriberCollection` object."""
     return keymile_subscriber.KeyMileSubscriberCollection(
         self._conn, base.get_sub_resource_path_by(self, 'subscribers'))
Example #26
0
 def get_chans(self, field, value):
     return keymile_channel.KeyMileChannelCollection(
         self._conn, base.get_sub_resource_path_by(self, 'channels'),
         params={field: value})
Example #27
0
 def logports(self):
     """Return `LogPortCollection` object."""
     return keymile_logport.KeyMileLogPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'logports'))
Example #28
0
 def get_interfaces(self, field, value):
     """Get specific interface object."""
     return keymile_interface.KeyMileInterfaceCollection(
         self._conn, base.get_sub_resource_path_by(self, 'interfaces'),
         params={field: value})
Example #29
0
 def service_vlans(self):
     """Return `ServiceVlanCollection` object."""
     return alcatel_service_vlan.AlcatelServiceVlanCollection(
         self._conn, base.get_sub_resource_path_by(self, 'service_vlans'))
Example #30
0
 def ports(self):
     """Return `PortCollection` object."""
     return pbn_port.PBNPortCollection(
         self._conn, base.get_sub_resource_path_by(self, 'ports'))