Spectrum modeling gateway import error "Unknown attribute <custom attribute> in model element com.aprisma.tie.parse.DeviceElement:"
search cancel

Spectrum modeling gateway import error "Unknown attribute <custom attribute> in model element com.aprisma.tie.parse.DeviceElement:"

book

Article ID: 448576

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

You are migrating to a new server via a modeling gateway export and import.  The old server has custom attributes and the SSdb catalogue has been copied to the new server but the import still fails to recognise those custom attributes and fails on the first one

  "Unknown attribute <custom attribute> in model element com.aprisma.tie.parse.DeviceElement:"

Environment

Any version of DX NetOps Spectrum with custom attributes in the catalogue.

Cause

The modelinggatewayresource.xml on the new server is missing the custom attributes added to allow it to parse and import them.

Resolution

On the new server, backup up the original .modelinggatewayresource.xml file.

Add the custom attributes that are in the catalog to the .modelinggatewayresource.xml file, inside the <Attributes ... /> element.

    <!-- Custom Attributes -->
        <xxxx1 attribute_id="0x12345" />
        <xxxx2 attribute_id="0x12344" />
        <xxxx3 attribute_id="0x12343" />
        <xxxx4 attribute_id="0x12342" />
        <xxxx5 attribute_id="0x12341" />