Searched refs:smf (Results 1 - 7 of 7) sorted by relevance

/pkg/src/tests/api/
H A Dt_smf.py34 import pkg.smf as smf namespace
357 """Test that the smf interface performs as expected."""
366 smf.restart("svc:/system/test_restart_svc:default")
371 smf.restart("svc:/system/test_restart_svc:default",
377 smf.restart("svc:/system/test_restart_svc:default",
383 smf.restart("svc:/system/test_restart_svc:default",
389 smf.refresh("svc:/system/test_refresh_svc:default")
394 smf.refresh("svc:/system/test_refresh_svc:default",
400 smf
[all...]
H A Dt_dependencies.py45 import pkg.flavor.smf_manifest as smf namespace
816 create_default_service - to test smf manifest parsing code in pkg5 -->
2114 instances, deps = smf.parse_smf_manifest(
2123 instances, deps = smf.parse_smf_manifest(
2147 self.assertTrue("org.opensolaris.smf.fmri" in pkg_attrs,
2148 "Missing org.opensolaris.smf.fmri key for {0}".format(
2151 found = len(pkg_attrs["org.opensolaris.smf.fmri"])
2158 fmri in pkg_attrs["org.opensolaris.smf.fmri"],
2779 smf.SMFManifestDependency._clear_cache()
/pkg/src/modules/client/
H A Dactuator.py27 import pkg.smf as smf namespace
217 for smf in check_val(d[a]):
218 merge.setdefault(a, set()).add(smf)
224 return [(fmri, smf)
226 for smf in merge[fmri]
236 return [(fmri, smf) for fmri, smf in self.get_list()
237 if smf not in ["true", "false"]]
240 return "\n".join(" {0:>16}: {1:}".format(fmri, smf)
[all...]
H A Dimageconfig.py45 import pkg.smf as smf namespace
1122 host = smf.get_prop(
1125 port = smf.get_prop(
1128 except smf.NonzeroExitException as e:
1130 # smf, try using pkg/sysrepo.
1132 host = smf.get_prop(
1136 port = smf.get_prop(
1139 except smf.NonzeroExitException as e:
H A Dimage.py74 import pkg.smf as smf namespace
704 smf.get_state(
706 (smf.SMF_SVC_TMP_ENABLED, smf.SMF_SVC_ENABLED):
707 smf.refresh([
H A Dapi.py104 from pkg.smf import NonzeroExitException
/pkg/src/
H A Ddepot-config.py54 import pkg.smf as smf namespace
148 [--smf-fmri smf_pkg_depot_fmri] ] )
604 smf_instances = smf.check_fmris(None, "{0}:*".format(PKG_SERVER_SVC))
608 repo_root = smf.get_prop(fmri, "pkg/inst_root")
609 writable_root = smf.get_prop(fmri, "pkg/writable_root")
612 state = smf.get_prop(fmri, "restarter/state")
613 readonly = smf.get_prop(fmri, "pkg/readonly")
614 standalone = smf.get_prop(fmri, "pkg/standalone")
668 """Update the smf prop
[all...]

Completed in 129 milliseconds