Creating an Archive
The URI to create an archive is:
/data/icx-openconfig-archive:archive-top/management/act-create
Supported HTTP Operations
/data/icx-openconfig-archive:archive-top/management/act-create
Request body:
{"icx-openconfig-archive:input":
{"creation-type": "rename-archive",
"archive-name1": "ICX7K_ARCHIVE_00",
"archive-name2": "ext_ICX7K_ARCHIVE_00"}}
Response body: If successful,HTTP/1.1 204 No Content
If there is an error,HTTP/1.1 500 Internal Server Error
The
archive-name1 must exist on a target system and the archive-name2 does not
exist.
/data/icx-openconfig-archive:archive-top/management/act-create
Request body:
{"icx-openconfig-archive:input":
{"creation-type": "copy-archive",
"archive-name1": "ICX7K_ARCHIVE_00",
"archive-name2": "ext_ICX7K_ARCHIVE_10"}}
Response body: If successful,HTTP/1.1 204 No Content
If there is an error,HTTP/1.1 500 Internal Server Error
The
archive-name1 must exist on a target system and the archive-name2 does not
exist.
/data/icx-openconfig-archive:archive-top/management/act-create
Request body:{"icx-openconfig-archive:input":
{"creation-type": "copy-runcfg",
"archive-name1": "ICX7K_ARCHIVE_30"}}
Response body: If successful,HTTP/1.1 204 No Content
If there is an error,HTTP/1.1 500 Internal Server Error
The
archive-name1 must not exist on a target system.