From 5f85b8536a398853ad57f9558f3fbe681b04c419 Mon Sep 17 00:00:00 2001 From: rabbit-nexthop Date: Wed, 7 Oct 2026 16:25:16 +0000 Subject: [PATCH] [Nexthop][fboss2-dev] Document that delete commands are meant to be idempotent --- docs/docs/debugging/fboss_cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/debugging/fboss_cli.md b/docs/docs/debugging/fboss_cli.md index aa7f7847b3185..be93335eb6cce 100644 --- a/docs/docs/debugging/fboss_cli.md +++ b/docs/docs/debugging/fboss_cli.md @@ -1234,7 +1234,7 @@ When a session is committed, the CLI determines, **per service**, the least disr | `tunnel` | Configure IP-in-IP tunnels | | `vlan` | Configure VLAN settings | -Most `config` subcommands have a matching `delete` counterpart to remove or reset the corresponding piece of configuration (e.g. `fboss2-dev delete protocol static ip route ...`). Note, that not all configuration parameters can be individually deleted. Modification of leaf parameters may require deleting the parent object and re-configuring with the desired parameter modified or deleted appropriately. +Most `config` subcommands have a matching `delete` counterpart to remove or reset the corresponding piece of configuration (e.g. `fboss2-dev delete protocol static ip route ...`). Note, that not all configuration parameters can be individually deleted. Modification of leaf parameters may require deleting the parent object and re-configuring with the desired parameter modified or deleted appropriately. `delete` commands are intended to be idempotent: deleting something that doesn't exist is not an error. ### Config vs. Set - what's the difference?