3 ms·
The ip tool chain is a worthy thing to promote. I especially like all of the replace verbs, which I wish I’d known about sooner. They make idempotency much si
by gorgoiler 6y ago
The ip tool chain is a worthy thing to promote.
I especially like all of the replace verbs, which I wish I’d known about sooner. They make idempotency much simpler to express without any if ! ip thing get <long list of route args>; then ip add <same list of args> ; fi stuff.
- john-tells-all 6y agoThat's cool! Here's a synopsis of `ip replace`: "replace will either modify an existing address or create a new one if the specified address does not exist" https://serverfault.com/questions/476926/understanding-ip-addr-change-and-ip-addr-replace-commands/666521#666521 https://serverfault.com/questions/476926/understanding-ip-ad...