This module defines configuration and operational state data for defined sets (sets of IPv4 prefixes, sets of IPv6 prefixes, sets of ports, etc). These sets are used, for example, in network access control lists (i.e., filters, rules, etc.) in the matching fields.
openconfig-extensions
openconfig-inet-types
openconfig-packet-match-types
description:
Top level enclosing container for defined-set model
config and operational state data.
nodetype: container (rw)
description:
Container to hold the list of IPv4 prefix sets.
nodetype: container (rw)
description:
List of IPv4 prefix sets.
nodetype: list (rw)
list keys: [name]
description:
Reference to the name of the IPv4 prefix set.
nodetype: leaf (list key) (rw)
type: leafref
description:
Configuration data for IPv4 prefix sets.
nodetype: container (rw)
description:
A user defined name of the IPv4 prefix set.
nodetype: leaf (rw)
type: string
description:
A user defined IPv4 prefix set description.
nodetype: leaf (rw)
type: string
description:
A user defined list of IPv4 prefixes to be used in match
conditions. Each entry is an IPv4 + mask combination. Addresses
within these prefixes will be considered for matching,
unless they also fall within any of the 'exclude-prefix' entries.
nodetype: leaf-list (rw)
type: oc-inet:ipv4-prefix
description:
A user-defined list of IPv4 prefixes to be excluded from the
'prefix' list. Each entry is an IPv4 address with a mask.
Let P be the union of all addresses in the 'prefix' list,
and E be the union of all addresses in the 'exclude-prefix' list.
The effective match set is ( P - E ), i.e., addresses in 'prefix'
that are not in 'exclude-prefix'.
nodetype: leaf-list (rw)
type: oc-inet:ipv4-prefix
description:
State data for IPv4 prefix sets.
nodetype: container (ro)
description:
A user defined name of the IPv4 prefix set.
nodetype: leaf (ro)
type: string
description:
A user defined IPv4 prefix set description.
nodetype: leaf (ro)
type: string
description:
A user defined list of IPv4 prefixes to be used in match
conditions. Each entry is an IPv4 + mask combination. Addresses
within these prefixes will be considered for matching,
unless they also fall within any of the 'exclude-prefix' entries.
nodetype: leaf-list (ro)
type: oc-inet:ipv4-prefix
description:
A user-defined list of IPv4 prefixes to be excluded from the
'prefix' list. Each entry is an IPv4 address with a mask.
Let P be the union of all addresses in the 'prefix' list,
and E be the union of all addresses in the 'exclude-prefix' list.
The effective match set is ( P - E ), i.e., addresses in 'prefix'
that are not in 'exclude-prefix'.
nodetype: leaf-list (ro)
type: oc-inet:ipv4-prefix
description:
Container to hold the list of IPv4 prefix sets.
nodetype: container (rw)
description:
List of IPv6 prefix sets. Each defined set
is uniquely identified by a name
nodetype: list (rw)
list keys: [name]
description:
Reference to the name of the IPv6 prefix set.
nodetype: leaf (list key) (rw)
type: leafref
description:
Configuration data for IPv6 prefix sets.
nodetype: container (rw)
description:
Name of the IPv6 prefix set.
nodetype: leaf (rw)
type: string
description:
A user defined IPv6 prefix set description.
nodetype: leaf (rw)
type: string
description:
A user defined list of IPv6 prefixes to be used in match
conditions. Each entry is an IPv6 + mask combination. Addresses
within these prefixes will be considered for matching,
unless they also fall within any of the 'exclude-prefix' entries.
nodetype: leaf-list (rw)
type: oc-inet:ipv6-prefix
description:
A user-defined list of IPv6 prefixes to be excluded from the
'prefix' list. Each entry is an IPv6 address with a mask.
Let P be the union of all addresses in the 'prefix' list,
and E be the union of all addresses in the 'exclude-prefix' list.
The effective match set is ( P - E ), i.e., addresses in 'prefix'
that are not in 'exclude-prefix'.
nodetype: leaf-list (rw)
type: oc-inet:ipv6-prefix
description:
State data for prefix lists.
nodetype: container (ro)
description:
Name of the IPv6 prefix set.
nodetype: leaf (ro)
type: string
description:
A user defined IPv6 prefix set description.
nodetype: leaf (ro)
type: string
description:
A user defined list of IPv6 prefixes to be used in match
conditions. Each entry is an IPv6 + mask combination. Addresses
within these prefixes will be considered for matching,
unless they also fall within any of the 'exclude-prefix' entries.
nodetype: leaf-list (ro)
type: oc-inet:ipv6-prefix
description:
A user-defined list of IPv6 prefixes to be excluded from the
'prefix' list. Each entry is an IPv6 address with a mask.
Let P be the union of all addresses in the 'prefix' list,
and E be the union of all addresses in the 'exclude-prefix' list.
The effective match set is ( P - E ), i.e., addresses in 'prefix'
that are not in 'exclude-prefix'.
nodetype: leaf-list (ro)
type: oc-inet:ipv6-prefix
description:
Container to hold the list of port sets.
nodetype: container (rw)
description:
List of port sets. Each por set is uniquely
identified by its name
nodetype: list (rw)
list keys: [name]
description:
Name of the port set. The name is used to
reference the set in match conditions.
nodetype: leaf (list key) (rw)
type: leafref
description:
Configuration data for port lists.
nodetype: container (rw)
description:
A user defined name of the port set.
nodetype: leaf (rw)
type: string
description:
A user defined description for the port set
nodetype: leaf (rw)
type: string
description:
A user defined set of ports to be used in the match conditions.
Ports listed here will be considered for matching, unless they
are also included in 'exclude-port'.
nodetype: leaf-list (rw)
type: oc-pkt-match-types:port-num-range
description:
A user-defined list of ports to be excluded from the 'port'
list. Let P be the union of the ports in the 'port' list,
and E be the union of ports in the 'exclude-port' list.
The effective match set is ( P - E ) i.e., ports in 'port'
that are not in 'exclude-port'.
nodetype: leaf-list (rw)
type: oc-pkt-match-types:port-num-range
description:
State data for port lists.
nodetype: container (ro)
description:
A user defined name of the port set.
nodetype: leaf (ro)
type: string
description:
A user defined description for the port set
nodetype: leaf (ro)
type: string
description:
A user defined set of ports to be used in the match conditions.
Ports listed here will be considered for matching, unless they
are also included in 'exclude-port'.
nodetype: leaf-list (ro)
type: oc-pkt-match-types:port-num-range
description:
A user-defined list of ports to be excluded from the 'port'
list. Let P be the union of the ports in the 'port' list,
and E be the union of ports in the 'exclude-port' list.
The effective match set is ( P - E ) i.e., ports in 'port'
that are not in 'exclude-port'.
nodetype: leaf-list (ro)
type: oc-pkt-match-types:port-num-range