netgate-proxy-arp API (25.06)

This YANG module provides a Netgate-defined data-model for VPP ARP proxy

Copyright 2025 Rubicon Communications, LLC.

proxy-arp-config

returns netgate.proxy.arp.ProxyArpConfig

ARP proxy configuration

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:proxy-arp-config": {
    }
}

creates netgate.proxy.arp.ProxyArpConfig

ARP proxy configuration

Request Body schema: application/yang-data+json

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

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:ranges": {
    },
  • "netgate-proxy-arp:interfaces": {
    }
}

creates or updates netgate.proxy.arp.ProxyArpConfig

ARP proxy configuration

Request Body schema: application/yang-data+json

netgate.proxy.arp.ProxyArpConfig to be added or updated

object (netgate.proxy.arp.ProxyArpConfig)

ARP proxy configuration

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:proxy-arp-config": {
    }
}

removes netgate.proxy.arp.ProxyArpConfig

ARP proxy configuration

Responses

Request samples

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))

}

returns netgate.proxy.arp.proxyarpconfig.Interfaces

ARP proxy enabled interfaces

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:interfaces": {
    }
}

creates netgate.proxy.arp.proxyarpconfig.Interfaces

ARP proxy enabled interfaces

Request Body schema: application/yang-data+json

netgate.proxy.arp.proxyarpconfig.Interfaces to be added to list

netgate-proxy-arp:interface
Array of strings

Interface

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:interface": [
    ]
}

creates or updates netgate.proxy.arp.proxyarpconfig.Interfaces

ARP proxy enabled interfaces

Request Body schema: application/yang-data+json

netgate.proxy.arp.proxyarpconfig.Interfaces to be added or updated

object (netgate.proxy.arp.proxyarpconfig.Interfaces)

ARP proxy enabled interfaces

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:interfaces": {
    }
}

removes netgate.proxy.arp.proxyarpconfig.Interfaces

ARP proxy enabled interfaces

Responses

Request samples

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

returns netgate.proxy.arp.proxyarpconfig.Ranges

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:ranges": {
    }
}

creates netgate.proxy.arp.proxyarpconfig.Ranges

creates netgate.proxy.arp.proxyarpconfig.Ranges

Request Body schema: application/yang-data+json

netgate.proxy.arp.proxyarpconfig.Ranges to be added to list

Array of objects (netgate.proxy.arp.proxyarpconfig.ranges.Range)

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:range": [
    ]
}

creates or updates netgate.proxy.arp.proxyarpconfig.Ranges

creates or updates netgate.proxy.arp.proxyarpconfig.Ranges

Request Body schema: application/yang-data+json

netgate.proxy.arp.proxyarpconfig.Ranges to be added or updated

object (netgate.proxy.arp.proxyarpconfig.Ranges)

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:ranges": {
    }
}

removes netgate.proxy.arp.proxyarpconfig.Ranges

removes netgate.proxy.arp.proxyarpconfig.Ranges

Responses

Request samples

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

creates netgate.proxy.arp.proxyarpconfig.ranges.Range

Request Body schema: application/yang-data+json

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

Responses

Request samples

Content type
application/yang-data+json
{
  • "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

returns netgate.proxy.arp.proxyarpconfig.ranges.Range

path Parameters
vrf-name
required
string

Id of range

low-address
required
string

Id of range

high-address
required
string

Id of range

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:range": {
    }
}

creates or updates netgate.proxy.arp.proxyarpconfig.ranges.Range

creates or updates netgate.proxy.arp.proxyarpconfig.ranges.Range

path Parameters
vrf-name
required
string

Id of range

low-address
required
string

Id of range

high-address
required
string

Id of range

Request Body schema: application/yang-data+json

netgate.proxy.arp.proxyarpconfig.ranges.Range to be added or updated

object (netgate.proxy.arp.proxyarpconfig.ranges.Range)

Responses

Request samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:range": {
    }
}

removes netgate.proxy.arp.proxyarpconfig.ranges.Range

removes netgate.proxy.arp.proxyarpconfig.ranges.Range

path Parameters
vrf-name
required
string

Id of range

low-address
required
string

Id of range

high-address
required
string

Id of range

Responses

Request samples

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))

}

proxy-arp-state

returns netgate.proxy.arp.ProxyArpState

ARP proxy state

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:proxy-arp-state": {
    }
}

returns netgate.proxy.arp.proxyarpstate.Interfaces

ARP proxy enabled interfaces

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:interfaces": {
    }
}

returns netgate.proxy.arp.proxyarpstate.Ranges

returns netgate.proxy.arp.proxyarpstate.Ranges

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:ranges": {
    }
}

returns netgate.proxy.arp.proxyarpstate.ranges.Range

returns netgate.proxy.arp.proxyarpstate.ranges.Range

path Parameters
vrf-name
required
string

Id of range

low-address
required
string

Id of range

high-address
required
string

Id of range

Responses

Request samples

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))

}

Response samples

Content type
application/yang-data+json
{
  • "netgate-proxy-arp:range": {
    }
}