This YANG module provides a Netgate-defined data-model for VXLAN data.
Copyright 2018-2020 Rubicon Communications, LLC.
Example URL
Configuration for VXLAN tunnels.
netgate.vxlan.VxlanConfig
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-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
Configuration for VXLAN tunnels.
netgate.vxlan.VxlanConfig to be added to list
netgate-vxlan:vxlan-config | object (netgate.vxlan.VxlanConfig) |
Object created
Internal error
Object already exists
Example URL
Configuration for VXLAN tunnels.
netgate.vxlan.VxlanConfig to be added or updated
netgate-vxlan:vxlan-config-wrapper | object (netgate.vxlan.VxlanConfigWrapper) |
Object created
Object modified
Internal error
Example URL
Configuration for VXLAN tunnels.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-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
VXLAN table.
netgate.vxlan.vxlanconfig.VxlanTable
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-config/vxlan-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
VXLAN table.
netgate.vxlan.vxlanconfig.VxlanTable to be added to list
vxlan-table | object (netgate.vxlan.vxlanconfig.VxlanTable) |
Object created
Internal error
Object already exists
Example URL
VXLAN table.
netgate.vxlan.vxlanconfig.VxlanTable to be added or updated
netgate-vxlan:vxlan-table-wrapper | object (netgate.vxlan.vxlanconfig.VxlanTableWrapper) |
Object created
Object modified
Internal error
Example URL
VXLAN table.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-config/vxlan-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
VXLAN tunnel name.
netgate.vxlan.vxlanconfig.vxlantable.Tunnel to be added to list
tunnel | object (netgate.vxlan.vxlanconfig.vxlantable.Tunnel) |
Object created
Internal error
Object already exists
Example URL
VXLAN tunnel name.
name required | string Id of tunnel |
netgate.vxlan.vxlanconfig.vxlantable.Tunnel
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-config/vxlan-table/tunnel=%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
VXLAN tunnel name.
name required | string Id of tunnel |
netgate.vxlan.vxlanconfig.vxlantable.Tunnel to be added or updated
netgate-vxlan:tunnel-wrapper | object (netgate.vxlan.vxlanconfig.vxlantable.TunnelWrapper) |
Object created
Object modified
Internal error
Example URL
VXLAN tunnel name.
name required | string Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-config/vxlan-table/tunnel=%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
State of the VXLAN tunnels.
netgate.vxlan.VxlanState
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-state" 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
VXLAN table.
netgate.vxlan.vxlanstate.VxlanTable
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-state/vxlan-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
VXLAN tunnel name.
name required | string Id of tunnel |
netgate.vxlan.vxlanstate.vxlantable.Tunnel
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-vxlan:vxlan-state/vxlan-table/tunnel=%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)) }