oxidecomputer / oxidecomputer/maghemite

bgp: consider adding RFC 8203 admin shutdown notification message

Open
#725 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bgp Idea want
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.