I am trying to import a set of NAT policies which exist in a csv file. The file's headings are the following:
package | position | original-source | translated-source | original-destination | translated-destination | original-service | translated-service | enabled |
The problem occurs when I run the following command:
mgmt_cli add nat-rule --batch [csv file]
And I get dozens of lines of this output:
message: "Requested object [x] not found"
And yet I know for a fact that all of the objects referenced already exist in the database since I had imported every other type of object first, leaving the NAT policies deliberately as the last item to import.
Has anybody else had problems with this? I am also struggling to find any examples on bulk-importing nat policies via api so any help would be much appreciated.
Thanks in advance.