This YANG module provides a Netgate-defined data-model for VPP ARP proxy
Copyright 2025 Rubicon Communications, LLC.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-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)) }
{- "netgate-proxy-arp:proxy-arp-config": {
- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}, - "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
}
ARP proxy configuration
netgate.proxy.arp.ProxyArpConfig to be added to list
object (netgate.proxy.arp.proxyarpconfig.Ranges) | |
object (netgate.proxy.arp.proxyarpconfig.Interfaces) ARP proxy enabled interfaces |
{- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}, - "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
ARP proxy configuration
netgate.proxy.arp.ProxyArpConfig to be added or updated
object (netgate.proxy.arp.ProxyArpConfig) ARP proxy configuration |
{- "netgate-proxy-arp:proxy-arp-config": {
- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}, - "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-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)) }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-config/interfaces" 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)) }
{- "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
ARP proxy enabled interfaces
netgate.proxy.arp.proxyarpconfig.Interfaces to be added to list
netgate-proxy-arp:interface | Array of strings Interface |
{- "netgate-proxy-arp:interface": [
- "string"
]
}
ARP proxy enabled interfaces
netgate.proxy.arp.proxyarpconfig.Interfaces to be added or updated
object (netgate.proxy.arp.proxyarpconfig.Interfaces) ARP proxy enabled interfaces |
{- "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-config/interfaces" 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)) }
returns netgate.proxy.arp.proxyarpconfig.Ranges
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-config/ranges" 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)) }
{- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}
}
creates netgate.proxy.arp.proxyarpconfig.Ranges
netgate.proxy.arp.proxyarpconfig.Ranges to be added to list
Array of objects (netgate.proxy.arp.proxyarpconfig.ranges.Range) |
{- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}
creates or updates netgate.proxy.arp.proxyarpconfig.Ranges
netgate.proxy.arp.proxyarpconfig.Ranges to be added or updated
object (netgate.proxy.arp.proxyarpconfig.Ranges) |
{- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}
}
removes netgate.proxy.arp.proxyarpconfig.Ranges
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-config/ranges" 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)) }
creates netgate.proxy.arp.proxyarpconfig.ranges.Range
netgate.proxy.arp.proxyarpconfig.ranges.Range to be added to list
netgate-proxy-arp:low-address | string Low address |
netgate-proxy-arp:vrf-name | string VRF name |
netgate-proxy-arp:high-address | string High address |
{- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
returns netgate.proxy.arp.proxyarpconfig.ranges.Range
vrf-name required | string Id of range |
low-address required | string Id of range |
high-address required | string Id of range |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-config/ranges/range=%7Bvrf-name%7D,%7Blow-address%7D,%7Bhigh-address%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)) }
{- "netgate-proxy-arp:range": {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
}
creates or updates netgate.proxy.arp.proxyarpconfig.ranges.Range
vrf-name required | string Id of range |
low-address required | string Id of range |
high-address required | string Id of range |
netgate.proxy.arp.proxyarpconfig.ranges.Range to be added or updated
object (netgate.proxy.arp.proxyarpconfig.ranges.Range) |
{- "netgate-proxy-arp:range": {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
}
removes netgate.proxy.arp.proxyarpconfig.ranges.Range
vrf-name required | string Id of range |
low-address required | string Id of range |
high-address required | string Id of range |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-config/ranges/range=%7Bvrf-name%7D,%7Blow-address%7D,%7Bhigh-address%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)) }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-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)) }
{- "netgate-proxy-arp:proxy-arp-state": {
- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}, - "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
}
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-state/interfaces" 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)) }
{- "netgate-proxy-arp:interfaces": {
- "netgate-proxy-arp:interface": [
- "string"
]
}
}
returns netgate.proxy.arp.proxyarpstate.Ranges
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-state/ranges" 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)) }
{- "netgate-proxy-arp:ranges": {
- "netgate-proxy-arp:range": [
- {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
]
}
}
returns netgate.proxy.arp.proxyarpstate.ranges.Range
vrf-name required | string Id of range |
low-address required | string Id of range |
high-address required | string Id of range |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-proxy-arp:proxy-arp-state/ranges/range=%7Bvrf-name%7D,%7Blow-address%7D,%7Bhigh-address%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)) }
{- "netgate-proxy-arp:range": {
- "netgate-proxy-arp:low-address": "string",
- "netgate-proxy-arp:vrf-name": "string",
- "netgate-proxy-arp:high-address": "string"
}
}