This file contains hidden or 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
#!/usr/bin/env python | |
import sys | |
import XenAPI | |
from pprint import pprint | |
def main(sx): | |
vms = sx.VM.get_all() | |
real_vms = [ x for x in vms if not sx.VM.get_is_a_template(x)] | |
pprint ( [sx.VM.get_name_label(x) for x in real_vms] ) |
This file contains hidden or 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
{ | |
"zones": [ | |
{ | |
"name": "Sandbox-simulator", | |
"guestcidraddress": "10.1.0.0/16", | |
"dns1": "10.147.28.6", | |
"physical_networks": [ | |
{ | |
"broadcastdomainrange": "Zone", | |
"vlan": "100-200", |
NewerOlder