Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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. 

Options

Code Block
--policy <policy> | --all         aka -p / -a

...

Update the database with the contents of kasp.xml; identical to "update kasp".

Command: policy list

...

 (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.)

Command: policy list

Code Block
ods-ksmutil policy list

List policies available.

Command: policy purge (experimental)

Code Block
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.

Command: key list

Code Block
ods-ksmutil key list

...