Update database by importing contents of kasp.xml, zonelist.xml or the repository list from conf.xml into a database (or all three). In each case For zonelist and conf the update replaces the existing contents of the database (but note the keys are not updated by any of these commands). This means For kasp the update replaces or adds to the existing content, but does not delete any policies. The command 'ods-ksmutil' policy purge can be used to remove polices with no zones associated with them.
Note that 'update kasp' is equivalent to 'import policy' and 'update zonelist' is equivalent to 'import zonelist'.
Export a policy from the database in kasp.xml format.
--policy <policy> | --all aka -p / -a
Update the database with the contents of kasp.xml; identical to "update kasp".
(Note this does not delete any policies. The command 'ods-ksmutil' policy purge can be used to remove polices with no zones associated with them.)
ods-ksmutil policy list
List policies available.
ods-ksmutil policy purge
Delete all policies and associated keys if there are no zones currently using the policy. This command should be used with caution and it is recommended to backup your database before using it.
ods-ksmutil key list