id
int32
0
252k
repo
stringlengths
7
55
path
stringlengths
4
127
func_name
stringlengths
1
88
original_string
stringlengths
75
19.8k
language
stringclasses
1 value
code
stringlengths
75
19.8k
code_tokens
list
docstring
stringlengths
3
17.3k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
87
242
18,700
HewlettPackard/python-hpOneView
hpOneView/resources/networking/interconnects.py
Interconnects.get_port
def get_port(self, id_or_uri, port_id_or_uri): """ Gets an interconnect port. Args: id_or_uri: Can be either the interconnect id or uri. port_id_or_uri: The interconnect port id or uri. Returns: dict: The interconnect port. """ uri = ...
python
def get_port(self, id_or_uri, port_id_or_uri): """ Gets an interconnect port. Args: id_or_uri: Can be either the interconnect id or uri. port_id_or_uri: The interconnect port id or uri. Returns: dict: The interconnect port. """ uri = ...
[ "def", "get_port", "(", "self", ",", "id_or_uri", ",", "port_id_or_uri", ")", ":", "uri", "=", "self", ".", "_client", ".", "build_subresource_uri", "(", "id_or_uri", ",", "port_id_or_uri", ",", "\"ports\"", ")", "return", "self", ".", "_client", ".", "get",...
Gets an interconnect port. Args: id_or_uri: Can be either the interconnect id or uri. port_id_or_uri: The interconnect port id or uri. Returns: dict: The interconnect port.
[ "Gets", "an", "interconnect", "port", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/interconnects.py#L260-L272
18,701
HewlettPackard/python-hpOneView
hpOneView/resources/networking/interconnects.py
Interconnects.get_pluggable_module_information
def get_pluggable_module_information(self, id_or_uri): """ Gets all the pluggable module information. Args: id_or_uri: Can be either the interconnect id or uri. Returns: array: dicts of the pluggable module information. """ uri = self._client.bui...
python
def get_pluggable_module_information(self, id_or_uri): """ Gets all the pluggable module information. Args: id_or_uri: Can be either the interconnect id or uri. Returns: array: dicts of the pluggable module information. """ uri = self._client.bui...
[ "def", "get_pluggable_module_information", "(", "self", ",", "id_or_uri", ")", ":", "uri", "=", "self", ".", "_client", ".", "build_uri", "(", "id_or_uri", ")", "+", "\"/pluggableModuleInformation\"", "return", "self", ".", "_client", ".", "get", "(", "uri", "...
Gets all the pluggable module information. Args: id_or_uri: Can be either the interconnect id or uri. Returns: array: dicts of the pluggable module information.
[ "Gets", "all", "the", "pluggable", "module", "information", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/interconnects.py#L274-L285
18,702
HewlettPackard/python-hpOneView
hpOneView/resources/networking/interconnects.py
Interconnects.update_configuration
def update_configuration(self, id_or_uri, timeout=-1): """ Reapplies the appliance's configuration on the interconnect. This includes running the same configure steps that were performed as part of the interconnect add by the enclosure. Args: id_or_uri: Can be either the res...
python
def update_configuration(self, id_or_uri, timeout=-1): """ Reapplies the appliance's configuration on the interconnect. This includes running the same configure steps that were performed as part of the interconnect add by the enclosure. Args: id_or_uri: Can be either the res...
[ "def", "update_configuration", "(", "self", ",", "id_or_uri", ",", "timeout", "=", "-", "1", ")", ":", "uri", "=", "self", ".", "_client", ".", "build_uri", "(", "id_or_uri", ")", "+", "\"/configuration\"", "return", "self", ".", "_client", ".", "update_wi...
Reapplies the appliance's configuration on the interconnect. This includes running the same configure steps that were performed as part of the interconnect add by the enclosure. Args: id_or_uri: Can be either the resource ID or the resource URI. timeout: Timeout in seconds. Wait...
[ "Reapplies", "the", "appliance", "s", "configuration", "on", "the", "interconnect", ".", "This", "includes", "running", "the", "same", "configure", "steps", "that", "were", "performed", "as", "part", "of", "the", "interconnect", "add", "by", "the", "enclosure", ...
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/interconnects.py#L287-L301
18,703
HewlettPackard/python-hpOneView
hpOneView/resources/fc_sans/san_managers.py
SanManagers.update
def update(self, resource, id_or_uri): """ Updates a registered Device Manager. Args: resource (dict): Object to update. id_or_uri: Can be either the Device manager ID or URI. Returns: dict: The device manager resource. """ return sel...
python
def update(self, resource, id_or_uri): """ Updates a registered Device Manager. Args: resource (dict): Object to update. id_or_uri: Can be either the Device manager ID or URI. Returns: dict: The device manager resource. """ return sel...
[ "def", "update", "(", "self", ",", "resource", ",", "id_or_uri", ")", ":", "return", "self", ".", "_client", ".", "update", "(", "resource", "=", "resource", ",", "uri", "=", "id_or_uri", ")" ]
Updates a registered Device Manager. Args: resource (dict): Object to update. id_or_uri: Can be either the Device manager ID or URI. Returns: dict: The device manager resource.
[ "Updates", "a", "registered", "Device", "Manager", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/fc_sans/san_managers.py#L87-L98
18,704
HewlettPackard/python-hpOneView
hpOneView/resources/fc_sans/san_managers.py
SanManagers.add
def add(self, resource, provider_uri_or_id, timeout=-1): """ Adds a Device Manager under the specified provider. Args: resource (dict): Object to add. provider_uri_or_id: ID or URI of provider. timeout: Timeout in seconds. Wait for task comple...
python
def add(self, resource, provider_uri_or_id, timeout=-1): """ Adds a Device Manager under the specified provider. Args: resource (dict): Object to add. provider_uri_or_id: ID or URI of provider. timeout: Timeout in seconds. Wait for task comple...
[ "def", "add", "(", "self", ",", "resource", ",", "provider_uri_or_id", ",", "timeout", "=", "-", "1", ")", ":", "uri", "=", "self", ".", "_provider_client", ".", "build_uri", "(", "provider_uri_or_id", ")", "+", "\"/device-managers\"", "return", "self", ".",...
Adds a Device Manager under the specified provider. Args: resource (dict): Object to add. provider_uri_or_id: ID or URI of provider. timeout: Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation in ...
[ "Adds", "a", "Device", "Manager", "under", "the", "specified", "provider", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/fc_sans/san_managers.py#L100-L115
18,705
HewlettPackard/python-hpOneView
hpOneView/resources/fc_sans/san_managers.py
SanManagers.get_provider_uri
def get_provider_uri(self, provider_display_name): """ Gets uri for a specific provider. Args: provider_display_name: Display name of the provider. Returns: uri """ providers = self._provider_client.get_by('displayName', provider_display_name) ...
python
def get_provider_uri(self, provider_display_name): """ Gets uri for a specific provider. Args: provider_display_name: Display name of the provider. Returns: uri """ providers = self._provider_client.get_by('displayName', provider_display_name) ...
[ "def", "get_provider_uri", "(", "self", ",", "provider_display_name", ")", ":", "providers", "=", "self", ".", "_provider_client", ".", "get_by", "(", "'displayName'", ",", "provider_display_name", ")", "return", "providers", "[", "0", "]", "[", "'uri'", "]", ...
Gets uri for a specific provider. Args: provider_display_name: Display name of the provider. Returns: uri
[ "Gets", "uri", "for", "a", "specific", "provider", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/fc_sans/san_managers.py#L117-L128
18,706
HewlettPackard/python-hpOneView
hpOneView/resources/fc_sans/san_managers.py
SanManagers.get_default_connection_info
def get_default_connection_info(self, provider_name): """ Gets default connection info for a specific provider. Args: provider_name: Name of the provider. Returns: dict: Default connection information. """ provider = self._provider_client.get_by_...
python
def get_default_connection_info(self, provider_name): """ Gets default connection info for a specific provider. Args: provider_name: Name of the provider. Returns: dict: Default connection information. """ provider = self._provider_client.get_by_...
[ "def", "get_default_connection_info", "(", "self", ",", "provider_name", ")", ":", "provider", "=", "self", ".", "_provider_client", ".", "get_by_name", "(", "provider_name", ")", "if", "provider", ":", "return", "provider", "[", "'defaultConnectionInfo'", "]", "e...
Gets default connection info for a specific provider. Args: provider_name: Name of the provider. Returns: dict: Default connection information.
[ "Gets", "default", "connection", "info", "for", "a", "specific", "provider", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/fc_sans/san_managers.py#L130-L144
18,707
HewlettPackard/python-hpOneView
hpOneView/resources/fc_sans/san_managers.py
SanManagers.get_by_name
def get_by_name(self, name): """ Gets a SAN Manager by name. Args: name: Name of the SAN Manager Returns: dict: SAN Manager. """ san_managers = self._client.get_all() result = [x for x in san_managers if x['name'] == name] return ...
python
def get_by_name(self, name): """ Gets a SAN Manager by name. Args: name: Name of the SAN Manager Returns: dict: SAN Manager. """ san_managers = self._client.get_all() result = [x for x in san_managers if x['name'] == name] return ...
[ "def", "get_by_name", "(", "self", ",", "name", ")", ":", "san_managers", "=", "self", ".", "_client", ".", "get_all", "(", ")", "result", "=", "[", "x", "for", "x", "in", "san_managers", "if", "x", "[", "'name'", "]", "==", "name", "]", "return", ...
Gets a SAN Manager by name. Args: name: Name of the SAN Manager Returns: dict: SAN Manager.
[ "Gets", "a", "SAN", "Manager", "by", "name", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/fc_sans/san_managers.py#L161-L173
18,708
HewlettPackard/python-hpOneView
hpOneView/resources/fc_sans/san_managers.py
SanManagers.get_by_provider_display_name
def get_by_provider_display_name(self, provider_display_name): """ Gets a SAN Manager by provider display name. Args: provider_display_name: Name of the Provider Display Name Returns: dict: SAN Manager. """ san_managers = self._client.get_all() ...
python
def get_by_provider_display_name(self, provider_display_name): """ Gets a SAN Manager by provider display name. Args: provider_display_name: Name of the Provider Display Name Returns: dict: SAN Manager. """ san_managers = self._client.get_all() ...
[ "def", "get_by_provider_display_name", "(", "self", ",", "provider_display_name", ")", ":", "san_managers", "=", "self", ".", "_client", ".", "get_all", "(", ")", "result", "=", "[", "x", "for", "x", "in", "san_managers", "if", "x", "[", "'providerDisplayName'...
Gets a SAN Manager by provider display name. Args: provider_display_name: Name of the Provider Display Name Returns: dict: SAN Manager.
[ "Gets", "a", "SAN", "Manager", "by", "provider", "display", "name", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/fc_sans/san_managers.py#L175-L187
18,709
HewlettPackard/python-hpOneView
hpOneView/resources/data_services/metric_streaming.py
MetricStreaming.update_configuration
def update_configuration(self, configuration): """ Updates the metrics configuration with the new values. Overwrites the existing configuration. Args: configuration (dict): Dictionary with a list of objects which contain frequency, sample interval, and source type fo...
python
def update_configuration(self, configuration): """ Updates the metrics configuration with the new values. Overwrites the existing configuration. Args: configuration (dict): Dictionary with a list of objects which contain frequency, sample interval, and source type fo...
[ "def", "update_configuration", "(", "self", ",", "configuration", ")", ":", "return", "self", ".", "_client", ".", "update", "(", "configuration", ",", "uri", "=", "self", ".", "URI", "+", "\"/configuration\"", ")" ]
Updates the metrics configuration with the new values. Overwrites the existing configuration. Args: configuration (dict): Dictionary with a list of objects which contain frequency, sample interval, and source type for each resource-type. Returns: ...
[ "Updates", "the", "metrics", "configuration", "with", "the", "new", "values", ".", "Overwrites", "the", "existing", "configuration", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/data_services/metric_streaming.py#L99-L112
18,710
HewlettPackard/python-hpOneView
hpOneView/resources/settings/appliance_device_snmp_v3_users.py
ApplianceDeviceSNMPv3Users.delete_all
def delete_all(self, filter=None, timeout=-1): """ Delete an SNMPv3 User based on User name specified in filter. The user will be deleted only if it has no associated destinations. Args: username: ID or URI of SNMPv3 user. filter: A general filter/query string to narrow ...
python
def delete_all(self, filter=None, timeout=-1): """ Delete an SNMPv3 User based on User name specified in filter. The user will be deleted only if it has no associated destinations. Args: username: ID or URI of SNMPv3 user. filter: A general filter/query string to narrow ...
[ "def", "delete_all", "(", "self", ",", "filter", "=", "None", ",", "timeout", "=", "-", "1", ")", ":", "return", "self", ".", "_client", ".", "delete_all", "(", "filter", "=", "filter", ",", "timeout", "=", "timeout", ")" ]
Delete an SNMPv3 User based on User name specified in filter. The user will be deleted only if it has no associated destinations. Args: username: ID or URI of SNMPv3 user. filter: A general filter/query string to narrow the list of items returned. The default is no f...
[ "Delete", "an", "SNMPv3", "User", "based", "on", "User", "name", "specified", "in", "filter", ".", "The", "user", "will", "be", "deleted", "only", "if", "it", "has", "no", "associated", "destinations", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/settings/appliance_device_snmp_v3_users.py#L122-L134
18,711
HewlettPackard/python-hpOneView
hpOneView/resources/networking/switches.py
Switches.update_ports
def update_ports(self, ports, id_or_uri): """ Updates the switch ports. Only the ports under the management of OneView and those that are unlinked are supported for update. Note: This method is available for API version 300 or later. Args: ports: List of...
python
def update_ports(self, ports, id_or_uri): """ Updates the switch ports. Only the ports under the management of OneView and those that are unlinked are supported for update. Note: This method is available for API version 300 or later. Args: ports: List of...
[ "def", "update_ports", "(", "self", ",", "ports", ",", "id_or_uri", ")", ":", "ports", "=", "merge_default_values", "(", "ports", ",", "{", "'type'", ":", "'port'", "}", ")", "uri", "=", "self", ".", "_client", ".", "build_uri", "(", "id_or_uri", ")", ...
Updates the switch ports. Only the ports under the management of OneView and those that are unlinked are supported for update. Note: This method is available for API version 300 or later. Args: ports: List of Switch Ports. id_or_uri: Can be either the switch...
[ "Updates", "the", "switch", "ports", ".", "Only", "the", "ports", "under", "the", "management", "of", "OneView", "and", "those", "that", "are", "unlinked", "are", "supported", "for", "update", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/switches.py#L152-L170
18,712
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.from_json_file
def from_json_file(cls, file_name): """ Construct OneViewClient using a json file. Args: file_name: json full path. Returns: OneViewClient: """ with open(file_name) as json_data: config = json.load(json_data) return cls(confi...
python
def from_json_file(cls, file_name): """ Construct OneViewClient using a json file. Args: file_name: json full path. Returns: OneViewClient: """ with open(file_name) as json_data: config = json.load(json_data) return cls(confi...
[ "def", "from_json_file", "(", "cls", ",", "file_name", ")", ":", "with", "open", "(", "file_name", ")", "as", "json_data", ":", "config", "=", "json", ".", "load", "(", "json_data", ")", "return", "cls", "(", "config", ")" ]
Construct OneViewClient using a json file. Args: file_name: json full path. Returns: OneViewClient:
[ "Construct", "OneViewClient", "using", "a", "json", "file", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L209-L222
18,713
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.from_environment_variables
def from_environment_variables(cls): """ Construct OneViewClient using environment variables. Allowed variables: ONEVIEWSDK_IP (required), ONEVIEWSDK_USERNAME (required), ONEVIEWSDK_PASSWORD (required), ONEVIEWSDK_AUTH_LOGIN_DOMAIN, ONEVIEWSDK_API_VERSION, ONEVIEWSDK_IMAGE_STREAMER_IP, ...
python
def from_environment_variables(cls): """ Construct OneViewClient using environment variables. Allowed variables: ONEVIEWSDK_IP (required), ONEVIEWSDK_USERNAME (required), ONEVIEWSDK_PASSWORD (required), ONEVIEWSDK_AUTH_LOGIN_DOMAIN, ONEVIEWSDK_API_VERSION, ONEVIEWSDK_IMAGE_STREAMER_IP, ...
[ "def", "from_environment_variables", "(", "cls", ")", ":", "ip", "=", "os", ".", "environ", ".", "get", "(", "'ONEVIEWSDK_IP'", ",", "''", ")", "image_streamer_ip", "=", "os", ".", "environ", ".", "get", "(", "'ONEVIEWSDK_IMAGE_STREAMER_IP'", ",", "''", ")",...
Construct OneViewClient using environment variables. Allowed variables: ONEVIEWSDK_IP (required), ONEVIEWSDK_USERNAME (required), ONEVIEWSDK_PASSWORD (required), ONEVIEWSDK_AUTH_LOGIN_DOMAIN, ONEVIEWSDK_API_VERSION, ONEVIEWSDK_IMAGE_STREAMER_IP, ONEVIEWSDK_SESSIONID, ONEVIEWSDK_SSL_CERTIFICATE, ...
[ "Construct", "OneViewClient", "using", "environment", "variables", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L225-L254
18,714
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.create_image_streamer_client
def create_image_streamer_client(self): """ Create the Image Streamer API Client. Returns: ImageStreamerClient: """ image_streamer = ImageStreamerClient(self.__image_streamer_ip, self.__connection.get_session_id(), ...
python
def create_image_streamer_client(self): """ Create the Image Streamer API Client. Returns: ImageStreamerClient: """ image_streamer = ImageStreamerClient(self.__image_streamer_ip, self.__connection.get_session_id(), ...
[ "def", "create_image_streamer_client", "(", "self", ")", ":", "image_streamer", "=", "ImageStreamerClient", "(", "self", ".", "__image_streamer_ip", ",", "self", ".", "__connection", ".", "get_session_id", "(", ")", ",", "self", ".", "__connection", ".", "_apiVers...
Create the Image Streamer API Client. Returns: ImageStreamerClient:
[ "Create", "the", "Image", "Streamer", "API", "Client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L292-L304
18,715
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.certificate_authority
def certificate_authority(self): """ Gets the Certificate Authority API client. Returns: CertificateAuthority: """ if not self.__certificate_authority: self.__certificate_authority = CertificateAuthority(self.__connection) return self.__certificat...
python
def certificate_authority(self): """ Gets the Certificate Authority API client. Returns: CertificateAuthority: """ if not self.__certificate_authority: self.__certificate_authority = CertificateAuthority(self.__connection) return self.__certificat...
[ "def", "certificate_authority", "(", "self", ")", ":", "if", "not", "self", ".", "__certificate_authority", ":", "self", ".", "__certificate_authority", "=", "CertificateAuthority", "(", "self", ".", "__connection", ")", "return", "self", ".", "__certificate_authori...
Gets the Certificate Authority API client. Returns: CertificateAuthority:
[ "Gets", "the", "Certificate", "Authority", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L307-L316
18,716
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.connections
def connections(self): """ Gets the Connections API client. Returns: Connections: """ if not self.__connections: self.__connections = Connections( self.__connection) return self.__connections
python
def connections(self): """ Gets the Connections API client. Returns: Connections: """ if not self.__connections: self.__connections = Connections( self.__connection) return self.__connections
[ "def", "connections", "(", "self", ")", ":", "if", "not", "self", ".", "__connections", ":", "self", ".", "__connections", "=", "Connections", "(", "self", ".", "__connection", ")", "return", "self", ".", "__connections" ]
Gets the Connections API client. Returns: Connections:
[ "Gets", "the", "Connections", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L319-L329
18,717
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.fcoe_networks
def fcoe_networks(self): """ Gets the FcoeNetworks API client. Returns: FcoeNetworks: """ if not self.__fcoe_networks: self.__fcoe_networks = FcoeNetworks(self.__connection) return self.__fcoe_networks
python
def fcoe_networks(self): """ Gets the FcoeNetworks API client. Returns: FcoeNetworks: """ if not self.__fcoe_networks: self.__fcoe_networks = FcoeNetworks(self.__connection) return self.__fcoe_networks
[ "def", "fcoe_networks", "(", "self", ")", ":", "if", "not", "self", ".", "__fcoe_networks", ":", "self", ".", "__fcoe_networks", "=", "FcoeNetworks", "(", "self", ".", "__connection", ")", "return", "self", ".", "__fcoe_networks" ]
Gets the FcoeNetworks API client. Returns: FcoeNetworks:
[ "Gets", "the", "FcoeNetworks", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L352-L361
18,718
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.fabrics
def fabrics(self): """ Gets the Fabrics API client. Returns: Fabrics: """ if not self.__fabrics: self.__fabrics = Fabrics(self.__connection) return self.__fabrics
python
def fabrics(self): """ Gets the Fabrics API client. Returns: Fabrics: """ if not self.__fabrics: self.__fabrics = Fabrics(self.__connection) return self.__fabrics
[ "def", "fabrics", "(", "self", ")", ":", "if", "not", "self", ".", "__fabrics", ":", "self", ".", "__fabrics", "=", "Fabrics", "(", "self", ".", "__connection", ")", "return", "self", ".", "__fabrics" ]
Gets the Fabrics API client. Returns: Fabrics:
[ "Gets", "the", "Fabrics", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L374-L383
18,719
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.restores
def restores(self): """ Gets the Restores API client. Returns: Restores: """ if not self.__restores: self.__restores = Restores(self.__connection) return self.__restores
python
def restores(self): """ Gets the Restores API client. Returns: Restores: """ if not self.__restores: self.__restores = Restores(self.__connection) return self.__restores
[ "def", "restores", "(", "self", ")", ":", "if", "not", "self", ".", "__restores", ":", "self", ".", "__restores", "=", "Restores", "(", "self", ".", "__connection", ")", "return", "self", ".", "__restores" ]
Gets the Restores API client. Returns: Restores:
[ "Gets", "the", "Restores", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L386-L395
18,720
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.scopes
def scopes(self): """ Gets the Scopes API client. Returns: Scopes: """ if not self.__scopes: self.__scopes = Scopes(self.__connection) return self.__scopes
python
def scopes(self): """ Gets the Scopes API client. Returns: Scopes: """ if not self.__scopes: self.__scopes = Scopes(self.__connection) return self.__scopes
[ "def", "scopes", "(", "self", ")", ":", "if", "not", "self", ".", "__scopes", ":", "self", ".", "__scopes", "=", "Scopes", "(", "self", ".", "__connection", ")", "return", "self", ".", "__scopes" ]
Gets the Scopes API client. Returns: Scopes:
[ "Gets", "the", "Scopes", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L398-L407
18,721
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.datacenters
def datacenters(self): """ Gets the Datacenters API client. Returns: Datacenters: """ if not self.__datacenters: self.__datacenters = Datacenters(self.__connection) return self.__datacenters
python
def datacenters(self): """ Gets the Datacenters API client. Returns: Datacenters: """ if not self.__datacenters: self.__datacenters = Datacenters(self.__connection) return self.__datacenters
[ "def", "datacenters", "(", "self", ")", ":", "if", "not", "self", ".", "__datacenters", ":", "self", ".", "__datacenters", "=", "Datacenters", "(", "self", ".", "__connection", ")", "return", "self", ".", "__datacenters" ]
Gets the Datacenters API client. Returns: Datacenters:
[ "Gets", "the", "Datacenters", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L410-L419
18,722
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.network_sets
def network_sets(self): """ Gets the NetworkSets API client. Returns: NetworkSets: """ if not self.__network_sets: self.__network_sets = NetworkSets(self.__connection) return self.__network_sets
python
def network_sets(self): """ Gets the NetworkSets API client. Returns: NetworkSets: """ if not self.__network_sets: self.__network_sets = NetworkSets(self.__connection) return self.__network_sets
[ "def", "network_sets", "(", "self", ")", ":", "if", "not", "self", ".", "__network_sets", ":", "self", ".", "__network_sets", "=", "NetworkSets", "(", "self", ".", "__connection", ")", "return", "self", ".", "__network_sets" ]
Gets the NetworkSets API client. Returns: NetworkSets:
[ "Gets", "the", "NetworkSets", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L422-L431
18,723
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.server_hardware
def server_hardware(self): """ Gets the ServerHardware API client. Returns: ServerHardware: """ if not self.__server_hardware: self.__server_hardware = ServerHardware(self.__connection) return self.__server_hardware
python
def server_hardware(self): """ Gets the ServerHardware API client. Returns: ServerHardware: """ if not self.__server_hardware: self.__server_hardware = ServerHardware(self.__connection) return self.__server_hardware
[ "def", "server_hardware", "(", "self", ")", ":", "if", "not", "self", ".", "__server_hardware", ":", "self", ".", "__server_hardware", "=", "ServerHardware", "(", "self", ".", "__connection", ")", "return", "self", ".", "__server_hardware" ]
Gets the ServerHardware API client. Returns: ServerHardware:
[ "Gets", "the", "ServerHardware", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L434-L443
18,724
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.server_hardware_types
def server_hardware_types(self): """ Gets the ServerHardwareTypes API client. Returns: ServerHardwareTypes: """ if not self.__server_hardware_types: self.__server_hardware_types = ServerHardwareTypes( self.__connection) return self...
python
def server_hardware_types(self): """ Gets the ServerHardwareTypes API client. Returns: ServerHardwareTypes: """ if not self.__server_hardware_types: self.__server_hardware_types = ServerHardwareTypes( self.__connection) return self...
[ "def", "server_hardware_types", "(", "self", ")", ":", "if", "not", "self", ".", "__server_hardware_types", ":", "self", ".", "__server_hardware_types", "=", "ServerHardwareTypes", "(", "self", ".", "__connection", ")", "return", "self", ".", "__server_hardware_type...
Gets the ServerHardwareTypes API client. Returns: ServerHardwareTypes:
[ "Gets", "the", "ServerHardwareTypes", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L446-L456
18,725
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.id_pools_vsn_ranges
def id_pools_vsn_ranges(self): """ Gets the IdPoolsRanges API Client for VSN Ranges. Returns: IdPoolsRanges: """ if not self.__id_pools_vsn_ranges: self.__id_pools_vsn_ranges = IdPoolsRanges('vsn', self.__connection) return self.__id_pools_vsn_ran...
python
def id_pools_vsn_ranges(self): """ Gets the IdPoolsRanges API Client for VSN Ranges. Returns: IdPoolsRanges: """ if not self.__id_pools_vsn_ranges: self.__id_pools_vsn_ranges = IdPoolsRanges('vsn', self.__connection) return self.__id_pools_vsn_ran...
[ "def", "id_pools_vsn_ranges", "(", "self", ")", ":", "if", "not", "self", ".", "__id_pools_vsn_ranges", ":", "self", ".", "__id_pools_vsn_ranges", "=", "IdPoolsRanges", "(", "'vsn'", ",", "self", ".", "__connection", ")", "return", "self", ".", "__id_pools_vsn_r...
Gets the IdPoolsRanges API Client for VSN Ranges. Returns: IdPoolsRanges:
[ "Gets", "the", "IdPoolsRanges", "API", "Client", "for", "VSN", "Ranges", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L459-L468
18,726
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.id_pools_vmac_ranges
def id_pools_vmac_ranges(self): """ Gets the IdPoolsRanges API Client for VMAC Ranges. Returns: IdPoolsRanges: """ if not self.__id_pools_vmac_ranges: self.__id_pools_vmac_ranges = IdPoolsRanges('vmac', self.__connection) return self.__id_pools_vm...
python
def id_pools_vmac_ranges(self): """ Gets the IdPoolsRanges API Client for VMAC Ranges. Returns: IdPoolsRanges: """ if not self.__id_pools_vmac_ranges: self.__id_pools_vmac_ranges = IdPoolsRanges('vmac', self.__connection) return self.__id_pools_vm...
[ "def", "id_pools_vmac_ranges", "(", "self", ")", ":", "if", "not", "self", ".", "__id_pools_vmac_ranges", ":", "self", ".", "__id_pools_vmac_ranges", "=", "IdPoolsRanges", "(", "'vmac'", ",", "self", ".", "__connection", ")", "return", "self", ".", "__id_pools_v...
Gets the IdPoolsRanges API Client for VMAC Ranges. Returns: IdPoolsRanges:
[ "Gets", "the", "IdPoolsRanges", "API", "Client", "for", "VMAC", "Ranges", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L471-L480
18,727
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.id_pools_vwwn_ranges
def id_pools_vwwn_ranges(self): """ Gets the IdPoolsRanges API Client for VWWN Ranges. Returns: IdPoolsRanges: """ if not self.__id_pools_vwwn_ranges: self.__id_pools_vwwn_ranges = IdPoolsRanges('vwwn', self.__connection) return self.__id_pools_vw...
python
def id_pools_vwwn_ranges(self): """ Gets the IdPoolsRanges API Client for VWWN Ranges. Returns: IdPoolsRanges: """ if not self.__id_pools_vwwn_ranges: self.__id_pools_vwwn_ranges = IdPoolsRanges('vwwn', self.__connection) return self.__id_pools_vw...
[ "def", "id_pools_vwwn_ranges", "(", "self", ")", ":", "if", "not", "self", ".", "__id_pools_vwwn_ranges", ":", "self", ".", "__id_pools_vwwn_ranges", "=", "IdPoolsRanges", "(", "'vwwn'", ",", "self", ".", "__connection", ")", "return", "self", ".", "__id_pools_v...
Gets the IdPoolsRanges API Client for VWWN Ranges. Returns: IdPoolsRanges:
[ "Gets", "the", "IdPoolsRanges", "API", "Client", "for", "VWWN", "Ranges", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L483-L492
18,728
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.id_pools_ipv4_ranges
def id_pools_ipv4_ranges(self): """ Gets the IdPoolsIpv4Ranges API client. Returns: IdPoolsIpv4Ranges: """ if not self.__id_pools_ipv4_ranges: self.__id_pools_ipv4_ranges = IdPoolsIpv4Ranges(self.__connection) return self.__id_pools_ipv4_ranges
python
def id_pools_ipv4_ranges(self): """ Gets the IdPoolsIpv4Ranges API client. Returns: IdPoolsIpv4Ranges: """ if not self.__id_pools_ipv4_ranges: self.__id_pools_ipv4_ranges = IdPoolsIpv4Ranges(self.__connection) return self.__id_pools_ipv4_ranges
[ "def", "id_pools_ipv4_ranges", "(", "self", ")", ":", "if", "not", "self", ".", "__id_pools_ipv4_ranges", ":", "self", ".", "__id_pools_ipv4_ranges", "=", "IdPoolsIpv4Ranges", "(", "self", ".", "__connection", ")", "return", "self", ".", "__id_pools_ipv4_ranges" ]
Gets the IdPoolsIpv4Ranges API client. Returns: IdPoolsIpv4Ranges:
[ "Gets", "the", "IdPoolsIpv4Ranges", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L495-L504
18,729
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.id_pools_ipv4_subnets
def id_pools_ipv4_subnets(self): """ Gets the IdPoolsIpv4Subnets API client. Returns: IdPoolsIpv4Subnets: """ if not self.__id_pools_ipv4_subnets: self.__id_pools_ipv4_subnets = IdPoolsIpv4Subnets(self.__connection) return self.__id_pools_ipv4_sub...
python
def id_pools_ipv4_subnets(self): """ Gets the IdPoolsIpv4Subnets API client. Returns: IdPoolsIpv4Subnets: """ if not self.__id_pools_ipv4_subnets: self.__id_pools_ipv4_subnets = IdPoolsIpv4Subnets(self.__connection) return self.__id_pools_ipv4_sub...
[ "def", "id_pools_ipv4_subnets", "(", "self", ")", ":", "if", "not", "self", ".", "__id_pools_ipv4_subnets", ":", "self", ".", "__id_pools_ipv4_subnets", "=", "IdPoolsIpv4Subnets", "(", "self", ".", "__connection", ")", "return", "self", ".", "__id_pools_ipv4_subnets...
Gets the IdPoolsIpv4Subnets API client. Returns: IdPoolsIpv4Subnets:
[ "Gets", "the", "IdPoolsIpv4Subnets", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L507-L516
18,730
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.id_pools
def id_pools(self): """ Gets the IdPools API client. Returns: IdPools: """ if not self.__id_pools: self.__id_pools = IdPools(self.__connection) return self.__id_pools
python
def id_pools(self): """ Gets the IdPools API client. Returns: IdPools: """ if not self.__id_pools: self.__id_pools = IdPools(self.__connection) return self.__id_pools
[ "def", "id_pools", "(", "self", ")", ":", "if", "not", "self", ".", "__id_pools", ":", "self", ".", "__id_pools", "=", "IdPools", "(", "self", ".", "__connection", ")", "return", "self", ".", "__id_pools" ]
Gets the IdPools API client. Returns: IdPools:
[ "Gets", "the", "IdPools", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L519-L528
18,731
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.switches
def switches(self): """ Gets the Switches API client. Returns: Switches: """ if not self.__switches: self.__switches = Switches(self.__connection) return self.__switches
python
def switches(self): """ Gets the Switches API client. Returns: Switches: """ if not self.__switches: self.__switches = Switches(self.__connection) return self.__switches
[ "def", "switches", "(", "self", ")", ":", "if", "not", "self", ".", "__switches", ":", "self", ".", "__switches", "=", "Switches", "(", "self", ".", "__connection", ")", "return", "self", ".", "__switches" ]
Gets the Switches API client. Returns: Switches:
[ "Gets", "the", "Switches", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L531-L540
18,732
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.roles
def roles(self): """ Gets the Roles API client. Returns: Roles: """ if not self.__roles: self.__roles = Roles(self.__connection) return self.__roles
python
def roles(self): """ Gets the Roles API client. Returns: Roles: """ if not self.__roles: self.__roles = Roles(self.__connection) return self.__roles
[ "def", "roles", "(", "self", ")", ":", "if", "not", "self", ".", "__roles", ":", "self", ".", "__roles", "=", "Roles", "(", "self", ".", "__connection", ")", "return", "self", ".", "__roles" ]
Gets the Roles API client. Returns: Roles:
[ "Gets", "the", "Roles", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L543-L552
18,733
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.switch_types
def switch_types(self): """ Gets the SwitchTypes API client. Returns: SwitchTypes: """ if not self.__switch_types: self.__switch_types = SwitchTypes(self.__connection) return self.__switch_types
python
def switch_types(self): """ Gets the SwitchTypes API client. Returns: SwitchTypes: """ if not self.__switch_types: self.__switch_types = SwitchTypes(self.__connection) return self.__switch_types
[ "def", "switch_types", "(", "self", ")", ":", "if", "not", "self", ".", "__switch_types", ":", "self", ".", "__switch_types", "=", "SwitchTypes", "(", "self", ".", "__connection", ")", "return", "self", ".", "__switch_types" ]
Gets the SwitchTypes API client. Returns: SwitchTypes:
[ "Gets", "the", "SwitchTypes", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L555-L564
18,734
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.logical_switches
def logical_switches(self): """ Gets the LogicalSwitches API client. Returns: LogicalSwitches: """ if not self.__logical_switches: self.__logical_switches = LogicalSwitches(self.__connection) return self.__logical_switches
python
def logical_switches(self): """ Gets the LogicalSwitches API client. Returns: LogicalSwitches: """ if not self.__logical_switches: self.__logical_switches = LogicalSwitches(self.__connection) return self.__logical_switches
[ "def", "logical_switches", "(", "self", ")", ":", "if", "not", "self", ".", "__logical_switches", ":", "self", ".", "__logical_switches", "=", "LogicalSwitches", "(", "self", ".", "__connection", ")", "return", "self", ".", "__logical_switches" ]
Gets the LogicalSwitches API client. Returns: LogicalSwitches:
[ "Gets", "the", "LogicalSwitches", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L577-L586
18,735
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.tasks
def tasks(self): """ Gets the Tasks API client. Returns: Tasks: """ if not self.__tasks: self.__tasks = Tasks(self.__connection) return self.__tasks
python
def tasks(self): """ Gets the Tasks API client. Returns: Tasks: """ if not self.__tasks: self.__tasks = Tasks(self.__connection) return self.__tasks
[ "def", "tasks", "(", "self", ")", ":", "if", "not", "self", ".", "__tasks", ":", "self", ".", "__tasks", "=", "Tasks", "(", "self", ".", "__connection", ")", "return", "self", ".", "__tasks" ]
Gets the Tasks API client. Returns: Tasks:
[ "Gets", "the", "Tasks", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L589-L598
18,736
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.enclosure_groups
def enclosure_groups(self): """ Gets the EnclosureGroups API client. Returns: EnclosureGroups: """ if not self.__enclosure_groups: self.__enclosure_groups = EnclosureGroups(self.__connection) return self.__enclosure_groups
python
def enclosure_groups(self): """ Gets the EnclosureGroups API client. Returns: EnclosureGroups: """ if not self.__enclosure_groups: self.__enclosure_groups = EnclosureGroups(self.__connection) return self.__enclosure_groups
[ "def", "enclosure_groups", "(", "self", ")", ":", "if", "not", "self", ".", "__enclosure_groups", ":", "self", ".", "__enclosure_groups", "=", "EnclosureGroups", "(", "self", ".", "__connection", ")", "return", "self", ".", "__enclosure_groups" ]
Gets the EnclosureGroups API client. Returns: EnclosureGroups:
[ "Gets", "the", "EnclosureGroups", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L601-L610
18,737
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.logical_enclosures
def logical_enclosures(self): """ Gets the LogicalEnclosures API client. Returns: LogicalEnclosures: """ if not self.__logical_enclosures: self.__logical_enclosures = LogicalEnclosures(self.__connection) return self.__logical_enclosures
python
def logical_enclosures(self): """ Gets the LogicalEnclosures API client. Returns: LogicalEnclosures: """ if not self.__logical_enclosures: self.__logical_enclosures = LogicalEnclosures(self.__connection) return self.__logical_enclosures
[ "def", "logical_enclosures", "(", "self", ")", ":", "if", "not", "self", ".", "__logical_enclosures", ":", "self", ".", "__logical_enclosures", "=", "LogicalEnclosures", "(", "self", ".", "__connection", ")", "return", "self", ".", "__logical_enclosures" ]
Gets the LogicalEnclosures API client. Returns: LogicalEnclosures:
[ "Gets", "the", "LogicalEnclosures", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L623-L632
18,738
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.metric_streaming
def metric_streaming(self): """ Gets the MetricStreaming API client. Returns: MetricStreaming: """ if not self.__metric_streaming: self.__metric_streaming = MetricStreaming(self.__connection) return self.__metric_streaming
python
def metric_streaming(self): """ Gets the MetricStreaming API client. Returns: MetricStreaming: """ if not self.__metric_streaming: self.__metric_streaming = MetricStreaming(self.__connection) return self.__metric_streaming
[ "def", "metric_streaming", "(", "self", ")", ":", "if", "not", "self", ".", "__metric_streaming", ":", "self", ".", "__metric_streaming", "=", "MetricStreaming", "(", "self", ".", "__connection", ")", "return", "self", ".", "__metric_streaming" ]
Gets the MetricStreaming API client. Returns: MetricStreaming:
[ "Gets", "the", "MetricStreaming", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L635-L644
18,739
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.interconnects
def interconnects(self): """ Gets the Interconnects API client. Returns: Interconnects: """ if not self.__interconnects: self.__interconnects = Interconnects(self.__connection) return self.__interconnects
python
def interconnects(self): """ Gets the Interconnects API client. Returns: Interconnects: """ if not self.__interconnects: self.__interconnects = Interconnects(self.__connection) return self.__interconnects
[ "def", "interconnects", "(", "self", ")", ":", "if", "not", "self", ".", "__interconnects", ":", "self", ".", "__interconnects", "=", "Interconnects", "(", "self", ".", "__connection", ")", "return", "self", ".", "__interconnects" ]
Gets the Interconnects API client. Returns: Interconnects:
[ "Gets", "the", "Interconnects", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L647-L656
18,740
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.interconnect_link_topologies
def interconnect_link_topologies(self): """ Gets the InterconnectLinkTopologies API client. Returns: InterconnectLinkTopologies: """ if not self.__interconnect_link_topologies: self.__interconnect_link_topologies = InterconnectLinkTopologies(self.__connec...
python
def interconnect_link_topologies(self): """ Gets the InterconnectLinkTopologies API client. Returns: InterconnectLinkTopologies: """ if not self.__interconnect_link_topologies: self.__interconnect_link_topologies = InterconnectLinkTopologies(self.__connec...
[ "def", "interconnect_link_topologies", "(", "self", ")", ":", "if", "not", "self", ".", "__interconnect_link_topologies", ":", "self", ".", "__interconnect_link_topologies", "=", "InterconnectLinkTopologies", "(", "self", ".", "__connection", ")", "return", "self", "....
Gets the InterconnectLinkTopologies API client. Returns: InterconnectLinkTopologies:
[ "Gets", "the", "InterconnectLinkTopologies", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L669-L678
18,741
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.sas_interconnect_types
def sas_interconnect_types(self): """ Gets the SasInterconnectTypes API client. Returns: SasInterconnectTypes: """ if not self.__sas_interconnect_types: self.__sas_interconnect_types = SasInterconnectTypes(self.__connection) return self.__sas_inte...
python
def sas_interconnect_types(self): """ Gets the SasInterconnectTypes API client. Returns: SasInterconnectTypes: """ if not self.__sas_interconnect_types: self.__sas_interconnect_types = SasInterconnectTypes(self.__connection) return self.__sas_inte...
[ "def", "sas_interconnect_types", "(", "self", ")", ":", "if", "not", "self", ".", "__sas_interconnect_types", ":", "self", ".", "__sas_interconnect_types", "=", "SasInterconnectTypes", "(", "self", ".", "__connection", ")", "return", "self", ".", "__sas_interconnect...
Gets the SasInterconnectTypes API client. Returns: SasInterconnectTypes:
[ "Gets", "the", "SasInterconnectTypes", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L681-L690
18,742
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.internal_link_sets
def internal_link_sets(self): """ Gets the InternalLinkSets API client. Returns: InternalLinkSets: """ if not self.__internal_link_sets: self.__internal_link_sets = InternalLinkSets(self.__connection) return self.__internal_link_sets
python
def internal_link_sets(self): """ Gets the InternalLinkSets API client. Returns: InternalLinkSets: """ if not self.__internal_link_sets: self.__internal_link_sets = InternalLinkSets(self.__connection) return self.__internal_link_sets
[ "def", "internal_link_sets", "(", "self", ")", ":", "if", "not", "self", ".", "__internal_link_sets", ":", "self", ".", "__internal_link_sets", "=", "InternalLinkSets", "(", "self", ".", "__connection", ")", "return", "self", ".", "__internal_link_sets" ]
Gets the InternalLinkSets API client. Returns: InternalLinkSets:
[ "Gets", "the", "InternalLinkSets", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L693-L702
18,743
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.logical_interconnect_groups
def logical_interconnect_groups(self): """ Gets the LogicalInterconnectGroups API client. Returns: LogicalInterconnectGroups: """ if not self.__logical_interconnect_groups: self.__logical_interconnect_groups = LogicalInterconnectGroups( se...
python
def logical_interconnect_groups(self): """ Gets the LogicalInterconnectGroups API client. Returns: LogicalInterconnectGroups: """ if not self.__logical_interconnect_groups: self.__logical_interconnect_groups = LogicalInterconnectGroups( se...
[ "def", "logical_interconnect_groups", "(", "self", ")", ":", "if", "not", "self", ".", "__logical_interconnect_groups", ":", "self", ".", "__logical_interconnect_groups", "=", "LogicalInterconnectGroups", "(", "self", ".", "__connection", ")", "return", "self", ".", ...
Gets the LogicalInterconnectGroups API client. Returns: LogicalInterconnectGroups:
[ "Gets", "the", "LogicalInterconnectGroups", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L705-L715
18,744
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.sas_logical_interconnects
def sas_logical_interconnects(self): """ Gets the SasLogicalInterconnects API client. Returns: SasLogicalInterconnects: """ if not self.__sas_logical_interconnects: self.__sas_logical_interconnects = SasLogicalInterconnects(self.__connection) retu...
python
def sas_logical_interconnects(self): """ Gets the SasLogicalInterconnects API client. Returns: SasLogicalInterconnects: """ if not self.__sas_logical_interconnects: self.__sas_logical_interconnects = SasLogicalInterconnects(self.__connection) retu...
[ "def", "sas_logical_interconnects", "(", "self", ")", ":", "if", "not", "self", ".", "__sas_logical_interconnects", ":", "self", ".", "__sas_logical_interconnects", "=", "SasLogicalInterconnects", "(", "self", ".", "__connection", ")", "return", "self", ".", "__sas_...
Gets the SasLogicalInterconnects API client. Returns: SasLogicalInterconnects:
[ "Gets", "the", "SasLogicalInterconnects", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L728-L737
18,745
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.logical_downlinks
def logical_downlinks(self): """ Gets the LogicalDownlinks API client. Returns: LogicalDownlinks: """ if not self.__logical_downlinks: self.__logical_downlinks = LogicalDownlinks( self.__connection) return self.__logical_downlinks
python
def logical_downlinks(self): """ Gets the LogicalDownlinks API client. Returns: LogicalDownlinks: """ if not self.__logical_downlinks: self.__logical_downlinks = LogicalDownlinks( self.__connection) return self.__logical_downlinks
[ "def", "logical_downlinks", "(", "self", ")", ":", "if", "not", "self", ".", "__logical_downlinks", ":", "self", ".", "__logical_downlinks", "=", "LogicalDownlinks", "(", "self", ".", "__connection", ")", "return", "self", ".", "__logical_downlinks" ]
Gets the LogicalDownlinks API client. Returns: LogicalDownlinks:
[ "Gets", "the", "LogicalDownlinks", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L740-L750
18,746
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.power_devices
def power_devices(self): """ Gets the PowerDevices API client. Returns: PowerDevices: """ if not self.__power_devices: self.__power_devices = PowerDevices(self.__connection) return self.__power_devices
python
def power_devices(self): """ Gets the PowerDevices API client. Returns: PowerDevices: """ if not self.__power_devices: self.__power_devices = PowerDevices(self.__connection) return self.__power_devices
[ "def", "power_devices", "(", "self", ")", ":", "if", "not", "self", ".", "__power_devices", ":", "self", ".", "__power_devices", "=", "PowerDevices", "(", "self", ".", "__connection", ")", "return", "self", ".", "__power_devices" ]
Gets the PowerDevices API client. Returns: PowerDevices:
[ "Gets", "the", "PowerDevices", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L753-L762
18,747
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.unmanaged_devices
def unmanaged_devices(self): """ Gets the Unmanaged Devices API client. Returns: UnmanagedDevices: """ if not self.__unmanaged_devices: self.__unmanaged_devices = UnmanagedDevices(self.__connection) return self.__unmanaged_devices
python
def unmanaged_devices(self): """ Gets the Unmanaged Devices API client. Returns: UnmanagedDevices: """ if not self.__unmanaged_devices: self.__unmanaged_devices = UnmanagedDevices(self.__connection) return self.__unmanaged_devices
[ "def", "unmanaged_devices", "(", "self", ")", ":", "if", "not", "self", ".", "__unmanaged_devices", ":", "self", ".", "__unmanaged_devices", "=", "UnmanagedDevices", "(", "self", ".", "__connection", ")", "return", "self", ".", "__unmanaged_devices" ]
Gets the Unmanaged Devices API client. Returns: UnmanagedDevices:
[ "Gets", "the", "Unmanaged", "Devices", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L765-L774
18,748
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.racks
def racks(self): """ Gets the Racks API client. Returns: Racks: """ if not self.__racks: self.__racks = Racks(self.__connection) return self.__racks
python
def racks(self): """ Gets the Racks API client. Returns: Racks: """ if not self.__racks: self.__racks = Racks(self.__connection) return self.__racks
[ "def", "racks", "(", "self", ")", ":", "if", "not", "self", ".", "__racks", ":", "self", ".", "__racks", "=", "Racks", "(", "self", ".", "__connection", ")", "return", "self", ".", "__racks" ]
Gets the Racks API client. Returns: Racks:
[ "Gets", "the", "Racks", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L777-L786
18,749
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.san_managers
def san_managers(self): """ Gets the SanManagers API client. Returns: SanManagers: """ if not self.__san_managers: self.__san_managers = SanManagers(self.__connection) return self.__san_managers
python
def san_managers(self): """ Gets the SanManagers API client. Returns: SanManagers: """ if not self.__san_managers: self.__san_managers = SanManagers(self.__connection) return self.__san_managers
[ "def", "san_managers", "(", "self", ")", ":", "if", "not", "self", ".", "__san_managers", ":", "self", ".", "__san_managers", "=", "SanManagers", "(", "self", ".", "__connection", ")", "return", "self", ".", "__san_managers" ]
Gets the SanManagers API client. Returns: SanManagers:
[ "Gets", "the", "SanManagers", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L789-L798
18,750
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.endpoints
def endpoints(self): """ Gets the Endpoints API client. Returns: Endpoints: """ if not self.__endpoints: self.__endpoints = Endpoints(self.__connection) return self.__endpoints
python
def endpoints(self): """ Gets the Endpoints API client. Returns: Endpoints: """ if not self.__endpoints: self.__endpoints = Endpoints(self.__connection) return self.__endpoints
[ "def", "endpoints", "(", "self", ")", ":", "if", "not", "self", ".", "__endpoints", ":", "self", ".", "__endpoints", "=", "Endpoints", "(", "self", ".", "__connection", ")", "return", "self", ".", "__endpoints" ]
Gets the Endpoints API client. Returns: Endpoints:
[ "Gets", "the", "Endpoints", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L801-L810
18,751
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.storage_systems
def storage_systems(self): """ Gets the StorageSystems API client. Returns: StorageSystems: """ if not self.__storage_systems: self.__storage_systems = StorageSystems(self.__connection) return self.__storage_systems
python
def storage_systems(self): """ Gets the StorageSystems API client. Returns: StorageSystems: """ if not self.__storage_systems: self.__storage_systems = StorageSystems(self.__connection) return self.__storage_systems
[ "def", "storage_systems", "(", "self", ")", ":", "if", "not", "self", ".", "__storage_systems", ":", "self", ".", "__storage_systems", "=", "StorageSystems", "(", "self", ".", "__connection", ")", "return", "self", ".", "__storage_systems" ]
Gets the StorageSystems API client. Returns: StorageSystems:
[ "Gets", "the", "StorageSystems", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L833-L842
18,752
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.storage_pools
def storage_pools(self): """ Gets the StoragePools API client. Returns: StoragePools: """ if not self.__storage_pools: self.__storage_pools = StoragePools(self.__connection) return self.__storage_pools
python
def storage_pools(self): """ Gets the StoragePools API client. Returns: StoragePools: """ if not self.__storage_pools: self.__storage_pools = StoragePools(self.__connection) return self.__storage_pools
[ "def", "storage_pools", "(", "self", ")", ":", "if", "not", "self", ".", "__storage_pools", ":", "self", ".", "__storage_pools", "=", "StoragePools", "(", "self", ".", "__connection", ")", "return", "self", ".", "__storage_pools" ]
Gets the StoragePools API client. Returns: StoragePools:
[ "Gets", "the", "StoragePools", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L845-L854
18,753
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.storage_volume_templates
def storage_volume_templates(self): """ Gets the StorageVolumeTemplates API client. Returns: StorageVolumeTemplates: """ if not self.__storage_volume_templates: self.__storage_volume_templates = StorageVolumeTemplates(self.__connection) return sel...
python
def storage_volume_templates(self): """ Gets the StorageVolumeTemplates API client. Returns: StorageVolumeTemplates: """ if not self.__storage_volume_templates: self.__storage_volume_templates = StorageVolumeTemplates(self.__connection) return sel...
[ "def", "storage_volume_templates", "(", "self", ")", ":", "if", "not", "self", ".", "__storage_volume_templates", ":", "self", ".", "__storage_volume_templates", "=", "StorageVolumeTemplates", "(", "self", ".", "__connection", ")", "return", "self", ".", "__storage_...
Gets the StorageVolumeTemplates API client. Returns: StorageVolumeTemplates:
[ "Gets", "the", "StorageVolumeTemplates", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L857-L866
18,754
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.storage_volume_attachments
def storage_volume_attachments(self): """ Gets the StorageVolumeAttachments API client. Returns: StorageVolumeAttachments: """ if not self.__storage_volume_attachments: self.__storage_volume_attachments = StorageVolumeAttachments(self.__connection) ...
python
def storage_volume_attachments(self): """ Gets the StorageVolumeAttachments API client. Returns: StorageVolumeAttachments: """ if not self.__storage_volume_attachments: self.__storage_volume_attachments = StorageVolumeAttachments(self.__connection) ...
[ "def", "storage_volume_attachments", "(", "self", ")", ":", "if", "not", "self", ".", "__storage_volume_attachments", ":", "self", ".", "__storage_volume_attachments", "=", "StorageVolumeAttachments", "(", "self", ".", "__connection", ")", "return", "self", ".", "__...
Gets the StorageVolumeAttachments API client. Returns: StorageVolumeAttachments:
[ "Gets", "the", "StorageVolumeAttachments", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L869-L878
18,755
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.firmware_drivers
def firmware_drivers(self): """ Gets the FirmwareDrivers API client. Returns: FirmwareDrivers: """ if not self.__firmware_drivers: self.__firmware_drivers = FirmwareDrivers(self.__connection) return self.__firmware_drivers
python
def firmware_drivers(self): """ Gets the FirmwareDrivers API client. Returns: FirmwareDrivers: """ if not self.__firmware_drivers: self.__firmware_drivers = FirmwareDrivers(self.__connection) return self.__firmware_drivers
[ "def", "firmware_drivers", "(", "self", ")", ":", "if", "not", "self", ".", "__firmware_drivers", ":", "self", ".", "__firmware_drivers", "=", "FirmwareDrivers", "(", "self", ".", "__connection", ")", "return", "self", ".", "__firmware_drivers" ]
Gets the FirmwareDrivers API client. Returns: FirmwareDrivers:
[ "Gets", "the", "FirmwareDrivers", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L881-L890
18,756
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.firmware_bundles
def firmware_bundles(self): """ Gets the FirmwareBundles API client. Returns: FirmwareBundles: """ if not self.__firmware_bundles: self.__firmware_bundles = FirmwareBundles(self.__connection) return self.__firmware_bundles
python
def firmware_bundles(self): """ Gets the FirmwareBundles API client. Returns: FirmwareBundles: """ if not self.__firmware_bundles: self.__firmware_bundles = FirmwareBundles(self.__connection) return self.__firmware_bundles
[ "def", "firmware_bundles", "(", "self", ")", ":", "if", "not", "self", ".", "__firmware_bundles", ":", "self", ".", "__firmware_bundles", "=", "FirmwareBundles", "(", "self", ".", "__connection", ")", "return", "self", ".", "__firmware_bundles" ]
Gets the FirmwareBundles API client. Returns: FirmwareBundles:
[ "Gets", "the", "FirmwareBundles", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L893-L902
18,757
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.volumes
def volumes(self): """ Gets the Volumes API client. Returns: Volumes: """ if not self.__volumes: self.__volumes = Volumes(self.__connection) return self.__volumes
python
def volumes(self): """ Gets the Volumes API client. Returns: Volumes: """ if not self.__volumes: self.__volumes = Volumes(self.__connection) return self.__volumes
[ "def", "volumes", "(", "self", ")", ":", "if", "not", "self", ".", "__volumes", ":", "self", ".", "__volumes", "=", "Volumes", "(", "self", ".", "__connection", ")", "return", "self", ".", "__volumes" ]
Gets the Volumes API client. Returns: Volumes:
[ "Gets", "the", "Volumes", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L915-L924
18,758
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.sas_logical_jbod_attachments
def sas_logical_jbod_attachments(self): """ Gets the SAS Logical JBOD Attachments client. Returns: SasLogicalJbodAttachments: """ if not self.__sas_logical_jbod_attachments: self.__sas_logical_jbod_attachments = SasLogicalJbodAttachments(self.__connection...
python
def sas_logical_jbod_attachments(self): """ Gets the SAS Logical JBOD Attachments client. Returns: SasLogicalJbodAttachments: """ if not self.__sas_logical_jbod_attachments: self.__sas_logical_jbod_attachments = SasLogicalJbodAttachments(self.__connection...
[ "def", "sas_logical_jbod_attachments", "(", "self", ")", ":", "if", "not", "self", ".", "__sas_logical_jbod_attachments", ":", "self", ".", "__sas_logical_jbod_attachments", "=", "SasLogicalJbodAttachments", "(", "self", ".", "__connection", ")", "return", "self", "."...
Gets the SAS Logical JBOD Attachments client. Returns: SasLogicalJbodAttachments:
[ "Gets", "the", "SAS", "Logical", "JBOD", "Attachments", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L927-L936
18,759
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.managed_sans
def managed_sans(self): """ Gets the Managed SANs API client. Returns: ManagedSANs: """ if not self.__managed_sans: self.__managed_sans = ManagedSANs(self.__connection) return self.__managed_sans
python
def managed_sans(self): """ Gets the Managed SANs API client. Returns: ManagedSANs: """ if not self.__managed_sans: self.__managed_sans = ManagedSANs(self.__connection) return self.__managed_sans
[ "def", "managed_sans", "(", "self", ")", ":", "if", "not", "self", ".", "__managed_sans", ":", "self", ".", "__managed_sans", "=", "ManagedSANs", "(", "self", ".", "__connection", ")", "return", "self", ".", "__managed_sans" ]
Gets the Managed SANs API client. Returns: ManagedSANs:
[ "Gets", "the", "Managed", "SANs", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L939-L948
18,760
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.migratable_vc_domains
def migratable_vc_domains(self): """ Gets the VC Migration Manager API client. Returns: MigratableVcDomains: """ if not self.__migratable_vc_domains: self.__migratable_vc_domains = MigratableVcDomains(self.__connection) return self.__migratable_vc...
python
def migratable_vc_domains(self): """ Gets the VC Migration Manager API client. Returns: MigratableVcDomains: """ if not self.__migratable_vc_domains: self.__migratable_vc_domains = MigratableVcDomains(self.__connection) return self.__migratable_vc...
[ "def", "migratable_vc_domains", "(", "self", ")", ":", "if", "not", "self", ".", "__migratable_vc_domains", ":", "self", ".", "__migratable_vc_domains", "=", "MigratableVcDomains", "(", "self", ".", "__connection", ")", "return", "self", ".", "__migratable_vc_domain...
Gets the VC Migration Manager API client. Returns: MigratableVcDomains:
[ "Gets", "the", "VC", "Migration", "Manager", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L951-L960
18,761
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.sas_interconnects
def sas_interconnects(self): """ Gets the SAS Interconnects API client. Returns: SasInterconnects: """ if not self.__sas_interconnects: self.__sas_interconnects = SasInterconnects(self.__connection) return self.__sas_interconnects
python
def sas_interconnects(self): """ Gets the SAS Interconnects API client. Returns: SasInterconnects: """ if not self.__sas_interconnects: self.__sas_interconnects = SasInterconnects(self.__connection) return self.__sas_interconnects
[ "def", "sas_interconnects", "(", "self", ")", ":", "if", "not", "self", ".", "__sas_interconnects", ":", "self", ".", "__sas_interconnects", "=", "SasInterconnects", "(", "self", ".", "__connection", ")", "return", "self", ".", "__sas_interconnects" ]
Gets the SAS Interconnects API client. Returns: SasInterconnects:
[ "Gets", "the", "SAS", "Interconnects", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L963-L972
18,762
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.sas_logical_interconnect_groups
def sas_logical_interconnect_groups(self): """ Gets the SasLogicalInterconnectGroups API client. Returns: SasLogicalInterconnectGroups: """ if not self.__sas_logical_interconnect_groups: self.__sas_logical_interconnect_groups = SasLogicalInterconnectGroup...
python
def sas_logical_interconnect_groups(self): """ Gets the SasLogicalInterconnectGroups API client. Returns: SasLogicalInterconnectGroups: """ if not self.__sas_logical_interconnect_groups: self.__sas_logical_interconnect_groups = SasLogicalInterconnectGroup...
[ "def", "sas_logical_interconnect_groups", "(", "self", ")", ":", "if", "not", "self", ".", "__sas_logical_interconnect_groups", ":", "self", ".", "__sas_logical_interconnect_groups", "=", "SasLogicalInterconnectGroups", "(", "self", ".", "__connection", ")", "return", "...
Gets the SasLogicalInterconnectGroups API client. Returns: SasLogicalInterconnectGroups:
[ "Gets", "the", "SasLogicalInterconnectGroups", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L975-L984
18,763
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.drive_enclosures
def drive_enclosures(self): """ Gets the Drive Enclosures API client. Returns: DriveEnclosures: """ if not self.__drive_enclures: self.__drive_enclures = DriveEnclosures(self.__connection) return self.__drive_enclures
python
def drive_enclosures(self): """ Gets the Drive Enclosures API client. Returns: DriveEnclosures: """ if not self.__drive_enclures: self.__drive_enclures = DriveEnclosures(self.__connection) return self.__drive_enclures
[ "def", "drive_enclosures", "(", "self", ")", ":", "if", "not", "self", ".", "__drive_enclures", ":", "self", ".", "__drive_enclures", "=", "DriveEnclosures", "(", "self", ".", "__connection", ")", "return", "self", ".", "__drive_enclures" ]
Gets the Drive Enclosures API client. Returns: DriveEnclosures:
[ "Gets", "the", "Drive", "Enclosures", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L987-L996
18,764
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.sas_logical_jbods
def sas_logical_jbods(self): """ Gets the SAS Logical JBODs API client. Returns: SasLogicalJbod: """ if not self.__sas_logical_jbods: self.__sas_logical_jbods = SasLogicalJbods(self.__connection) return self.__sas_logical_jbods
python
def sas_logical_jbods(self): """ Gets the SAS Logical JBODs API client. Returns: SasLogicalJbod: """ if not self.__sas_logical_jbods: self.__sas_logical_jbods = SasLogicalJbods(self.__connection) return self.__sas_logical_jbods
[ "def", "sas_logical_jbods", "(", "self", ")", ":", "if", "not", "self", ".", "__sas_logical_jbods", ":", "self", ".", "__sas_logical_jbods", "=", "SasLogicalJbods", "(", "self", ".", "__connection", ")", "return", "self", ".", "__sas_logical_jbods" ]
Gets the SAS Logical JBODs API client. Returns: SasLogicalJbod:
[ "Gets", "the", "SAS", "Logical", "JBODs", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L999-L1008
18,765
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.labels
def labels(self): """ Gets the Labels API client. Returns: Labels: """ if not self.__labels: self.__labels = Labels(self.__connection) return self.__labels
python
def labels(self): """ Gets the Labels API client. Returns: Labels: """ if not self.__labels: self.__labels = Labels(self.__connection) return self.__labels
[ "def", "labels", "(", "self", ")", ":", "if", "not", "self", ".", "__labels", ":", "self", ".", "__labels", "=", "Labels", "(", "self", ".", "__connection", ")", "return", "self", ".", "__labels" ]
Gets the Labels API client. Returns: Labels:
[ "Gets", "the", "Labels", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1011-L1020
18,766
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.index_resources
def index_resources(self): """ Gets the Index Resources API client. Returns: IndexResources: """ if not self.__index_resources: self.__index_resources = IndexResources(self.__connection) return self.__index_resources
python
def index_resources(self): """ Gets the Index Resources API client. Returns: IndexResources: """ if not self.__index_resources: self.__index_resources = IndexResources(self.__connection) return self.__index_resources
[ "def", "index_resources", "(", "self", ")", ":", "if", "not", "self", ".", "__index_resources", ":", "self", ".", "__index_resources", "=", "IndexResources", "(", "self", ".", "__connection", ")", "return", "self", ".", "__index_resources" ]
Gets the Index Resources API client. Returns: IndexResources:
[ "Gets", "the", "Index", "Resources", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1023-L1032
18,767
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.alerts
def alerts(self): """ Gets the Alerts API client. Returns: Alerts: """ if not self.__alerts: self.__alerts = Alerts(self.__connection) return self.__alerts
python
def alerts(self): """ Gets the Alerts API client. Returns: Alerts: """ if not self.__alerts: self.__alerts = Alerts(self.__connection) return self.__alerts
[ "def", "alerts", "(", "self", ")", ":", "if", "not", "self", ".", "__alerts", ":", "self", ".", "__alerts", "=", "Alerts", "(", "self", ".", "__connection", ")", "return", "self", ".", "__alerts" ]
Gets the Alerts API client. Returns: Alerts:
[ "Gets", "the", "Alerts", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1035-L1044
18,768
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.events
def events(self): """ Gets the Events API client. Returns: Events: """ if not self.__events: self.__events = Events(self.__connection) return self.__events
python
def events(self): """ Gets the Events API client. Returns: Events: """ if not self.__events: self.__events = Events(self.__connection) return self.__events
[ "def", "events", "(", "self", ")", ":", "if", "not", "self", ".", "__events", ":", "self", ".", "__events", "=", "Events", "(", "self", ".", "__connection", ")", "return", "self", ".", "__events" ]
Gets the Events API client. Returns: Events:
[ "Gets", "the", "Events", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1047-L1056
18,769
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.os_deployment_servers
def os_deployment_servers(self): """ Gets the Os Deployment Servers API client. Returns: OsDeploymentServers: """ if not self.__os_deployment_servers: self.__os_deployment_servers = OsDeploymentServers(self.__connection) return self.__os_deploymen...
python
def os_deployment_servers(self): """ Gets the Os Deployment Servers API client. Returns: OsDeploymentServers: """ if not self.__os_deployment_servers: self.__os_deployment_servers = OsDeploymentServers(self.__connection) return self.__os_deploymen...
[ "def", "os_deployment_servers", "(", "self", ")", ":", "if", "not", "self", ".", "__os_deployment_servers", ":", "self", ".", "__os_deployment_servers", "=", "OsDeploymentServers", "(", "self", ".", "__connection", ")", "return", "self", ".", "__os_deployment_server...
Gets the Os Deployment Servers API client. Returns: OsDeploymentServers:
[ "Gets", "the", "Os", "Deployment", "Servers", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1069-L1078
18,770
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.certificate_rabbitmq
def certificate_rabbitmq(self): """ Gets the Certificate RabbitMQ API client. Returns: CertificateRabbitMQ: """ if not self.__certificate_rabbitmq: self.__certificate_rabbitmq = CertificateRabbitMQ(self.__connection) return self.__certificate_rabb...
python
def certificate_rabbitmq(self): """ Gets the Certificate RabbitMQ API client. Returns: CertificateRabbitMQ: """ if not self.__certificate_rabbitmq: self.__certificate_rabbitmq = CertificateRabbitMQ(self.__connection) return self.__certificate_rabb...
[ "def", "certificate_rabbitmq", "(", "self", ")", ":", "if", "not", "self", ".", "__certificate_rabbitmq", ":", "self", ".", "__certificate_rabbitmq", "=", "CertificateRabbitMQ", "(", "self", ".", "__connection", ")", "return", "self", ".", "__certificate_rabbitmq" ]
Gets the Certificate RabbitMQ API client. Returns: CertificateRabbitMQ:
[ "Gets", "the", "Certificate", "RabbitMQ", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1081-L1090
18,771
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.users
def users(self): """ Gets the Users API client. Returns: Users: """ if not self.__users: self.__users = Users(self.__connection) return self.__users
python
def users(self): """ Gets the Users API client. Returns: Users: """ if not self.__users: self.__users = Users(self.__connection) return self.__users
[ "def", "users", "(", "self", ")", ":", "if", "not", "self", ".", "__users", ":", "self", ".", "__users", "=", "Users", "(", "self", ".", "__connection", ")", "return", "self", ".", "__users" ]
Gets the Users API client. Returns: Users:
[ "Gets", "the", "Users", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1093-L1102
18,772
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.appliance_device_read_community
def appliance_device_read_community(self): """ Gets the ApplianceDeviceReadCommunity API client. Returns: ApplianceDeviceReadCommunity: """ if not self.__appliance_device_read_community: self.__appliance_device_read_community = ApplianceDeviceReadCommunit...
python
def appliance_device_read_community(self): """ Gets the ApplianceDeviceReadCommunity API client. Returns: ApplianceDeviceReadCommunity: """ if not self.__appliance_device_read_community: self.__appliance_device_read_community = ApplianceDeviceReadCommunit...
[ "def", "appliance_device_read_community", "(", "self", ")", ":", "if", "not", "self", ".", "__appliance_device_read_community", ":", "self", ".", "__appliance_device_read_community", "=", "ApplianceDeviceReadCommunity", "(", "self", ".", "__connection", ")", "return", "...
Gets the ApplianceDeviceReadCommunity API client. Returns: ApplianceDeviceReadCommunity:
[ "Gets", "the", "ApplianceDeviceReadCommunity", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1105-L1114
18,773
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.appliance_device_snmp_v1_trap_destinations
def appliance_device_snmp_v1_trap_destinations(self): """ Gets the ApplianceDeviceSNMPv1TrapDestinations API client. Returns: ApplianceDeviceSNMPv1TrapDestinations: """ if not self.__appliance_device_snmp_v1_trap_destinations: self.__appliance_device_snmp...
python
def appliance_device_snmp_v1_trap_destinations(self): """ Gets the ApplianceDeviceSNMPv1TrapDestinations API client. Returns: ApplianceDeviceSNMPv1TrapDestinations: """ if not self.__appliance_device_snmp_v1_trap_destinations: self.__appliance_device_snmp...
[ "def", "appliance_device_snmp_v1_trap_destinations", "(", "self", ")", ":", "if", "not", "self", ".", "__appliance_device_snmp_v1_trap_destinations", ":", "self", ".", "__appliance_device_snmp_v1_trap_destinations", "=", "ApplianceDeviceSNMPv1TrapDestinations", "(", "self", "."...
Gets the ApplianceDeviceSNMPv1TrapDestinations API client. Returns: ApplianceDeviceSNMPv1TrapDestinations:
[ "Gets", "the", "ApplianceDeviceSNMPv1TrapDestinations", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1117-L1126
18,774
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.appliance_device_snmp_v3_trap_destinations
def appliance_device_snmp_v3_trap_destinations(self): """ Gets the ApplianceDeviceSNMPv3TrapDestinations API client. Returns: ApplianceDeviceSNMPv3TrapDestinations: """ if not self.__appliance_device_snmp_v3_trap_destinations: self.__appliance_device_snmp...
python
def appliance_device_snmp_v3_trap_destinations(self): """ Gets the ApplianceDeviceSNMPv3TrapDestinations API client. Returns: ApplianceDeviceSNMPv3TrapDestinations: """ if not self.__appliance_device_snmp_v3_trap_destinations: self.__appliance_device_snmp...
[ "def", "appliance_device_snmp_v3_trap_destinations", "(", "self", ")", ":", "if", "not", "self", ".", "__appliance_device_snmp_v3_trap_destinations", ":", "self", ".", "__appliance_device_snmp_v3_trap_destinations", "=", "ApplianceDeviceSNMPv3TrapDestinations", "(", "self", "."...
Gets the ApplianceDeviceSNMPv3TrapDestinations API client. Returns: ApplianceDeviceSNMPv3TrapDestinations:
[ "Gets", "the", "ApplianceDeviceSNMPv3TrapDestinations", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1129-L1138
18,775
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.appliance_device_snmp_v3_users
def appliance_device_snmp_v3_users(self): """ Gets the ApplianceDeviceSNMPv3Users API client. Returns: ApplianceDeviceSNMPv3Users: """ if not self.__appliance_device_snmp_v3_users: self.__appliance_device_snmp_v3_users = ApplianceDeviceSNMPv3Users(self.__...
python
def appliance_device_snmp_v3_users(self): """ Gets the ApplianceDeviceSNMPv3Users API client. Returns: ApplianceDeviceSNMPv3Users: """ if not self.__appliance_device_snmp_v3_users: self.__appliance_device_snmp_v3_users = ApplianceDeviceSNMPv3Users(self.__...
[ "def", "appliance_device_snmp_v3_users", "(", "self", ")", ":", "if", "not", "self", ".", "__appliance_device_snmp_v3_users", ":", "self", ".", "__appliance_device_snmp_v3_users", "=", "ApplianceDeviceSNMPv3Users", "(", "self", ".", "__connection", ")", "return", "self"...
Gets the ApplianceDeviceSNMPv3Users API client. Returns: ApplianceDeviceSNMPv3Users:
[ "Gets", "the", "ApplianceDeviceSNMPv3Users", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1141-L1150
18,776
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.appliance_node_information
def appliance_node_information(self): """ Gets the ApplianceNodeInformation API client. Returns: ApplianceNodeInformation: """ if not self.__appliance_node_information: self.__appliance_node_information = ApplianceNodeInformation(self.__connection) ...
python
def appliance_node_information(self): """ Gets the ApplianceNodeInformation API client. Returns: ApplianceNodeInformation: """ if not self.__appliance_node_information: self.__appliance_node_information = ApplianceNodeInformation(self.__connection) ...
[ "def", "appliance_node_information", "(", "self", ")", ":", "if", "not", "self", ".", "__appliance_node_information", ":", "self", ".", "__appliance_node_information", "=", "ApplianceNodeInformation", "(", "self", ".", "__connection", ")", "return", "self", ".", "__...
Gets the ApplianceNodeInformation API client. Returns: ApplianceNodeInformation:
[ "Gets", "the", "ApplianceNodeInformation", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1153-L1162
18,777
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.appliance_time_and_locale_configuration
def appliance_time_and_locale_configuration(self): """ Gets the ApplianceTimeAndLocaleConfiguration API client. Returns: ApplianceTimeAndLocaleConfiguration: """ if not self.__appliance_time_and_locale_configuration: self.__appliance_time_and_locale_confi...
python
def appliance_time_and_locale_configuration(self): """ Gets the ApplianceTimeAndLocaleConfiguration API client. Returns: ApplianceTimeAndLocaleConfiguration: """ if not self.__appliance_time_and_locale_configuration: self.__appliance_time_and_locale_confi...
[ "def", "appliance_time_and_locale_configuration", "(", "self", ")", ":", "if", "not", "self", ".", "__appliance_time_and_locale_configuration", ":", "self", ".", "__appliance_time_and_locale_configuration", "=", "ApplianceTimeAndLocaleConfiguration", "(", "self", ".", "__conn...
Gets the ApplianceTimeAndLocaleConfiguration API client. Returns: ApplianceTimeAndLocaleConfiguration:
[ "Gets", "the", "ApplianceTimeAndLocaleConfiguration", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1165-L1174
18,778
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.versions
def versions(self): """ Gets the Version API client. Returns: Version: """ if not self.__versions: self.__versions = Versions(self.__connection) return self.__versions
python
def versions(self): """ Gets the Version API client. Returns: Version: """ if not self.__versions: self.__versions = Versions(self.__connection) return self.__versions
[ "def", "versions", "(", "self", ")", ":", "if", "not", "self", ".", "__versions", ":", "self", ".", "__versions", "=", "Versions", "(", "self", ".", "__connection", ")", "return", "self", ".", "__versions" ]
Gets the Version API client. Returns: Version:
[ "Gets", "the", "Version", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1177-L1186
18,779
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.backups
def backups(self): """ Gets the Backup API client. Returns: Backups: """ if not self.__backups: self.__backups = Backups(self.__connection) return self.__backups
python
def backups(self): """ Gets the Backup API client. Returns: Backups: """ if not self.__backups: self.__backups = Backups(self.__connection) return self.__backups
[ "def", "backups", "(", "self", ")", ":", "if", "not", "self", ".", "__backups", ":", "self", ".", "__backups", "=", "Backups", "(", "self", ".", "__connection", ")", "return", "self", ".", "__backups" ]
Gets the Backup API client. Returns: Backups:
[ "Gets", "the", "Backup", "API", "client", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1189-L1198
18,780
HewlettPackard/python-hpOneView
hpOneView/oneview_client.py
OneViewClient.login_details
def login_details(self): """ Gets the login details Returns: List of login details """ if not self.__login_details: self.__login_details = LoginDetails(self.__connection) return self.__login_details
python
def login_details(self): """ Gets the login details Returns: List of login details """ if not self.__login_details: self.__login_details = LoginDetails(self.__connection) return self.__login_details
[ "def", "login_details", "(", "self", ")", ":", "if", "not", "self", ".", "__login_details", ":", "self", ".", "__login_details", "=", "LoginDetails", "(", "self", ".", "__connection", ")", "return", "self", ".", "__login_details" ]
Gets the login details Returns: List of login details
[ "Gets", "the", "login", "details" ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/oneview_client.py#L1201-L1210
18,781
HewlettPackard/python-hpOneView
hpOneView/resources/servers/server_profile_templates.py
ServerProfileTemplate.get_available_networks
def get_available_networks(self, **kwargs): """ Retrieves the list of Ethernet networks, Fibre Channel networks and network sets that are available to a server profile template along with their respective ports. The scopeUris, serverHardwareTypeUri and enclosureGroupUri parameters should...
python
def get_available_networks(self, **kwargs): """ Retrieves the list of Ethernet networks, Fibre Channel networks and network sets that are available to a server profile template along with their respective ports. The scopeUris, serverHardwareTypeUri and enclosureGroupUri parameters should...
[ "def", "get_available_networks", "(", "self", ",", "*", "*", "kwargs", ")", ":", "query_string", "=", "'&'", ".", "join", "(", "'{}={}'", ".", "format", "(", "key", ",", "value", ")", "for", "key", ",", "value", "in", "kwargs", ".", "items", "(", ")"...
Retrieves the list of Ethernet networks, Fibre Channel networks and network sets that are available to a server profile template along with their respective ports. The scopeUris, serverHardwareTypeUri and enclosureGroupUri parameters should be specified to get the available networks for a new server pro...
[ "Retrieves", "the", "list", "of", "Ethernet", "networks", "Fibre", "Channel", "networks", "and", "network", "sets", "that", "are", "available", "to", "a", "server", "profile", "template", "along", "with", "their", "respective", "ports", ".", "The", "scopeUris", ...
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/servers/server_profile_templates.py#L181-L212
18,782
HewlettPackard/python-hpOneView
hpOneView/resources/networking/logical_downlinks.py
LogicalDownlinks.get_all_without_ethernet
def get_all_without_ethernet(self, start=0, count=-1, filter='', sort=''): """ Gets a paginated collection of logical downlinks without ethernet. The collection is based on optional sorting and filtering and is constrained by start and count parameters. Args: start: ...
python
def get_all_without_ethernet(self, start=0, count=-1, filter='', sort=''): """ Gets a paginated collection of logical downlinks without ethernet. The collection is based on optional sorting and filtering and is constrained by start and count parameters. Args: start: ...
[ "def", "get_all_without_ethernet", "(", "self", ",", "start", "=", "0", ",", "count", "=", "-", "1", ",", "filter", "=", "''", ",", "sort", "=", "''", ")", ":", "without_ethernet_client", "=", "ResourceClient", "(", "self", ".", "_connection", ",", "\"/r...
Gets a paginated collection of logical downlinks without ethernet. The collection is based on optional sorting and filtering and is constrained by start and count parameters. Args: start: The first item to return, using 0-based indexing. If not specified, the...
[ "Gets", "a", "paginated", "collection", "of", "logical", "downlinks", "without", "ethernet", ".", "The", "collection", "is", "based", "on", "optional", "sorting", "and", "filtering", "and", "is", "constrained", "by", "start", "and", "count", "parameters", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/logical_downlinks.py#L99-L124
18,783
HewlettPackard/python-hpOneView
hpOneView/resources/networking/logical_downlinks.py
LogicalDownlinks.get_without_ethernet
def get_without_ethernet(self, id_or_uri): """ Gets the logical downlink with the specified ID without ethernet. Args: id_or_uri: Can be either the logical downlink id or the logical downlink uri. Returns: dict """ uri = self._client.build_uri(id...
python
def get_without_ethernet(self, id_or_uri): """ Gets the logical downlink with the specified ID without ethernet. Args: id_or_uri: Can be either the logical downlink id or the logical downlink uri. Returns: dict """ uri = self._client.build_uri(id...
[ "def", "get_without_ethernet", "(", "self", ",", "id_or_uri", ")", ":", "uri", "=", "self", ".", "_client", ".", "build_uri", "(", "id_or_uri", ")", "+", "\"/withoutEthernet\"", "return", "self", ".", "_client", ".", "get", "(", "uri", ")" ]
Gets the logical downlink with the specified ID without ethernet. Args: id_or_uri: Can be either the logical downlink id or the logical downlink uri. Returns: dict
[ "Gets", "the", "logical", "downlink", "with", "the", "specified", "ID", "without", "ethernet", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/logical_downlinks.py#L126-L137
18,784
HewlettPackard/python-hpOneView
hpOneView/resources/networking/sas_logical_interconnects.py
SasLogicalInterconnects.update_firmware
def update_firmware(self, firmware_information, force=False): """ Installs firmware to the member interconnects of a SAS Logical Interconnect. Args: firmware_information: Options to install firmware to a SAS Logical Interconnect. force: If sets to true, the operation com...
python
def update_firmware(self, firmware_information, force=False): """ Installs firmware to the member interconnects of a SAS Logical Interconnect. Args: firmware_information: Options to install firmware to a SAS Logical Interconnect. force: If sets to true, the operation com...
[ "def", "update_firmware", "(", "self", ",", "firmware_information", ",", "force", "=", "False", ")", ":", "firmware_uri", "=", "\"{}/firmware\"", ".", "format", "(", "self", ".", "data", "[", "\"uri\"", "]", ")", "result", "=", "self", ".", "_helper", ".",...
Installs firmware to the member interconnects of a SAS Logical Interconnect. Args: firmware_information: Options to install firmware to a SAS Logical Interconnect. force: If sets to true, the operation completes despite any problems with the network connectivy or the erros...
[ "Installs", "firmware", "to", "the", "member", "interconnects", "of", "a", "SAS", "Logical", "Interconnect", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/sas_logical_interconnects.py#L82-L97
18,785
HewlettPackard/python-hpOneView
hpOneView/resources/networking/sas_logical_interconnects.py
SasLogicalInterconnects.get_firmware
def get_firmware(self): """ Gets baseline firmware information for a SAS Logical Interconnect. Returns: dict: SAS Logical Interconnect Firmware. """ firmware_uri = "{}/firmware".format(self.data["uri"]) return self._helper.do_get(firmware_uri)
python
def get_firmware(self): """ Gets baseline firmware information for a SAS Logical Interconnect. Returns: dict: SAS Logical Interconnect Firmware. """ firmware_uri = "{}/firmware".format(self.data["uri"]) return self._helper.do_get(firmware_uri)
[ "def", "get_firmware", "(", "self", ")", ":", "firmware_uri", "=", "\"{}/firmware\"", ".", "format", "(", "self", ".", "data", "[", "\"uri\"", "]", ")", "return", "self", ".", "_helper", ".", "do_get", "(", "firmware_uri", ")" ]
Gets baseline firmware information for a SAS Logical Interconnect. Returns: dict: SAS Logical Interconnect Firmware.
[ "Gets", "baseline", "firmware", "information", "for", "a", "SAS", "Logical", "Interconnect", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/sas_logical_interconnects.py#L100-L108
18,786
HewlettPackard/python-hpOneView
hpOneView/resources/networking/sas_logical_interconnects.py
SasLogicalInterconnects.update_compliance_all
def update_compliance_all(self, information, timeout=-1): """ Returns SAS Logical Interconnects to a consistent state. The current SAS Logical Interconnect state is compared to the associated SAS Logical Interconnect group. Args: information: Can be either the resource ID or...
python
def update_compliance_all(self, information, timeout=-1): """ Returns SAS Logical Interconnects to a consistent state. The current SAS Logical Interconnect state is compared to the associated SAS Logical Interconnect group. Args: information: Can be either the resource ID or...
[ "def", "update_compliance_all", "(", "self", ",", "information", ",", "timeout", "=", "-", "1", ")", ":", "uri", "=", "self", ".", "URI", "+", "\"/compliance\"", "result", "=", "self", ".", "_helper", ".", "update", "(", "information", ",", "uri", ",", ...
Returns SAS Logical Interconnects to a consistent state. The current SAS Logical Interconnect state is compared to the associated SAS Logical Interconnect group. Args: information: Can be either the resource ID or URI. timeout: Timeout in seconds. Wait for task completion by def...
[ "Returns", "SAS", "Logical", "Interconnects", "to", "a", "consistent", "state", ".", "The", "current", "SAS", "Logical", "Interconnect", "state", "is", "compared", "to", "the", "associated", "SAS", "Logical", "Interconnect", "group", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/sas_logical_interconnects.py#L110-L127
18,787
HewlettPackard/python-hpOneView
hpOneView/resources/networking/sas_logical_interconnects.py
SasLogicalInterconnects.replace_drive_enclosure
def replace_drive_enclosure(self, information): """ When a drive enclosure has been physically replaced, initiate the replacement operation that enables the new drive enclosure to take over as a replacement for the prior drive enclosure. The request requires specification of both the ser...
python
def replace_drive_enclosure(self, information): """ When a drive enclosure has been physically replaced, initiate the replacement operation that enables the new drive enclosure to take over as a replacement for the prior drive enclosure. The request requires specification of both the ser...
[ "def", "replace_drive_enclosure", "(", "self", ",", "information", ")", ":", "uri", "=", "\"{}/replaceDriveEnclosure\"", ".", "format", "(", "self", ".", "data", "[", "\"uri\"", "]", ")", "result", "=", "self", ".", "_helper", ".", "create", "(", "informatio...
When a drive enclosure has been physically replaced, initiate the replacement operation that enables the new drive enclosure to take over as a replacement for the prior drive enclosure. The request requires specification of both the serial numbers of the original drive enclosure and its replacement to b...
[ "When", "a", "drive", "enclosure", "has", "been", "physically", "replaced", "initiate", "the", "replacement", "operation", "that", "enables", "the", "new", "drive", "enclosure", "to", "take", "over", "as", "a", "replacement", "for", "the", "prior", "drive", "e...
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/sas_logical_interconnects.py#L149-L166
18,788
HewlettPackard/python-hpOneView
hpOneView/resources/networking/sas_logical_interconnects.py
SasLogicalInterconnects.update_configuration
def update_configuration(self): """ Asynchronously applies or re-applies the SAS Logical Interconnect configuration to all managed interconnects of a SAS Logical Interconnect. Returns: dict: SAS Logical Interconnect. """ uri = "{}/configuration".format(self.d...
python
def update_configuration(self): """ Asynchronously applies or re-applies the SAS Logical Interconnect configuration to all managed interconnects of a SAS Logical Interconnect. Returns: dict: SAS Logical Interconnect. """ uri = "{}/configuration".format(self.d...
[ "def", "update_configuration", "(", "self", ")", ":", "uri", "=", "\"{}/configuration\"", ".", "format", "(", "self", ".", "data", "[", "\"uri\"", "]", ")", "result", "=", "self", ".", "_helper", ".", "update", "(", "{", "}", ",", "uri", ")", "self", ...
Asynchronously applies or re-applies the SAS Logical Interconnect configuration to all managed interconnects of a SAS Logical Interconnect. Returns: dict: SAS Logical Interconnect.
[ "Asynchronously", "applies", "or", "re", "-", "applies", "the", "SAS", "Logical", "Interconnect", "configuration", "to", "all", "managed", "interconnects", "of", "a", "SAS", "Logical", "Interconnect", "." ]
3c6219723ef25e6e0c83d44a89007f89bc325b89
https://github.com/HewlettPackard/python-hpOneView/blob/3c6219723ef25e6e0c83d44a89007f89bc325b89/hpOneView/resources/networking/sas_logical_interconnects.py#L169-L181
18,789
vals/umis
umis/barcodes.py
mutationhash
def mutationhash(strings, nedit): """ produce a hash with each key a nedit distance substitution for a set of strings. values of the hash is the set of strings the substitution could have come from """ maxlen = max([len(string) for string in strings]) indexes = generate_idx(maxlen, nedit) ...
python
def mutationhash(strings, nedit): """ produce a hash with each key a nedit distance substitution for a set of strings. values of the hash is the set of strings the substitution could have come from """ maxlen = max([len(string) for string in strings]) indexes = generate_idx(maxlen, nedit) ...
[ "def", "mutationhash", "(", "strings", ",", "nedit", ")", ":", "maxlen", "=", "max", "(", "[", "len", "(", "string", ")", "for", "string", "in", "strings", "]", ")", "indexes", "=", "generate_idx", "(", "maxlen", ",", "nedit", ")", "muthash", "=", "d...
produce a hash with each key a nedit distance substitution for a set of strings. values of the hash is the set of strings the substitution could have come from
[ "produce", "a", "hash", "with", "each", "key", "a", "nedit", "distance", "substitution", "for", "a", "set", "of", "strings", ".", "values", "of", "the", "hash", "is", "the", "set", "of", "strings", "the", "substitution", "could", "have", "come", "from" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/barcodes.py#L150-L163
18,790
vals/umis
umis/barcodes.py
substitution_set
def substitution_set(string, indexes): """ for a string, return a set of all possible substitutions """ strlen = len(string) return {mutate_string(string, x) for x in indexes if valid_substitution(strlen, x)}
python
def substitution_set(string, indexes): """ for a string, return a set of all possible substitutions """ strlen = len(string) return {mutate_string(string, x) for x in indexes if valid_substitution(strlen, x)}
[ "def", "substitution_set", "(", "string", ",", "indexes", ")", ":", "strlen", "=", "len", "(", "string", ")", "return", "{", "mutate_string", "(", "string", ",", "x", ")", "for", "x", "in", "indexes", "if", "valid_substitution", "(", "strlen", ",", "x", ...
for a string, return a set of all possible substitutions
[ "for", "a", "string", "return", "a", "set", "of", "all", "possible", "substitutions" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/barcodes.py#L165-L170
18,791
vals/umis
umis/barcodes.py
valid_substitution
def valid_substitution(strlen, index): """ skip performing substitutions that are outside the bounds of the string """ values = index[0] return all([strlen > i for i in values])
python
def valid_substitution(strlen, index): """ skip performing substitutions that are outside the bounds of the string """ values = index[0] return all([strlen > i for i in values])
[ "def", "valid_substitution", "(", "strlen", ",", "index", ")", ":", "values", "=", "index", "[", "0", "]", "return", "all", "(", "[", "strlen", ">", "i", "for", "i", "in", "values", "]", ")" ]
skip performing substitutions that are outside the bounds of the string
[ "skip", "performing", "substitutions", "that", "are", "outside", "the", "bounds", "of", "the", "string" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/barcodes.py#L172-L177
18,792
vals/umis
umis/barcodes.py
acgt_match
def acgt_match(string): """ returns True if sting consist of only "A "C" "G" "T" """ search = re.compile(r'[^ACGT]').search return not bool(search(string))
python
def acgt_match(string): """ returns True if sting consist of only "A "C" "G" "T" """ search = re.compile(r'[^ACGT]').search return not bool(search(string))
[ "def", "acgt_match", "(", "string", ")", ":", "search", "=", "re", ".", "compile", "(", "r'[^ACGT]'", ")", ".", "search", "return", "not", "bool", "(", "search", "(", "string", ")", ")" ]
returns True if sting consist of only "A "C" "G" "T"
[ "returns", "True", "if", "sting", "consist", "of", "only", "A", "C", "G", "T" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/barcodes.py#L194-L199
18,793
vals/umis
umis/umis.py
stream_fastq
def stream_fastq(file_handler): ''' Generator which gives all four lines if a fastq read as one string ''' next_element = '' for i, line in enumerate(file_handler): next_element += line if i % 4 == 3: yield next_element next_element = ''
python
def stream_fastq(file_handler): ''' Generator which gives all four lines if a fastq read as one string ''' next_element = '' for i, line in enumerate(file_handler): next_element += line if i % 4 == 3: yield next_element next_element = ''
[ "def", "stream_fastq", "(", "file_handler", ")", ":", "next_element", "=", "''", "for", "i", ",", "line", "in", "enumerate", "(", "file_handler", ")", ":", "next_element", "+=", "line", "if", "i", "%", "4", "==", "3", ":", "yield", "next_element", "next_...
Generator which gives all four lines if a fastq read as one string
[ "Generator", "which", "gives", "all", "four", "lines", "if", "a", "fastq", "read", "as", "one", "string" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L59-L67
18,794
vals/umis
umis/umis.py
read_fastq
def read_fastq(filename): """ return a stream of FASTQ entries, handling gzipped and empty files """ if not filename: return itertools.cycle((None,)) if filename == "-": filename_fh = sys.stdin elif filename.endswith('gz'): if is_python3: filename_fh = gzip.op...
python
def read_fastq(filename): """ return a stream of FASTQ entries, handling gzipped and empty files """ if not filename: return itertools.cycle((None,)) if filename == "-": filename_fh = sys.stdin elif filename.endswith('gz'): if is_python3: filename_fh = gzip.op...
[ "def", "read_fastq", "(", "filename", ")", ":", "if", "not", "filename", ":", "return", "itertools", ".", "cycle", "(", "(", "None", ",", ")", ")", "if", "filename", "==", "\"-\"", ":", "filename_fh", "=", "sys", ".", "stdin", "elif", "filename", ".", ...
return a stream of FASTQ entries, handling gzipped and empty files
[ "return", "a", "stream", "of", "FASTQ", "entries", "handling", "gzipped", "and", "empty", "files" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L69-L84
18,795
vals/umis
umis/umis.py
write_fastq
def write_fastq(filename): """ return a handle for FASTQ writing, handling gzipped files """ if filename: if filename.endswith('gz'): filename_fh = gzip.open(filename, mode='wb') else: filename_fh = open(filename, mode='w') else: filename_fh = None ...
python
def write_fastq(filename): """ return a handle for FASTQ writing, handling gzipped files """ if filename: if filename.endswith('gz'): filename_fh = gzip.open(filename, mode='wb') else: filename_fh = open(filename, mode='w') else: filename_fh = None ...
[ "def", "write_fastq", "(", "filename", ")", ":", "if", "filename", ":", "if", "filename", ".", "endswith", "(", "'gz'", ")", ":", "filename_fh", "=", "gzip", ".", "open", "(", "filename", ",", "mode", "=", "'wb'", ")", "else", ":", "filename_fh", "=", ...
return a handle for FASTQ writing, handling gzipped files
[ "return", "a", "handle", "for", "FASTQ", "writing", "handling", "gzipped", "files" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L96-L107
18,796
vals/umis
umis/umis.py
detect_alignment_annotations
def detect_alignment_annotations(queryalignment, tags=False): """ detects the annotations present in a SAM file, inspecting either the tags or the query names and returns a set of annotations present """ annotations = set() for k, v in BARCODEINFO.items(): if tags: if queryal...
python
def detect_alignment_annotations(queryalignment, tags=False): """ detects the annotations present in a SAM file, inspecting either the tags or the query names and returns a set of annotations present """ annotations = set() for k, v in BARCODEINFO.items(): if tags: if queryal...
[ "def", "detect_alignment_annotations", "(", "queryalignment", ",", "tags", "=", "False", ")", ":", "annotations", "=", "set", "(", ")", "for", "k", ",", "v", "in", "BARCODEINFO", ".", "items", "(", ")", ":", "if", "tags", ":", "if", "queryalignment", "."...
detects the annotations present in a SAM file, inspecting either the tags or the query names and returns a set of annotations present
[ "detects", "the", "annotations", "present", "in", "a", "SAM", "file", "inspecting", "either", "the", "tags", "or", "the", "query", "names", "and", "returns", "a", "set", "of", "annotations", "present" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L122-L135
18,797
vals/umis
umis/umis.py
detect_fastq_annotations
def detect_fastq_annotations(fastq_file): """ detects annotations preesent in a FASTQ file by examining the first read """ annotations = set() queryread = tz.first(read_fastq(fastq_file)) for k, v in BARCODEINFO.items(): if v.readprefix in queryread: annotations.add(k) re...
python
def detect_fastq_annotations(fastq_file): """ detects annotations preesent in a FASTQ file by examining the first read """ annotations = set() queryread = tz.first(read_fastq(fastq_file)) for k, v in BARCODEINFO.items(): if v.readprefix in queryread: annotations.add(k) re...
[ "def", "detect_fastq_annotations", "(", "fastq_file", ")", ":", "annotations", "=", "set", "(", ")", "queryread", "=", "tz", ".", "first", "(", "read_fastq", "(", "fastq_file", ")", ")", "for", "k", ",", "v", "in", "BARCODEINFO", ".", "items", "(", ")", ...
detects annotations preesent in a FASTQ file by examining the first read
[ "detects", "annotations", "preesent", "in", "a", "FASTQ", "file", "by", "examining", "the", "first", "read" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L137-L146
18,798
vals/umis
umis/umis.py
construct_transformed_regex
def construct_transformed_regex(annotations): """ construct a regex that matches possible fields in a transformed file annotations is a set of which keys in BARCODEINFO are present in the file """ re_string = '.*' if "cellular" in annotations: re_string += ":CELL_(?P<CB>.*)" if "mole...
python
def construct_transformed_regex(annotations): """ construct a regex that matches possible fields in a transformed file annotations is a set of which keys in BARCODEINFO are present in the file """ re_string = '.*' if "cellular" in annotations: re_string += ":CELL_(?P<CB>.*)" if "mole...
[ "def", "construct_transformed_regex", "(", "annotations", ")", ":", "re_string", "=", "'.*'", "if", "\"cellular\"", "in", "annotations", ":", "re_string", "+=", "\":CELL_(?P<CB>.*)\"", "if", "\"molecular\"", "in", "annotations", ":", "re_string", "+=", "\":UMI_(?P<MB>...
construct a regex that matches possible fields in a transformed file annotations is a set of which keys in BARCODEINFO are present in the file
[ "construct", "a", "regex", "that", "matches", "possible", "fields", "in", "a", "transformed", "file", "annotations", "is", "a", "set", "of", "which", "keys", "in", "BARCODEINFO", "are", "present", "in", "the", "file" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L148-L163
18,799
vals/umis
umis/umis.py
_infer_transform_options
def _infer_transform_options(transform): """ figure out what transform options should be by examining the provided regexes for keywords """ TransformOptions = collections.namedtuple("TransformOptions", ['CB', 'dual_index', 'triple_index', 'MB', 'SB']) ...
python
def _infer_transform_options(transform): """ figure out what transform options should be by examining the provided regexes for keywords """ TransformOptions = collections.namedtuple("TransformOptions", ['CB', 'dual_index', 'triple_index', 'MB', 'SB']) ...
[ "def", "_infer_transform_options", "(", "transform", ")", ":", "TransformOptions", "=", "collections", ".", "namedtuple", "(", "\"TransformOptions\"", ",", "[", "'CB'", ",", "'dual_index'", ",", "'triple_index'", ",", "'MB'", ",", "'SB'", "]", ")", "CB", "=", ...
figure out what transform options should be by examining the provided regexes for keywords
[ "figure", "out", "what", "transform", "options", "should", "be", "by", "examining", "the", "provided", "regexes", "for", "keywords" ]
e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c
https://github.com/vals/umis/blob/e8adb8486d9e9134ab8a6cad9811a7e74dcc4a2c/umis/umis.py#L306-L332