DX NetOps

Expand all | Collapse all

Spectrum Ansible module

  • 1.  Spectrum Ansible module

    Posted 03-29-2018 02:04 PM

    I created an ansible module to add/remove devices to Spectrum. I'd appreciate if anyone could test and give your suggestions and feedbacks. I plan to add additional modules. Right now I'm working on one to put or remove a device from maintenance mode.

     

    Here is the documentation:

    spectrum_device - Creates/deletes devices in CA Spectrum. — Ansible Documentation 

     

    It is in the devel branch, so if anyone wants to use it will need to install ansible from the github repo:

    GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems … 



  • 2.  Re: Spectrum Ansible module

    Posted 04-03-2018 10:59 AM

    Good to Hear!! 



  • 3.  Re: Spectrum Ansible module

    Posted 03-27-2019 05:47 PM

    My company  has a need to put servers in and out of maintenance mode.  Do you think this would be the appropriate project/module to add that functionality?



  • 4.  Re: Spectrum Ansible module

    Posted 03-28-2019 08:38 AM

    Hey Brian,

     

    You could use RESTFul Web Services to do this.

     

    https://docops.ca.com/ca-spectrum/10-3-1/en/programming/web-services-api-reference

     

    -Matt



  • 5.  Re: Spectrum Ansible module

    Posted 04-24-2019 12:05 PM

    I plan to update the Spectrum Ansible module with new features. For now you can use this python package to put devices in/out of maintenance:

     

    https://github.com/orgito/spectrum-client

     

    The README includes an example of that.