From 916b2cc86b29aabe3778be8fa88393f6a5324832 Mon Sep 17 00:00:00 2001 From: omnom62 <75066712+omnom62@users.noreply.github.com> Date: Mon, 28 Sep 2026 21:41:11 +1000 Subject: T8989: lag_interfaces dict op refactor (#35) * T8989: vyos_lag_interfaces dict_op refactor * T8989: vyos_lag_interfaces dict_op refactor * T8989: vyos_lag_interfaces dict_op refactor --------- Co-authored-by: Daniil Baturin --- docs/vyos.rest.vyos_lag_interfaces_module.rst | 55 +++------------------------ 1 file changed, 5 insertions(+), 50 deletions(-) (limited to 'docs') diff --git a/docs/vyos.rest.vyos_lag_interfaces_module.rst b/docs/vyos.rest.vyos_lag_interfaces_module.rst index 49753f0..95d5969 100644 --- a/docs/vyos.rest.vyos_lag_interfaces_module.rst +++ b/docs/vyos.rest.vyos_lag_interfaces_module.rst @@ -18,7 +18,7 @@ Version added: 1.0.0 Synopsis -------- - Manages Link Aggregation Group (LAG/bonding) interface configuration on VyOS devices using the HTTPS REST API. -- Mirrors ``vyos.vyos.vyos_lag_interfaces`` but uses the HTTP API instead of CLI. +- A bonding interface's device path (``interfaces bonding ``) is shared with :ref:`vyos.rest.vyos_interfaces ` (L2 attributes: description, mtu, vrf) and :ref:`vyos.rest.vyos_l3_interfaces ` (addresses) -- every command this module generates is scoped to exactly ``mode``/ ``primary``/``hash-policy``/``member``/``arp-monitor``, never the bond's subtree as a whole, so it never touches those other modules' fields. @@ -217,21 +217,6 @@ Parameters - - -
- running_config - -
- string -
- - - - -
Used only with state parsed.
- -
@@ -248,8 +233,6 @@ Parameters
  • overridden
  • deleted
  • gathered
  • -
  • rendered
  • -
  • parsed
  • @@ -258,8 +241,6 @@ Parameters
    overridden - Replace config for all LAG interfaces.
    deleted - Remove listed or all LAG interface config.
    gathered - Read LAG config from device without changes.
    -
    rendered - Return commands for provided config without connecting.
    -
    parsed - Parse running_config into structured data.
    @@ -274,6 +255,10 @@ See Also :ref:`vyos.vyos.vyos_lag_interfaces_module` The official documentation on the **vyos.vyos.vyos_lag_interfaces** module. + :ref:`vyos.rest.vyos_interfaces_module` + The official documentation on the **vyos.rest.vyos_interfaces** module. + :ref:`vyos.rest.vyos_l3_interfaces_module` + The official documentation on the **vyos.rest.vyos_l3_interfaces** module. Examples @@ -374,36 +359,6 @@ Common return values are documented `here - - -
    - parsed - -
    - list -
    - - when state is parsed - -
    Structured data parsed from running_config (state=parsed).
    -
    - - - - -
    - rendered - -
    - list -
    - - when state is rendered - -
    Commands for provided config (state=rendered).
    -
    - -
    -- cgit v1.2.3