models_v2.cassandra_specific_port_info module

class models_v2.cassandra_specific_port_info.CassandraSpecificPortInfo(native_transport_port=None, rpc_port=None, storage_port=None, ssl_storage_port=None, jmx_port=None)[source]

Bases: object

Implementation of the ‘Cassandra specific port info.’ model.

Contains info about specific cassandra ports.

Attributes:

native_transport_port (int): Port for the CQL native transport. rpc_port (int): Remote Procedure Call (RPC) port for general mechanism

for client-server applications.

storage_port (int): TCP port for data. Internally used by Cassandra

bulk loader.

ssl_storage_port (int): SSL port for encrypted communication.

Internally used by the Cassandra bulk loader.

jmx_port (int): Cassandra management port.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.