Lines Matching defs:name
69 help='Host name for AI Server.'),
107 OPT_GROUP = cfg.OptGroup(name='ai',
112 name="solaris_ipmi",
135 'ai_service': _("Automated Install service name to use. Optional."),
143 "name@origin. Required if fmri property is set."),
387 for name, option in ipmitool.BRIDGING_OPTIONS:
388 if driver_info[name] is not None:
390 args.append(driver_info[name])
820 """Get ISO name and UUID
847 tf = tarfile.open(name=mount_dir)
986 "Missing archive name in archive_uri (%s).") % (archive_uri))
1114 "Missing URI name (%s).") % (uri))
1207 "Cannot specify publisher name in fmri (%s).") % (fmri))
1211 "Missing IPS package name in fmri (%s).") % (fmri))
1213 # Validate package name
1223 """Validate custom publisher name/origins for format
1226 to be installed from, in the format name@origin. e.g.
1235 # Split publishers into list of name@origin publishers
1239 # Split into name origin
1240 name, origin = pub.split('@', 1)
1244 "name@origin (%s).") % (pub))
1246 if not name or not origin:
1249 "name@origin (%s).") % (pub))
1252 if not valid_pub_prefix(name):
1254 "Malformed IPS publisher name (%s).") % (name))
1267 :param obj_name: manifest/profile name
1283 LOG.error(_LE("Fetch and create failed for %s: name: %s: %s") %
1542 _("AI Service %s does not exist.") % (aiservice.name))
1736 _("AI Service %s does not exist.") % (aiservice.name))
1781 # Node. Manifest name will be MAC address stripped of colons
1809 # Profile name starts with MAC address, assuming ironic
1894 LOG.info(_LI("AI Service %s already removed.") % (aiservice.name))
2280 cmd = ["exec", fh.name]
2307 cmd = ["exec", fh.name]
2344 def __init__(self, task, name):
2348 :param name: AI Service name
2352 self.name = name
2396 ai_cmd = "/usr/bin/pfexec /usr/sbin/installadm list -n " + self.name
2402 if self.name != self._parse_service_name(stdout):
2429 LOG.debug("AIService.create_service(): %s" % (self.name))
2464 self.name = uuid
2491 LOG.debug("AIService.delete_service():name: %s" % (self.name))
2493 " -r -y -n " + self.name
2499 _("Failed to delete AI Service %s") % (self.name))
2509 :param publishers: IPS publishers list in name@origin format
2515 mac + " -n " + self.name
2596 self.name + " -m " + manifest_name + " -f " + manifest_path + \
2610 :param manifest_name: name of manifest to remove
2616 manifest_name + " -n " + self.name
2629 :param profile)_name: profile name to create
2640 self.name + " -p " + profile_name + " -f " + profile_path + \
2658 :param profile_name: name of profile to remove
2664 profile_name + " -n " + self.name
2712 ai_cmd = "/usr/bin/pfexec /usr/sbin/installadm list -vn " + self.name
2723 """Return service name and client from installadm list -e output
2745 """Given installadm list -n output, parse out service name
2818 ai_cmd = "/usr/bin/pfexec /usr/sbin/installadm list -mn " + self.name
2821 " for service %s") % (self.name))
2830 ai_cmd = "/usr/bin/pfexec /usr/sbin/installadm list -pn " + self.name
2833 "service %s") % (self.name))
2845 "service %s") % (self.name))