Action |
Method |
Payload Required |
API |
To reset to factory default |
POST |
No |
|
- Example: POST Factory Default Reset All
- Example: POST Factory Default Reset All Except Images
- Example: POST Factory Default Reset All Except Images Connectivity
Example: POST Factory Default Reset All
curl -v -u 'admin:Admin123$' -H Accept:application/vnd.yang.data+xml -H Content-Type:application/vnd.yang.data+xml -X
POST https://209.165.201.1/api/operations/factory-default-reset/all
* About to connect() to 209.165.201.1:443
* Connected to 209.165.201.1 (209.165.201.1) port 443
* SSL connection using EDH-RSA-DES-CBC3-SHA
* Server certificate:
* subject: /CN=Cisco-Enterprise-NFVIS-Self-Signed-Certificate
* start date: 2017-02-21 20:10:51 GMT
* expire date: 2027-02-19 20:10:51 GMT
* common name: Cisco-Enterprise-NFVIS-Self-Signed-Certificate (does not match '209.165.201.1')
* issuer: /CN=Cisco-Enterprise-NFVIS-Self-Signed-Certificate
> POST /api/operations/factory-default-reset/all HTTP/1.1
Authorization: Basic YWRtaW46QWRtaW4xMjMk
User-Agent: curl/7.9.6 (i686-pc-linux-gnu) libcurl 7.9.6 (OpenSSL 0.9.6)
Host: 209.165.201.1
Pragma: no-cache
Accept:application/vnd.yang.data+xml
Content-Type:application/vnd.yang.data+xml
Example: POST Factory Default Reset All Except Images
curl -v -u 'admin:Admin123$' -H Accept:application/vnd.yang.data+xml -H Content-Type:application/vnd.yang.data+xml -X
POST https://209.165.201.1/api/operations/factory-default-reset/all-except-images
* About to connect() to 209.165.201.1:443
* Connected to 209.165.201.1 (209.165.201.1) port 443
* SSL connection using EDH-RSA-DES-CBC3-SHA
* Server certificate:
* subject: /CN=Cisco-Enterprise-NFVIS-Self-Signed-Certificate
* start date: 2017-02-21 20:10:51 GMT
* expire date: 2027-02-19 20:10:51 GMT
* common name: Cisco-Enterprise-NFVIS-Self-Signed-Certificate (does not match '209.165.201.1')
* issuer: /CN=Cisco-Enterprise-NFVIS-Self-Signed-Certificate
> POST /api/operations/factory-default-reset/all-except-images HTTP/1.1
Authorization: Basic YWRtaW46QWRtaW4xMjMk
User-Agent: curl/7.9.6 (i686-pc-linux-gnu) libcurl 7.9.6 (OpenSSL 0.9.6)
Host: 209.165.201.1
Pragma: no-cache
Accept:application/vnd.yang.data+xml
Content-Type:application/vnd.yang.data+xml
Example: POST Factory Default Reset All Except Images Connectivity
curl -v -u 'admin:Admin123$' -H Accept:application/vnd.yang.data+xml -H Content-Type:application/vnd.yang.data+xml -X
POST https://209.165.201.1/api/operations/factory-default-reset/all-except-images-connectivity
* About to connect() to 209.165.201.1:443
* Connected to 209.165.201.1 (209.165.201.1) port 443
* SSL connection using EDH-RSA-DES-CBC3-SHA
* Server certificate:
* subject: /CN=Cisco-Enterprise-NFVIS-Self-Signed-Certificate
* start date: 2017-02-21 20:10:51 GMT
* expire date: 2027-02-19 20:10:51 GMT
* common name: Cisco-Enterprise-NFVIS-Self-Signed-Certificate (does not match '209.165.201.1')
* issuer: /CN=Cisco-Enterprise-NFVIS-Self-Signed-Certificate
> POST /api/operations/factory-default-reset/all-except-images-connectivity HTTP/1.1
Authorization: Basic YWRtaW46QWRtaW4xMjMk
User-Agent: curl/7.9.6 (i686-pc-linux-gnu) libcurl 7.9.6 (OpenSSL 0.9.6)
Host: 209.165.201.1
Pragma: no-cache
Accept:application/vnd.yang.data+xml
Content-Type:application/vnd.yang.data+xml