{"type":"api","title":"Restore Host Configuration","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["Host Action Operation"],"summary":"Restore Host Configuration","description":"Restore the configuration and virtual machines from the backup file","operationId":"data_hostaction_hostaction_restore_post","produces":["application/yang-data+json"],"parameters":[{"name":"restore","in":"body","description":"Restore configuration and VMs from backup file","required":true,"schema":{"type":"object","properties":{"hostaction:restore-option":{"description":"Performs a restore for everything except connectivity (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"except-connectivity","enum":["except-connectivity"]},"hostaction:file-path":{"description":"Path to backup file (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"hostaction:uniqueMacUid":{"description":"Enable to create unique MAC Addrs and UID on VM restore and retain SNMP Engine ID (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"[null]"}},"$$ref":"#/definitions/data_hostaction_hostaction_restore-post-input"},"$$ref":"#/parameters/data_hostaction_hostaction_restore-post-input"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{},"$$ref":"#/definitions/data_hostaction_hostaction_restore-post-output"}},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_hostaction_hostaction_restore_post","consumes":["application/yang-data+json"],"method":"post","path":"/data/hostaction:hostaction/restore"}}