oxidecomputer / oxidecomputer/maghemite
bgp: consider adding RFC 8203 admin shutdown notification message
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 94
- Forks
- 6
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 12
Description
RFC 8203 describes the encoding of UTF-8 strings into the Data field of NOTIFICATION messages with code Cease and sub-codes Administratively Shutdown or Administratively Reset.
This ticket is a tracker for considering addition of the ability to include an optional shutdown message via the AdminEvent::AdminStop / AdminEvent::AdminReset FSM event codepaths, e.g. mgadm bgp clear 1.1.1.1 hard --shutdown-message "hold my packets real quick"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with RFC 8203 and trace the AdminEvent::AdminStop and AdminEvent::AdminReset FSM event codepaths, along with the mgadm bgp clear command. Determine how an optional shutdown message should reach the BGP NOTIFICATION Data field; done means the hard-clear command can pass the message for administrative shutdown or reset using the specified UTF-8 encoding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100