Decode BGP Shutdown Communication messages (RFC 8203)

Peter Hessler phessler at theapt.org
Tue Sep 26 10:14:11 CEST 2017


On 2017 Sep 19 (Tue) at 20:53:47 +0200 (+0200), Ondrej Zajicek wrote:
:Merged with some significant changes, with support for both RX and TX of
:shutdown communication:
...
:
:Unfortunately, that means that from Unix shell you have to do double qouting:
:
:birdc disable bgp1 '"hi, we will upgrade to bird 1.6.4"'
:

Um, requiring double quoting violates POLA.  This isn't user friendly at
all.

I imagine the administrator's workflow will be something along the lines of:

- send graceful shutdown
- have a coffee while it propagates
- shutdown the sessions with a message
- do the things
- bring the sessions back up
- remove graceful shutdown

Personally i would do all of these commands from the unix shell, and not
from within a birdc session.

It shouldn't be that hard to only require one set of quotes in both the
unix shell and the birdc shell.

-- 
Take it easy, we're in a hurry.


More information about the Bird-users mailing list