This YANG module provides global ip configuration such as ip-reassembly.
Copyright 2019-2020 Rubicon Communications, LLC.
Example URL
returns netgate.ip.IpConfig
netgate.ip.IpConfig
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-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
creates netgate.ip.IpConfig
netgate.ip.IpConfig to be added to list
netgate-ip:ip-config | object (netgate.ip.IpConfig) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ip.IpConfig
netgate.ip.IpConfig to be added or updated
netgate-ip:ip-config-wrapper | object (netgate.ip.IpConfigWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ip.IpConfig
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-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
returns netgate.ip.ipconfig.Reassembly
netgate.ip.ipconfig.Reassembly
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly" 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
creates netgate.ip.ipconfig.Reassembly
netgate.ip.ipconfig.Reassembly to be added to list
reassembly | object (netgate.ip.ipconfig.Reassembly) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ip.ipconfig.Reassembly
netgate.ip.ipconfig.Reassembly to be added or updated
netgate-ip:reassembly-wrapper | object (netgate.ip.ipconfig.ReassemblyWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ip.ipconfig.Reassembly
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly" 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
returns netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/full" 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
creates netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping to be added to list
full | object (netgate.ip.ReassemblyGrouping) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping to be added or updated
full | object (netgate.ip.ReassemblyGrouping) |
Object created
Object modified
Internal error
Example URL
removes netgate.ip.ReassemblyGrouping
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/full" 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
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/full/ipv4" 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
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4 to be added to list
ipv4 | object (netgate.ip.reassemblygrouping.Ipv4) |
Object created
Internal error
Object already exists
Example URL
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4 to be added or updated
ipv4 | object (netgate.ip.reassemblygrouping.Ipv4) |
Object created
Object modified
Internal error
Example URL
Ip4-reassembly settings.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/full/ipv4" 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
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/full/ipv6" 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
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6 to be added to list
ipv6 | object (netgate.ip.reassemblygrouping.Ipv6) |
Object created
Internal error
Object already exists
Example URL
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6 to be added or updated
ipv6 | object (netgate.ip.reassemblygrouping.Ipv6) |
Object created
Object modified
Internal error
Example URL
Ip6-reassembly settings.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/full/ipv6" 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
returns netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/virtual" 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
creates netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping to be added to list
full | object (netgate.ip.ReassemblyGrouping) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping to be added or updated
full | object (netgate.ip.ReassemblyGrouping) |
Object created
Object modified
Internal error
Example URL
removes netgate.ip.ReassemblyGrouping
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/virtual" 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
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/virtual/ipv4" 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
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4 to be added to list
ipv4 | object (netgate.ip.reassemblygrouping.Ipv4) |
Object created
Internal error
Object already exists
Example URL
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4 to be added or updated
ipv4 | object (netgate.ip.reassemblygrouping.Ipv4) |
Object created
Object modified
Internal error
Example URL
Ip4-reassembly settings.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/virtual/ipv4" 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
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/virtual/ipv6" 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
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6 to be added to list
ipv6 | object (netgate.ip.reassemblygrouping.Ipv6) |
Object created
Internal error
Object already exists
Example URL
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6 to be added or updated
ipv6 | object (netgate.ip.reassemblygrouping.Ipv6) |
Object created
Object modified
Internal error
Example URL
Ip6-reassembly settings.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-config/reassembly/virtual/ipv6" 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
returns netgate.ip.IpState
netgate.ip.IpState
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-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
returns netgate.ip.ipstate.Reassembly
netgate.ip.ipstate.Reassembly
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly" 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
returns netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly/full" 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
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly/full/ipv4" 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
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly/full/ipv6" 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
returns netgate.ip.ReassemblyGrouping
netgate.ip.ReassemblyGrouping
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly/virtual" 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
Ip4-reassembly settings.
netgate.ip.reassemblygrouping.Ipv4
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly/virtual/ipv4" 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
Ip6-reassembly settings.
netgate.ip.reassemblygrouping.Ipv6
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ip:ip-state/reassembly/virtual/ipv6" 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)) }