This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/**** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** | |
* remotehintpoll.php | |
* | |
* Created by Lorne Gaetz [email protected] | |
* | |
* Licensed under GNU GPL version 2 or any later verison. | |
* | |
* Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import salt.client | |
import salt.cloud | |
import sys | |
import time | |
def usage(): | |
print "Command Usage: python snapshot_datacenter.py <target> <form>" | |
print "Target: What vms you would like to target" | |
print "Form: What type your targeting, like Grains, Lists, Compounds, Etc." |