Implenting Idempotency using HPE IMC
Try saying that five times fast.
What if those VLANS already exist?
There’s a concept called idempotency which can be loosely explained as
Make sure it’s like this. If it’s not like this, make it like this. If it’s already like this. Don’t do anything
Essentially, it’s a way to declare the desired configuration state of whatever it is you’re trying to configure. If the configuration state of that server, or switch or router is already in that state, than just leave it alone.
It’s a way to ensure that configuration drift doesn’t happen.
So if there’s some rabbid network administrator with a console cable running around laughing maniacly as they randomly changes things… this will help you keep them in check.

Idempotent VLANs
So we’re going to look at the last example here where we did the following:
- grabbed the jinja template for vlans directly from a GIThub repository
- grabbed the desired vlans file directly from a GIThub repository
- renderd the Jinja template using the values from the vlan file to get our final config
- used the pyhpeimc library to push the commands through the executecmd RESTful API
Import Libraries
You know the drill here, Continue reading

Address east-west security by adopting and operationalizing micro-segmentation.
The story is evolving as NFV reaches real-world deployment.