When disabling VNA integration, Spectrum models in VNA are deleted.
search cancel

When disabling VNA integration, Spectrum models in VNA are deleted.

book

Article ID: 191718

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

In Spectrum release 10.3.x, when the VNA integration is disabled, all the devices modeled in VNA are deleted.

Environment

Release : 10.3.x, 10.4.0

Component : Virtual Network Assurance For CA Spectrum

Cause

This happens because in Spectrum 10.3.x, when VNA integration is enabled, the models which existed before the integration are moved to VNA Container.
And when VNA integration is disabled, all VNA models are deleted.

Resolution

This is a known behavior in Spectrum 10.3.x and 10.4.0

A fix to retain all SNMP models in Spectrum after disabling VNA integration is included in Spectrum 10.4.1:
...
Symptom: When VNA Integration is enabled, the models which existed before integration are moving to VNA Container.

Resolution: Code changes are made to ensure that the models that existed before the VNA integration are not moved to VNA Container. (DE411730, 1329530, 10.4.1)
...

With this fix, the Spectrum models (SNMP models) will not be deleted after VNA integration is disabled.
All logical VNA models will be deleted after disabling the integration.


To avoid this problem in Spectrum 10.3.x and retain the models after disabling VNA integration, the following workaround can be used:

set the 'is_Existed_Model' attribute (0x133a9) to 'Yes' for all Spectrum models before disabling VNA integration.

Additional Information

Refer to the 'Issues Resolved' section of the Spectrum documentation:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-1/release-information/issues-resolved.html

Sample script that can be used to destroy the models - be sure to change the CLIPATH entry to be your actual Spectrum install area:

#!/bin/sh
echo " CA Incorporated One CA Plaza Islandia, NY 11749 Copyright (c) 2017 CA, Inc. All rights reserved. IN NO EVENT SHALL CA INCORPORATED BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT OF OR RELATED TO THIS SOFTWARE, EVEN IF CA INCORPORATED HAS BEEN ADVISED OF, KNOWN, OR SHOULD HAVE KNOWN, THE POSSIBILITY OF SUCH DAMAGES.

"CLISESSID=$$export CLISESSID
CLIPATH=/usr/Spectrum/vnmsh
$CLIPATH/connect
for a in `./show models| grep SDN_ |awk '{ print $1 }'`
do
./destroy model -n mh=$a
done
./disconnect