This YANG module provides a Netgate-defined data-model for IP Flow Information Export.
Copyright 2019-2024 Rubicon Communications, LLC.
Configuration for IP Flow Information Export. Data is structured the same as the ietf-ipfix-psamp model.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-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-ipfix:ipfix-config": {
- "netgate-ipfix:observationPoint": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:observationDomainId": "1",
- "netgate-ipfix:ifName": [
- "string"
], - "netgate-ipfix:direction": "ingress"
}
], - "netgate-ipfix:exportingProcess": [
- {
- "netgate-ipfix:destination": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
], - "netgate-ipfix:name": "string"
}
], - "netgate-ipfix:cache": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
], - "netgate-ipfix:selectionProcess": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selector": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
]
}
]
}
}
Configuration for IP Flow Information Export. Data is structured the same as the ietf-ipfix-psamp model.
netgate.ipfix.IpfixConfig to be added to list
Array of objects (netgate.ipfix.ipfixconfig.ObservationPoint) Observation Point of the Monitoring Device. | |
Array of objects (netgate.ipfix.ipfixconfig.ExportingProcess) Exporting Process of the Monitoring Device. | |
Array of objects (netgate.ipfix.ipfixconfig.Cache) Cache of the Monitoring Device. | |
Array of objects (netgate.ipfix.ipfixconfig.SelectionProcess) Selection Process of the Monitoring Device. |
{- "netgate-ipfix:observationPoint": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:observationDomainId": "1",
- "netgate-ipfix:ifName": [
- "string"
], - "netgate-ipfix:direction": "ingress"
}
], - "netgate-ipfix:exportingProcess": [
- {
- "netgate-ipfix:destination": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
], - "netgate-ipfix:name": "string"
}
], - "netgate-ipfix:cache": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
], - "netgate-ipfix:selectionProcess": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selector": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
]
}
]
}
Configuration for IP Flow Information Export. Data is structured the same as the ietf-ipfix-psamp model.
netgate.ipfix.IpfixConfig to be added or updated
object (netgate.ipfix.IpfixConfig) Configuration for IP Flow Information Export. Data is structured the same as the ietf-ipfix-psamp model. |
{- "netgate-ipfix:ipfix-config": {
- "netgate-ipfix:observationPoint": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:observationDomainId": "1",
- "netgate-ipfix:ifName": [
- "string"
], - "netgate-ipfix:direction": "ingress"
}
], - "netgate-ipfix:exportingProcess": [
- {
- "netgate-ipfix:destination": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
], - "netgate-ipfix:name": "string"
}
], - "netgate-ipfix:cache": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
], - "netgate-ipfix:selectionProcess": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selector": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
]
}
]
}
}
Configuration for IP Flow Information Export. Data is structured the same as the ietf-ipfix-psamp model.
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-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)) }
Cache of the Monitoring Device.
netgate.ipfix.ipfixconfig.Cache to be added to list
netgate-ipfix:name | string Name of the cache. Only one set of timeoutCache parameters is supported. Cache list is for compatibility with IETF model. |
object (netgate.ipfix.ipfixconfig.cache.TimeoutCache) Flow expiration after active and idle timeout. |
{- "netgate-ipfix:name": "string",
- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
Cache of the Monitoring Device.
name required | string Id of cache |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/cache=%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)) }
{- "netgate-ipfix:cache": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
}
Cache of the Monitoring Device.
name required | string Id of cache |
netgate.ipfix.ipfixconfig.Cache to be added or updated
object (netgate.ipfix.ipfixconfig.Cache) Cache of the Monitoring Device. |
{- "netgate-ipfix:cache": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
}
Cache of the Monitoring Device.
name required | string Id of cache |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/cache=%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)) }
Flow expiration after active and idle timeout.
name required | string Id of cache |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/cache=%7Bname%7D/timeoutCache" 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-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
Flow expiration after active and idle timeout.
name required | string Id of cache |
netgate.ipfix.ipfixconfig.cache.TimeoutCache to be added to list
netgate-ipfix:activeTimeout | integer <int64> The time in seconds after which a flow is expired even if packets are still received. |
netgate-ipfix:idleTimeout | integer <int64> The time in seconds after which a flow is expired if no more packets mathing the flow are received. |
{- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
Flow expiration after active and idle timeout.
name required | string Id of cache |
netgate.ipfix.ipfixconfig.cache.TimeoutCache to be added or updated
object (netgate.ipfix.ipfixconfig.cache.TimeoutCache) Flow expiration after active and idle timeout. |
{- "netgate-ipfix:timeoutCache": {
- "netgate-ipfix:activeTimeout": 0,
- "netgate-ipfix:idleTimeout": 0
}
}
Flow expiration after active and idle timeout.
name required | string Id of cache |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/cache=%7Bname%7D/timeoutCache" 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)) }
Exporting Process of the Monitoring Device.
netgate.ipfix.ipfixconfig.ExportingProcess to be added to list
Array of objects (netgate.ipfix.ipfixconfig.exportingprocess.Destination) List of export destinations. | |
netgate-ipfix:name | string Name of exporting process. |
{- "netgate-ipfix:destination": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
], - "netgate-ipfix:name": "string"
}
Exporting Process of the Monitoring Device.
name required | string Id of exportingProcess |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/exportingProcess=%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)) }
{- "netgate-ipfix:exportingProcess": {
- "netgate-ipfix:destination": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
], - "netgate-ipfix:name": "string"
}
}
Exporting Process of the Monitoring Device.
name required | string Id of exportingProcess |
netgate.ipfix.ipfixconfig.ExportingProcess to be added or updated
object (netgate.ipfix.ipfixconfig.ExportingProcess) Exporting Process of the Monitoring Device. |
{- "netgate-ipfix:exportingProcess": {
- "netgate-ipfix:destination": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
], - "netgate-ipfix:name": "string"
}
}
Exporting Process of the Monitoring Device.
name required | string Id of exportingProcess |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/exportingProcess=%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)) }
List of export destinations.
name required | string Id of exportingProcess |
netgate.ipfix.ipfixconfig.exportingprocess.Destination to be added to list
netgate-ipfix:name | string Name of the destination. |
object (netgate.ipfix.ipfixconfig.exportingprocess.destination.UdpExporter) UDP parameters. |
{- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
List of export destinations.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%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-ipfix:destination": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
}
List of export destinations.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
netgate.ipfix.ipfixconfig.exportingprocess.Destination to be added or updated
object (netgate.ipfix.ipfixconfig.exportingprocess.Destination) List of export destinations. |
{- "netgate-ipfix:destination": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
}
List of export destinations.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%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)) }
UDP parameters.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter" 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-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
UDP parameters.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
netgate.ipfix.ipfixconfig.exportingprocess.destination.UdpExporter to be added to list
netgate-ipfix:destinationPort | integer <int32> Port of the Collection Process. |
netgate-ipfix:destinationIPAddress | string IP address of the Collection Process. |
netgate-ipfix:sourceIPAddress | string Source IP address used by the Exporting Process. |
netgate-ipfix:checksum | boolean UDP checksum calculation enable flag. |
netgate-ipfix:vrf | string VRF to use to resolve collector address. |
netgate-ipfix:templateRefreshTimeout | integer <int64> Default: 600 Sets interval after which templates are resent. |
netgate-ipfix:maxPacketSize | integer <int32> Maximum size of IP packets sent to the Collector. |
{- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
UDP parameters.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
netgate.ipfix.ipfixconfig.exportingprocess.destination.UdpExporter to be added or updated
object (netgate.ipfix.ipfixconfig.exportingprocess.destination.UdpExporter) UDP parameters. |
{- "netgate-ipfix:udpExporter": {
- "netgate-ipfix:destinationPort": 0,
- "netgate-ipfix:destinationIPAddress": "string",
- "netgate-ipfix:sourceIPAddress": "string",
- "netgate-ipfix:checksum": true,
- "netgate-ipfix:vrf": "string",
- "netgate-ipfix:templateRefreshTimeout": 600,
- "netgate-ipfix:maxPacketSize": 0
}
}
UDP parameters.
name required | string Id of exportingProcess |
destination-name required | string Id of destination |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter" 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)) }
Observation Point of the Monitoring Device.
netgate.ipfix.ipfixconfig.ObservationPoint to be added to list
netgate-ipfix:name | string Name of observation point. |
netgate-ipfix:observationDomainId | string (netgate.ipfix.ObservationDomainId) Value: "1" |
netgate-ipfix:ifName | Array of strings Interface where packets are observed. |
netgate-ipfix:direction | string (netgate.ipfix.Direction) Enum: "ingress" "egress" "both" |
{- "netgate-ipfix:name": "string",
- "netgate-ipfix:observationDomainId": "1",
- "netgate-ipfix:ifName": [
- "string"
], - "netgate-ipfix:direction": "ingress"
}
Observation Point of the Monitoring Device.
name required | string Id of observationPoint |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/observationPoint=%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)) }
{- "netgate-ipfix:observationPoint": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:observationDomainId": "1",
- "netgate-ipfix:ifName": [
- "string"
], - "netgate-ipfix:direction": "ingress"
}
}
Observation Point of the Monitoring Device.
name required | string Id of observationPoint |
netgate.ipfix.ipfixconfig.ObservationPoint to be added or updated
object (netgate.ipfix.ipfixconfig.ObservationPoint) Observation Point of the Monitoring Device. |
{- "netgate-ipfix:observationPoint": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:observationDomainId": "1",
- "netgate-ipfix:ifName": [
- "string"
], - "netgate-ipfix:direction": "ingress"
}
}
Observation Point of the Monitoring Device.
name required | string Id of observationPoint |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/observationPoint=%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)) }
Selection Process of the Monitoring Device.
netgate.ipfix.ipfixconfig.SelectionProcess to be added to list
netgate-ipfix:name | string Name of selection process. |
Array of objects (netgate.ipfix.ipfixconfig.selectionprocess.Selector) Selectors that define action of selection process. |
{- "netgate-ipfix:name": "string",
- "netgate-ipfix:selector": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
]
}
Selection Process of the Monitoring Device.
name required | string Id of selectionProcess |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/selectionProcess=%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)) }
{- "netgate-ipfix:selectionProcess": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selector": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
]
}
}
Selection Process of the Monitoring Device.
name required | string Id of selectionProcess |
netgate.ipfix.ipfixconfig.SelectionProcess to be added or updated
object (netgate.ipfix.ipfixconfig.SelectionProcess) Selection Process of the Monitoring Device. |
{- "netgate-ipfix:selectionProcess": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selector": [
- {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
]
}
}
Selection Process of the Monitoring Device.
name required | string Id of selectionProcess |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/selectionProcess=%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)) }
Selectors that define action of selection process.
name required | string Id of selectionProcess |
netgate.ipfix.ipfixconfig.selectionprocess.Selector to be added to list
netgate-ipfix:name | string Name of selector. |
netgate-ipfix:selectAll | string Select all packets. |
object (netgate.ipfix.ipfixconfig.selectionprocess.selector.method.filtermatch.FilterMatch) Property match filtering. |
{- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
Selectors that define action of selection process.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/selectionProcess=%7Bname%7D/selector=%7Bselector-name%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-ipfix:selector": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
}
Selectors that define action of selection process.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
netgate.ipfix.ipfixconfig.selectionprocess.Selector to be added or updated
object (netgate.ipfix.ipfixconfig.selectionprocess.Selector) Selectors that define action of selection process. |
{- "netgate-ipfix:selector": {
- "netgate-ipfix:name": "string",
- "netgate-ipfix:selectAll": "string",
- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
}
Selectors that define action of selection process.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/selectionProcess=%7Bname%7D/selector=%7Bselector-name%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)) }
Property match filtering.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterMatch" 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-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
Property match filtering.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
netgate.ipfix.ipfixconfig.selectionprocess.selector.method.filtermatch.FilterMatch to be added to list
netgate-ipfix:value | string (netgate.ipfix.IpfixFilterIpVersionNum) Enum: "4" "6" |
netgate-ipfix:ieId | string (netgate.ipfix.IpfixFilterEid) Value: "60" |
{- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
Property match filtering.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
netgate.ipfix.ipfixconfig.selectionprocess.selector.method.filtermatch.FilterMatch to be added or updated
object (netgate.ipfix.ipfixconfig.selectionprocess.selector.method.filtermatch.FilterMatch) Property match filtering. |
{- "netgate-ipfix:filterMatch": {
- "netgate-ipfix:value": "4",
- "netgate-ipfix:ieId": "60"
}
}
Property match filtering.
name required | string Id of selectionProcess |
selector-name required | string Id of selector |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipfix:ipfix-config/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterMatch" 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)) }