Searched defs:os (Results 1 - 11 of 11) sorted by relevance

/solaris-userland-s11u3/components/openstack/cinder/files/solaris/
H A Dsolarisfc.py19 import os namespace
153 if host_dev is not None and os.path.exists(host_dev):
H A Dsolarisiscsi.py19 import os namespace
133 if os.path.exists(host_device):
H A Dnfs.py22 import os namespace
106 os.chmod(path, 0o660)
110 mode = os.stat(path).st_mode
111 os.chmod(path, mode | 0o666)
115 mode = os.stat(path).st_mode
116 os.chmod(path, mode | 0o600)
119 os.unlink(path)
129 st = os.statvfs(mount_point)
H A Dzfs.py24 import os namespace
325 flags = fcntl.fcntl(p1.stdout, fcntl.F_GETFL) & (~os.O_NONBLOCK)
/solaris-userland-s11u3/components/openstack/common/files/
H A Dopenstack_common.py25 import os namespace
38 cwd = os.getcwd()
39 os.chdir(directory)
48 os.chdir(cwd)
/solaris-userland-s11u3/components/ruby/puppet/files/
H A Dupdate_smf.py10 # or http://www.opensolaris.org/os/licensing.
41 import os namespace
99 {"prog": os.path.basename(sys.argv[0]), "msg": msg})
303 if not os.path.isfile(options.config):
307 if not os.path.isfile(options.smf_xml):
311 if os.path.exists(options.output):
/solaris-userland-s11u3/tools/python/pkglint/
H A Duserland.py10 # or http://www.opensolaris.org/os/licensing.
35 import os.path namespace
47 path = os.getenv('PROTO_PATH')
52 solaris_ver = os.getenv('SOLARIS_VERSION', '')
229 result = os.path.dirname(path)
231 for frag in target.split(os.sep):
233 result = os.path.dirname(result)
237 result = os.path.join(result, frag)
320 pdir = os.path.dirname(relative_dir)
329 pdir = os
[all...]
/solaris-userland-s11u3/components/openstack/horizon/files/
H A Dlocal_settings.py1 import os namespace
123 os.path.join(LOCAL_PATH, '.secret_key_store'))
357 #POLICY_FILES_PATH = os.path.join(ROOT_PATH, "conf")
618 # $glance --os-image-api-version 2 help md-namespace-import
/solaris-userland-s11u3/components/openstack/neutron/files/services/vpn/device_drivers/
H A Dsolaris_ipsec.py88 import os namespace
121 TEMPLATE_PATH = os.path.dirname(__file__)
141 default=os.path.join(
147 default=os.path.join(
153 default=os.path.join(
159 default=os.path.join(
165 default=os.path.join(
427 self.config_dir = os.path.join(
429 self.etc_dir = os.path.join(self.config_dir, 'etc/inet')
495 return os
[all...]
/solaris-userland-s11u3/components/openstack/ironic/files/drivers/modules/
H A Dsolaris_ipmitool.py26 import os namespace
602 if os.path.exists(image_path):
603 image_size_1 = os.path.getsize(image_path)
610 if os.path.exists(image_path):
611 image_size_2 = os.path.getsize(image_path)
647 if not os.path.exists(ref_filename):
677 os.remove(ref_filename)
682 os.remove(image_path)
709 temp_uri = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
713 if not os
[all...]
/solaris-userland-s11u3/components/openstack/nova/files/solariszones/
H A Ddriver.py24 import os namespace
494 self._pagesize = os.sysconf('SC_PAGESIZE')
497 self._uname = os.uname()
666 return self._pages_to_kb(os.sysconf('SC_PHYS_PAGES'))
708 return os.sysconf('SC_NPROCESSORS_ONLN')
997 if os.path.exists(image):
1405 fp = os.path.join(sc_dir, 'evs-network-%d.xml' % netid)
1421 path = os.path.join(CONF.zones_suspend_path, '%{zonename}')
1444 for root, dirs, files in os.walk(sc_dir):
1446 fileroot = etree.parse(os
[all...]

Completed in 79 milliseconds