Skip to content
Ask AI

radv

AsterNOS YANG Model for IPv6 Router Advertisement.

module: asternos-radv
+--rw global-router-advertisement
+--rw enabled? boolean
+--rw unicast-only-flag? boolean
+--rw managed-flag? boolean
+--rw other-config-flag? boolean
+--rw link-mtu? cmn:mtu-type
+--rw on-link-flag? boolean
+--rw autonomous-flag? boolean
+--rw rdnsses* [rdnss]
| +--rw rdnss inet:ipv6-address-no-zone
+--rw routes* [route]
+--rw route inet:ipv6-prefix
+--rw preferred? enumeration
rpcs:
+---x show-radv-summary
+--ro output
+--ro data? <anydata>
PathAccess
/global-router-advertisementRead-Write
/global-router-advertisement/enabledRead-Write
/global-router-advertisement/unicast-only-flagRead-Write
/global-router-advertisement/managed-flagRead-Write
/global-router-advertisement/other-config-flagRead-Write
/global-router-advertisement/link-mtuRead-Write
/global-router-advertisement/on-link-flagRead-Write
/global-router-advertisement/autonomous-flagRead-Write
/global-router-advertisement/rdnssesRead-Write
/global-router-advertisement/rdnsses/rdnssRead-Write
/global-router-advertisement/routesRead-Write
/global-router-advertisement/routes/routeRead-Write
/global-router-advertisement/routes/preferredRead-Write

Path

/global-router-advertisement

Node Type

container

Access

Read-Write

Path

/global-router-advertisement/enabled

Node Type

leaf

Description

A flag indicating whether or not the router sends periodic Router Advertisements and responds to Router Solicitations.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

/global-router-advertisement/unicast-only-flag

Section titled “/global-router-advertisement/unicast-only-flag”

Path

/global-router-advertisement/unicast-only-flag

Node Type

leaf

Description

Set if RADVD advertise global unicast prefix only or not.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/global-router-advertisement/managed-flag

Node Type

leaf

Description

The value to be placed in the ‘Managed address configuration’ flag field in the Router

Advertisement.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

/global-router-advertisement/other-config-flag

Section titled “/global-router-advertisement/other-config-flag”

Path

/global-router-advertisement/other-config-flag

Node Type

leaf

Description

The value to be placed in the ‘Other configuration’ flag field in the Router Advertisement.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/global-router-advertisement/link-mtu

Node Type

leaf

Description

The value to be placed in MTU options sent by the router. A value of zero indicates that no MTU options are sent.

Access

Read-Write

Data Type

Constraints

Valid range: 1312 to 9216

Path

/global-router-advertisement/on-link-flag

Node Type

leaf

Description

The value to be placed in the on-link flag (‘L-bit’) field in the Prefix Information option.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

/global-router-advertisement/autonomous-flag

Section titled “/global-router-advertisement/autonomous-flag”

Path

/global-router-advertisement/autonomous-flag

Node Type

leaf

Description

The value to be placed in the Autonomous Flag field in the Prefix Information option.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/global-router-advertisement/rdnsses

Node Type

list

Description

Support for an advertised prefix entry.

Access

Read-Write

/global-router-advertisement/rdnsses/rdnss

Section titled “/global-router-advertisement/rdnsses/rdnss”

Path

/global-router-advertisement/rdnsses/rdnss

Node Type

leaf

Description

IPv6 address.

Access

Read-Write

Data Type

Constraints

An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path

/global-router-advertisement/routes

Node Type

list

Description

Support for an advertised prefix entry.

Access

Read-Write

Path

/global-router-advertisement/routes/route

Node Type

leaf

Description

IPv6 address prefix.

Access

Read-Write

Data Type

Constraints

The ipv6-prefix type represents an IPv6 prefix.

The prefix length is given by the number following the slash character and must be less than or equal to 128.

A prefix length value of n corresponds to an IP address mask that has n contiguous 1-bits from the most significant bit (MSB) and all other bits set to 0.

The canonical format of an IPv6 prefix has all bits of the IPv6 address set to zero that are not part of the IPv6 prefix. Furthermore, the IPv6 address is represented as defined in Section 4 of RFC 5952.

The definition of ipv6-prefix does not require that bits, which are not part of the prefix, are set to zero. However, implementations have to return values in canonical format, which requires non-prefix bits to be set to zero. This means that 2001:db8::1/64 must be accepted as a valid value but it will be converted into the canonical format 2001:db8::/64.

/global-router-advertisement/routes/preferred

Section titled “/global-router-advertisement/routes/preferred”

Path

/global-router-advertisement/routes/preferred

Node Type

leaf

Description

The value to be placed in the Route Preference in the Route Information option.

The preference associated with the default router, as either ‘low’, ‘medium’, or ‘high’.

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • low
  • medium
  • high