Someone asked me a few days ago if it would be possible to trigger Contrail operations via ansible. After a bit of looking around I did not locate anything already made so wanted to see for myself how doable this is. While keeping in mind that I never played with Python more than modifying a few things in scripts that I already found from others (I’m way better at reverse engineering and improving/changing what is already in place), I decided this would be a good challenge for starting things off.
As this was just my play as hobby from home and I desired to see if I can build something, the current module just does a few basic Virtual Network things:
- Add a Virtual Network
- Add to it route-targets, network, policy, subnets
- Delete the Virtual Network