This YANG module provides a Netgate-defined data-model for Bidirectional Forwarding Detection (BFD) data.
Copyright 2017-2020 Rubicon Communications, LLC.
Example URL
The bfd-config node contains BFD keys and session.
netgate.bfd.BfdConfig
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config" req, _ := http.NewRequest("GET", 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
The bfd-config node contains BFD keys and session.
netgate.bfd.BfdConfig to be added to list
netgate-bfd:bfd-config | object (netgate.bfd.BfdConfig) |
Object created
Internal error
Object already exists
Example URL
The bfd-config node contains BFD keys and session.
netgate.bfd.BfdConfig to be added or updated
netgate-bfd:bfd-config-wrapper | object (netgate.bfd.BfdConfigWrapper) |
Object created
Object modified
Internal error
Example URL
The bfd-config node contains BFD keys and session.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config" req, _ := http.NewRequest("DELETE", 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
Host BFD interface configuration table.
netgate.bfd.bfdconfig.BfdTable
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config/bfd-table" req, _ := http.NewRequest("GET", 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
Host BFD interface configuration table.
netgate.bfd.bfdconfig.BfdTable to be added to list
bfd-table | object (netgate.bfd.bfdconfig.BfdTable) |
Object created
Internal error
Object already exists
Example URL
Host BFD interface configuration table.
netgate.bfd.bfdconfig.BfdTable to be added or updated
netgate-bfd:bfd-table-wrapper | object (netgate.bfd.bfdconfig.BfdTableWrapper) |
Object created
Object modified
Internal error
Example URL
Host BFD interface configuration table.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config/bfd-table" req, _ := http.NewRequest("DELETE", 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
Each session has its own unique name.
netgate.bfd.bfdconfig.bfdtable.BfdSession to be added to list
bfd-session | object (netgate.bfd.bfdconfig.bfdtable.BfdSession) |
Object created
Internal error
Object already exists
Example URL
Each session has its own unique name.
name required | string Id of bfd-session |
netgate.bfd.bfdconfig.bfdtable.BfdSession
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config/bfd-table/bfd-session=%7Bname%7D" req, _ := http.NewRequest("GET", 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
Each session has its own unique name.
name required | string Id of bfd-session |
netgate.bfd.bfdconfig.bfdtable.BfdSession to be added or updated
netgate-bfd:bfd-session-wrapper | object (netgate.bfd.bfdconfig.bfdtable.BfdSessionWrapper) |
Object created
Object modified
Internal error
Example URL
Each session has its own unique name.
name required | string Id of bfd-session |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config/bfd-table/bfd-session=%7Bname%7D" req, _ := http.NewRequest("DELETE", 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
This table contains BFD Conf Keys.
netgate.bfd.bfdconfig.KeyTable
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-bfd:bfd-config/key-table" req, _ := http.NewRequest("GET", 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
This table contains BFD Conf Keys.
netgate.bfd.bfdconfig.KeyTable to be added to list
key-table | object (netgate.bfd.bfdconfig.KeyTable) |
Object created
Internal error
Object already exists
Example URL
This table contains BFD Conf Keys.
netgate.bfd.bfdconfig.KeyTable to be added or updated
netgate-bfd:key-table-wrapper | object (netgate.bfd.bfdconf |