This YANG module provides Configuration Rollback operations.
Copyright 2021 Rubicon Communications, LLC.
Example URL
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-conf-rollback:conf-rollback-cancel" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.conf.rollback.ConfRollbackRestartTimer
input | object (netgate.conf.rollback.confrollbackrestarttimer.Input) |
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-conf-rollback:conf-rollback-show-timer" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.conf.rollback.ConfRollbackStartTimer
input | object (netgate.conf.rollback.confrollbackstarttimer.Input) |
No response
Internal error
Example URL
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-conf-rollback:conf-rollback-trigger" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }