Extrapolating from the example on page 42 of the user guide, I suspect that all you need to add is a “partition” keyword/value pair to the payload. For example, if you’re importing the policy into the “foo” partition, then you’d add
payload['partition']='~foo'
to the sample shown above.
The tilde (
~
) in front of the partition name seems to be absolutely necessary.
It does load policy to Common partition. Even all relations to Common partition are replaced by proper one within XML file. It works correctly via GUI, but not via TMSH.
What should I do to be able to use either Rest call or TMSH to be able to upload ASM policy to proper partition? Btw, version I use 12.1.3.3