I wrote a script in perl using the Spectrum::CLI module to go ahead and create 
the device. If it already exists an error will come back and say so and give 
you the model handle that it has. The exception will be if you create the 
device on a different landscape if you have a distributed installation.

On the global collection side, if you created it with criteria so it updates 
itself every 24 hours or whatever you chose, then just update the attributes on 
the newly created device with the information the GC needs. Then you can go 
back and send a command to force the GC to run and update and you're done.

Hope this was helpful.

Cesar Guzman
XO Communications


From: Amitay Ben-ishay [mailto:[email protected]]
Sent: Wednesday, November 18, 2015 11:15 AM
To: spectrum <[email protected]>
Subject: [spectrum] working with CLI

Hi all,
I'm not familiar with Spectrum CLI so I need you help.

I'de like to check if a device exist in spectrum
If not create it

Than to add the device to an existing GC

How should I do it using CLI?

Best Regards, Amitay.
__________________
Amitay Ben-Ishay
Senior Software Architecture & Product Manager

[cid:[email protected]]


Work:  +972-54-7814588
Mobile:+972-54-9909149
Fax:     +972-153-54-9909149
Email: [email protected]<mailto:[email protected]>
LinkedIN: Amitay's Profile<http://www.linkedin.com/in/amitay>


P please consider the environment before printing this email




------------------------------------------------------------
This message contains information that may be confidential or privileged.
If you are not the intended recipient, you may not use, copy or disclose
to anyone any of the information in this message. If you have received
this message and are not the intended recipient, kindly notify the sender
and delete this message from your computer.
*         --To unsubscribe from spectrum, send email to 
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum 
[email protected]<mailto:[email protected]>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to