Hi all,
Ethan and I have been looking at the various changes that AI-related projects
were planning to make to the installadm command structure to understand what the
big picture might look like and how we might provide consistency among the
subcommands while leaving room for possible enhancements in the future. This has
resulted in some changes from what was originally proposed in the project design
documents. After discussing these changes with the various AI project teams and
with Frank, the list of revised subcommands is below.
Comments are appreciated by COB, Friday 12/10.
Thanks,
Sue
Highlights vs. b153:
Modifications:
1. create-service
o new options, all options/args optional
o new -d option for imagepath, should continue
to accept imagepath argument for backwards
compatibility
2. add-manifest
o renamed create-manifest, alias add-manifest
o add -d flag for default manifest
3. list: add -p option for SC profiles
4. set-criteria: add -p option for SC profiles
5. delete-service: o removed -x option
o can use alias for service to delete
6. delete-client: o add -e <macaddr>
o continue to accept <macaddr> as argument for
backwards compatibility
New subcommands:
1. set-service (ISIM)
2. update-service (ISIM)
3. create-profile (SC profiles)
4. delete-profile (SC profiles)
5. export (SC profiles/Derived Manifests)
6. validate (SC profiles)
7. set-server-auth (SC profiles)
8. list-server-auth (SC profiles)
9. set-client-auth (SC profiles)
10. list-client-auth (SC profiles)
PROPOSED USAGE:
create-service [-b|--boot-args <boot property>=<value>,...]
[-n|--name <svcname>]
[-i|--ip-start <dhcp_ip_start>]
[-c|--count-ip <count_of_ipaddr>]
[-s|--src <pkg(5) URL|image ISO file>]
[-a|--arch <architecture>]
[-y|--noprompt]
[-d|--imagepath <imagepath>]
set-service -o <prop>=<value>... <svcname>
prop=value can be:
global-menu=true|false (for ISIM "set")
name=<new_svcname> (was ISIM installadm rename-service)
alias=<alias_name> (was ISIM installadm alias-service)
default-manifest=<manifest/script> (for Derived Manifests)
update-service [-s|--src <pkg(5) URL] <svcname>
delete-service [-r|--remove-aliases] <svcname>
set-server-auth -M |
{-k <ssl_key> -s <ssl_certificate> [-a <CA certificate>]} |
{-a <CA certificate>} |
{-d <CA certificate_hash>} |
{-r <CA certificate_hash>}
list-server-auth
set-client-auth {-k <ssl_key> -s <ssl_certificate> [-a <CA certificate>]} |
{-a <CA certificate>} |
{-d <CA certificate_hash>} |
{-r <CA certificate_hash> -e <macaddr> | -n <svcname> | -g } |
{-H -e <macaddr> | -n <svcname> | -g} -t 3des|aes |
{-E -e <macaddr> | -n <svcname> | -g}
list-client-auth [-H] [-E] [-e <macaddr> | -n <svcname> | -g]
list [-n <svcname>] [-c] [-m] [-p]
enable <svcname>
disable [-t] <svcname>
create-client [-b <property>=<value>,...]
-e <macaddr> -n <svcname> [-t <imagepath>]
delete-client -e <macaddr>
create-manifest -n <svcname> -f <manifest_file> [-d] [-m <manifest_name>]
[-c <criteria=value|range> ... | -C <criteria.xml>]
delete-manifest -n <svcname> -m <manifest_name>
create-profile -n <svcname> -f <profile|command> [-f <profile|command>...]
[-c <criteria=value|range> ... | -C <criteria.xml>]
delete-profile -n <svcname> -p <profile_name>
set-criteria -n <svcname> {-m <manifest_name> | -p <profile_name>}
-a|-c|-r <criteria=value|range> ... | -C <criteria.xml>
export -n <svcname> -m <manifest_name> | -p <profile_name>
validate -n <svcname> -P <profile_file> | -p <profile_name>
help [<subcommand>]
CURRENT B153:
usage: installadm <subcommand> <args> ...
create-service [-b <property>=<value>,...]
[-f <bootfile>] [-n <svcname>]
[-i <dhcp_ip_start> -c <count_of_ipaddr>]
[-s <srcimage>] <targetdir>
delete-service [-x] <svcname>
list [-n <svcname>] [-c] [-m]
enable <svcname>
disable [-t] <svcname>
create-client [-b <property>=<value>,...]
-e <macaddr> -n <svcname> [-t <imagepath>]
delete-client <macaddr>
add-manifest -n <svcname> -f <manifest_file> [-m <manifest_name>]
[-c <criteria=value|range> ... | -C <criteria.xml>]
delete-manifest -m <manifest_name> -n <svcname>
set-criteria -m <manifest_name> -n <svcname>
-a|-c <criteria=value|range> ... | -C <criteria.xml>
help [<subcommand>]
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss