Panorama / Client / describe_device

describe_device#

Panorama.Client.describe_device(**kwargs)#

Returns information about a device.

See also: AWS API Documentation

Request Syntax

response = client.describe_device(
    DeviceId='string'
)
Parameters:

DeviceId (string) –

[REQUIRED]

The device’s ID.

Return type:

dict

Returns:

Response Syntax

{
    'AlternateSoftwares': [
        {
            'Version': 'string'
        },
    ],
    'Arn': 'string',
    'Brand': 'AWS_PANORAMA'|'LENOVO',
    'CreatedTime': datetime(2015, 1, 1),
    'CurrentNetworkingStatus': {
        'Ethernet0Status': {
            'ConnectionStatus': 'CONNECTED'|'NOT_CONNECTED'|'CONNECTING',
            'HwAddress': 'string',
            'IpAddress': 'string'
        },
        'Ethernet1Status': {
            'ConnectionStatus': 'CONNECTED'|'NOT_CONNECTED'|'CONNECTING',
            'HwAddress': 'string',
            'IpAddress': 'string'
        },
        'LastUpdatedTime': datetime(2015, 1, 1),
        'NtpStatus': {
            'ConnectionStatus': 'CONNECTED'|'NOT_CONNECTED'|'CONNECTING',
            'IpAddress': 'string',
            'NtpServerName': 'string'
        }
    },
    'CurrentSoftware': 'string',
    'Description': 'string',
    'DeviceAggregatedStatus': 'ERROR'|'AWAITING_PROVISIONING'|'PENDING'|'FAILED'|'DELETING'|'ONLINE'|'OFFLINE'|'LEASE_EXPIRED'|'UPDATE_NEEDED'|'REBOOTING',
    'DeviceConnectionStatus': 'ONLINE'|'OFFLINE'|'AWAITING_CREDENTIALS'|'NOT_AVAILABLE'|'ERROR',
    'DeviceId': 'string',
    'LatestAlternateSoftware': 'string',
    'LatestDeviceJob': {
        'ImageVersion': 'string',
        'JobType': 'OTA'|'REBOOT',
        'Status': 'PENDING'|'IN_PROGRESS'|'VERIFYING'|'REBOOTING'|'DOWNLOADING'|'COMPLETED'|'FAILED'
    },
    'LatestSoftware': 'string',
    'LeaseExpirationTime': datetime(2015, 1, 1),
    'Name': 'string',
    'NetworkingConfiguration': {
        'Ethernet0': {
            'ConnectionType': 'STATIC_IP'|'DHCP',
            'StaticIpConnectionInfo': {
                'DefaultGateway': 'string',
                'Dns': [
                    'string',
                ],
                'IpAddress': 'string',
                'Mask': 'string'
            }
        },
        'Ethernet1': {
            'ConnectionType': 'STATIC_IP'|'DHCP',
            'StaticIpConnectionInfo': {
                'DefaultGateway': 'string',
                'Dns': [
                    'string',
                ],
                'IpAddress': 'string',
                'Mask': 'string'
            }
        },
        'Ntp': {
            'NtpServers': [
                'string',
            ]
        }
    },
    'ProvisioningStatus': 'AWAITING_PROVISIONING'|'PENDING'|'SUCCEEDED'|'FAILED'|'ERROR'|'DELETING',
    'SerialNumber': 'string',
    'Tags': {
        'string': 'string'
    },
    'Type': 'PANORAMA_APPLIANCE_DEVELOPER_KIT'|'PANORAMA_APPLIANCE'
}

Response Structure

  • (dict) –

    • AlternateSoftwares (list) –

      Beta software releases available for the device.

      • (dict) –

        Details about a beta appliance software update.

        • Version (string) –

          The appliance software version.

    • Arn (string) –

      The device’s ARN.

    • Brand (string) –

      The device’s maker.

    • CreatedTime (datetime) –

      When the device was created.

    • CurrentNetworkingStatus (dict) –

      The device’s networking status.

      • Ethernet0Status (dict) –

        The status of Ethernet port 0.

        • ConnectionStatus (string) –

          The device’s connection status.

        • HwAddress (string) –

          The device’s physical address.

        • IpAddress (string) –

          The device’s IP address.

      • Ethernet1Status (dict) –

        The status of Ethernet port 1.

        • ConnectionStatus (string) –

          The device’s connection status.

        • HwAddress (string) –

          The device’s physical address.

        • IpAddress (string) –

          The device’s IP address.

      • LastUpdatedTime (datetime) –

        When the network status changed.

      • NtpStatus (dict) –

        Details about a network time protocol (NTP) server connection.

        • ConnectionStatus (string) –

          The connection’s status.

        • IpAddress (string) –

          The IP address of the server.

        • NtpServerName (string) –

          The domain name of the server.

    • CurrentSoftware (string) –

      The device’s current software version.

    • Description (string) –

      The device’s description.

    • DeviceAggregatedStatus (string) –

      A device’s aggregated status. Including the device’s connection status, provisioning status, and lease status.

    • DeviceConnectionStatus (string) –

      The device’s connection status.

    • DeviceId (string) –

      The device’s ID.

    • LatestAlternateSoftware (string) –

      The most recent beta software release.

    • LatestDeviceJob (dict) –

      A device’s latest job. Includes the target image version, and the job status.

      • ImageVersion (string) –

        The target version of the device software.

      • JobType (string) –

        The job’s type.

      • Status (string) –

        Status of the latest device job.

    • LatestSoftware (string) –

      The latest software version available for the device.

    • LeaseExpirationTime (datetime) –

      The device’s lease expiration time.

    • Name (string) –

      The device’s name.

    • NetworkingConfiguration (dict) –

      The device’s networking configuration.

      • Ethernet0 (dict) –

        Settings for Ethernet port 0.

        • ConnectionType (string) –

          How the device gets an IP address.

        • StaticIpConnectionInfo (dict) –

          Network configuration for a static IP connection.

          • DefaultGateway (string) –

            The connection’s default gateway.

          • Dns (list) –

            The connection’s DNS address.

            • (string) –

          • IpAddress (string) –

            The connection’s IP address.

          • Mask (string) –

            The connection’s DNS mask.

      • Ethernet1 (dict) –

        Settings for Ethernet port 1.

        • ConnectionType (string) –

          How the device gets an IP address.

        • StaticIpConnectionInfo (dict) –

          Network configuration for a static IP connection.

          • DefaultGateway (string) –

            The connection’s default gateway.

          • Dns (list) –

            The connection’s DNS address.

            • (string) –

          • IpAddress (string) –

            The connection’s IP address.

          • Mask (string) –

            The connection’s DNS mask.

      • Ntp (dict) –

        Network time protocol (NTP) server settings.

        • NtpServers (list) –

          NTP servers to use, in order of preference.

          • (string) –

    • ProvisioningStatus (string) –

      The device’s provisioning status.

    • SerialNumber (string) –

      The device’s serial number.

    • Tags (dict) –

      The device’s tags.

      • (string) –

        • (string) –

    • Type (string) –

      The device’s type.

Exceptions