Searched defs:json (Results 1 - 2 of 2) sorted by relevance

/solaris-userland/components/openstack/horizon/files/
H A Dmerge_manifest.py3 import json namespace
12 final_manifest.update(json.load(infile))
15 with open('static/dashboard/manifest.json', 'w') as outfile:
16 json.dump(final_manifest, outfile, indent=4)
/solaris-userland/components/openstack/common/files/
H A Dopenstack_common.py29 import json namespace
249 """Convert a json ovsdb return value to native python object"""
263 cmd = ["/usr/sbin/ovs-vsctl", "-t", OVS_VSCTL_TIMEOUT, "-f", "json"]
274 ovsinfo = json.loads(output)
276 raise RuntimeError("Failed to load %s as json: %s" % (output, err))

Completed in 575 milliseconds