[ixpmanager] IXPManager API accessed by Ansible inventory plugin/script
Barry O'Donovan (INEX)
barry.odonovan at inex.ie
Mon Dec 19 21:27:50 GMT 2022
Hi Thomas,
please see: https://github.com/inex/ixp-manager-provisioning
It's SaltStack rather than Ansible but it should give you an idea on how
to do it.
API's available:
-
https://ixpmanager.example.org/api/v4/provisioner/layer2interfaces/switch-name/{switchname}.yaml
-
https://ixpmanager.example.org/api/v4/provisioner/layer3interfaces/switch-name/{switchname}.yaml
-
https://ixpmanager.example.org/api/v4/provisioner/routing/switch-name/{switchname}.yaml
-
https://ixpmanager.example.org/api/v4/provisioner/switch/switch-name/{switchname}.yaml
-
https://ixpmanager.example.org/api/v4/provisioner/vlans/switch-name/{switchname}.yaml
You should be able to build out a complete IXP config with these.
- Barry
> Thomas Fritz via ixpmanager <mailto:ixpmanager at inex.ie>
> 11 December 2022 at 23:13
> Hi!
>
> Anyone here already using Ansible inventory plugin/script to grab the
> switches interface data from the IXPManager API…
> … and willing to share that code?
>
> Thanks,
> Thomas
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
--
Kind regards,
Barry O'Donovan
Consultant
For and on behalf of INEX
https://www.inex.ie/support/
+353 1 531 3339
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20221219/2309c5f4/attachment.htm>
More information about the ixpmanager
mailing list