Skip to content

Commit

Permalink
fix: document and add 'accept-ra' to network schema (#5060)
Browse files Browse the repository at this point in the history
It has been available in v1 config since 62bbc26
  • Loading branch information
TheRealFalcon committed Mar 19, 2024
1 parent dbe6739 commit cacf452
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloudinit/config/schemas/schema-network-config-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
"items": {
"$ref": "#/$defs/config_type_subnet"
}
},
"accept-ra": {
"type": "boolean",
"description": "Whether to accept IPv6 Router Advertisements (RA) on this interface. If unset, it will not be rendered"
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions doc/rtd/reference/network-config-format-v1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ be sent in a packet- or frame-based network. Specifying ``mtu`` is optional.
configuration time. It's possible to specify a value too large or to
small for a device, and may be ignored by the device.

``accept-ra: <boolean>``
^^^^^^^^^^^^^^^^^^^^^^^^

The ``accept-ra`` key is a boolean value that specifies whether or not to
accept Router Advertisements (RA) for this interface. Specifying ``accept-ra``
is optional.

Physical example
^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit cacf452

Please sign in to comment.