Skip to content

SystemBwDiameterPeerGetListRequest

Bases: OCIRequest

Requests the list of Diameter peers. The response is either SystemBwDiameterPeerGetListResponse22 or ErrorResponse

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemBwDiameterPeerGetListRequest(OCIRequest):
    """Requests the list of Diameter peers.
        The response is either SystemBwDiameterPeerGetListResponse22 or ErrorResponse

    Attributes:

    """

Responses

Bases: OCIDataResponse

Contains a 6 column table with column headings 'Instance', 'Identity', 'IP Address', 'Port', 'Enabled' and 'Secure'. One row is present for each peer.

Attributes:

peer_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemBwDiameterPeerGetListResponse(OCIDataResponse):
    """Contains a 6 column table with column headings 'Instance', 'Identity', 'IP Address', 'Port', 'Enabled' and 'Secure'. One row is present for each peer.

    Attributes:

        peer_table (OCITable):

    """

    peer_table: OCITable = field(metadata={"alias": "peerTable"})

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemBwDiameterPeerGetListRequest

client = Client()

command = SystemBwDiameterPeerGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemBwDiameterPeerGetListRequest")

print(response)