Searched refs:mediators (Results 1 - 9 of 9) sorted by relevance
/pkg/src/modules/client/ |
H A D | plandesc.py | 386 def mediators(self): member in class:PlanDescription 388 the mediators. The first element in the tuple is the name of 401 def get_mediation(mediators, m): 405 if m in mediators: 406 mimpl = mediators[m].get( 408 mimpl_ver = mediators[m].get( 415 mimpl_source = mediators[m].get( 418 mver = mediators[m].get("version") 421 mver_source = mediators[m].get( 454 for m, ver, impl in sorted(self.mediators) [all...] |
H A D | imageconfig.py | 203 cfg.PropertySection("mediators", properties=[ 289 self.mediators = {} 505 for entry, value in six.iteritems(idx.get("mediators", {})): 510 self.mediators.setdefault(mname, {})[mtype] = value 595 self.remove_section("mediators") 598 for mname, mvalues in six.iteritems(self.mediators): 603 self.set_property("mediators", pname, mvalue) 1495 return self.img_cfg.mediators 1497 def __set_mediators(self, mediators): 1498 self.img_cfg.mediators 1500 mediators = property(__get_mediators, __set_mediators) variable in class:BlendedConfig [all...] |
H A D | image.py | 1806 if not mediator or mediator not in self.cfg.mediators: 1810 cfg_med_version = self.cfg.mediators[mediator].get( 1812 cfg_med_impl = self.cfg.mediators[mediator].get( 1893 self.cfg.mediators = new_mediators 3972 noexecute, mediators): 3973 """Take a dictionary of mediators and attempt to assemble an 3981 # Compute dict of changing mediators. 3982 new_mediators = copy.deepcopy(mediators) 3983 old_mediators = self.cfg.mediators
|
H A D | api.py | 526 def mediators(self): member in class:ImageInterface 527 """A dictionary of the mediators and their configured version 557 for m, mvalues in six.iteritems(self._img.cfg.mediators): 833 # with @mediators. 1233 "mediators": (iter, True), 1604 # changing mediators 2077 def gen_plan_set_mediators(self, mediators, backup_be=None, 2086 for mediators as specified in the provided dictionary. Once an 2094 'mediators' is a dict of dicts of the mediators t [all...] |
H A D | imageplan.py | 1034 """Determine the changes needed to set the specified mediators. 1036 'new_mediators' is a dict of dicts of the mediators to set 1064 cfg_mediators = self.image.cfg.mediators 1076 # Any mediators being set this 1166 # these mediators, so no packages needed loading. 3723 # If we're not changing mediators, and we're not changing 3724 # variants or facets (which could affect mediators), and we're 3725 # not changing any packages (which could affect mediators), 3726 # then mediators can't be changing so there's nothing to do 3732 # return the currently configured mediators [all...] |
/pkg/src/tests/cli/ |
H A D | t_pkg_mediated.py | 284 def __assert_mediation_matches(self, expected, mediators=misc.EmptyI): 285 self.pkg("mediator -H -F tsv {0}".format(" ".join(mediators))) 289 mediators=misc.EmptyI, su_wrap=False): 290 self.pkg("mediator -H -F tsv -a {0}".format(" ".join(mediators)), 458 # Verify exit 1 if no mediators matched. 462 # Verify exit 3 (partial failure) if only some mediators match. 792 # properly handles multiple mediators in an image.
|
H A D | t_pkg_hydrate.py | 710 def assert_mediation_matches(expected, mediators=misc.EmptyI): 711 self.pkg("mediator -H -F tsv {0}".format(" ".join(mediators))) 728 WARNING: pkg mediators may not be accurately shown when one or more publishers have been dehydrated. The correct mediation will be applied when the publishers are rehydrated.
|
/pkg/src/ |
H A D | client.py | 647 disp.extend(["fmris", "mediators", "services", 698 mediators = plan.get_mediators() variable 707 if varcets or mediators: 711 cond_show(_("Mediators to change:"), "{0:d}", len(mediators)) 757 if "mediators" in disp and mediators: 761 logger.info(_("Changed mediators:")) 762 for x in mediators: 1032 mediators_changed = plan.mediators 1089 "change-mediators" [all...] |
/pkg/src/modules/ |
H A D | manifest.py | 401 mediators referenced explicitly or implicitly from self.actions. 412 mediators = self._actions_to_dict(gen_references) 413 for mediation, mvariants in six.iteritems(mediators): 871 # generate actions that contain mediators
|
Completed in 291 milliseconds