How to discover an IPv6 pingable device through a Secure Domain Connector (SDC) using the CA Spectrum REST API.
search cancel

How to discover an IPv6 pingable device through a Secure Domain Connector (SDC) using the CA Spectrum REST API.

book

Article ID: 448065

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

To create a pingable model for an IPv6 device, use the create-model REST API endpoint.

The request must include the model type, device target IPv6 address, a descriptive name, and the IPv4 address of the SDC responsible for the discovery at a minimum.   Additional attributes can be provided as needed.

Environment

Spectrum 24.5.x, 25.4.x

Resolution

Prerequisites

  • mtypeid: Use 0x10290 (Pingable) for the model type.
  • SDC Address: Ensure you have the IPv4 address of the SDC.
  • IPv6 Address: The target IPv6 address of the device to be discovered.
  • Spectrum Credentials: Valid username and password for API authentication.

curl -k -X POST -u "[USER]:[PASSWORD]" \
"https://[SPECTRUM_HOST]:8443/spectrum/restful/model?\
mtypeid=0x10290&attr=0x12d7f&val=[IPV6_ADDRESS]&attr=0x1006e&val=[DEVICE_NAME]&attr=0x12d83&val=[SDC_IPV4_ADDRESS]"

Verification

A successful creation will return an XML response containing the Model Handle (mh) of the newly created device.

Additional Information

Attribute Definitions

Attribute IDDescriptionExample Value

0x10290

ModelType NamePingable - Non-Definable Value

0x12d7f

Target IPv6 Address1234:1Ab:1234:1ab:123:abcd:ab12:ab12
0x1006eModel Name / Hostnamespectrum-test-system
0x12d83SDC IPv4 Address10.1.2.3

 

REST API Operations