-
Notifications
You must be signed in to change notification settings - Fork 6
BGP unnumbered #598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
BGP unnumbered #598
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9bfb191
bgp unnumbered
rcgoodfellow 99eb139
Rewrite BGP FSM integration for unnumbered peers
taspelund bc28e6e
bgp: add BGP unnumbered integration tests
taspelund 011aa49
ndp: use named threads
taspelund e5337cc
Move unnumbered interface to Path, update API
taspelund 6144c4b
ndp: use ManagedThread typestate pattern
taspelund 606857d
docs: add bgp unnumbered design doc
taspelund bb8f013
Add illumos-specific import of IpAddr
taspelund dbeb1b7
mgadm: fix bgp neighbor create arg ordering
taspelund b7c99fa
Add MP-BGP/unnumbered support to bgp exported API
taspelund 9d33ee6
Expose NDP state via API, add more helpful state
taspelund a7706b0
Fix PeerId lookup for unnumbered APIs
taspelund f697189
Fix bgp neighbor sorting... again
taspelund 233df17
mgd: fix interface lookup for unnumbered update
taspelund 73fdd5d
mgd: more unnumbered fixes
taspelund 6f592d4
Track BGP Path source via PeerId instead of IpAddr
taspelund 127ad85
mgadm: unify numbered/unnumbered handling in CLI
taspelund File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,6 @@ | |
| #: "=/work/testbed.tar.gz", | ||
| #: "=/work/dhcp-server", | ||
| #: ] | ||
| #: | ||
|
|
||
| set -x | ||
| set -e | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| #!/bin/bash | ||
| #: | ||
| #: name = "falcon" | ||
| #: variety = "basic" | ||
| #: target = "lab-2.0-gimlet" | ||
| #: skip_clone = true | ||
| #: | ||
| #: [dependencies.build-interop] | ||
| #: job = "build-interop" | ||
| #: | ||
| #: [dependencies.build] | ||
| #: job = "build" | ||
| #: | ||
|
|
||
| set -x | ||
| set -e | ||
|
|
||
| banner 'zpool' | ||
|
|
||
| # pick the largest disk available | ||
| DISK=$(pfexec diskinfo -pH | sort -k8 -n -r | head -1 | awk '{print $2}') | ||
| export DISK | ||
| pfexec zpool create -o ashift=12 -f cpool "$DISK" | ||
| pfexec zfs create -o mountpoint=/ci cpool/ci | ||
|
|
||
| if [[ $(curl -s http://catacomb.eng.oxide.computer:12346/trim-me) =~ "true" ]]; then | ||
| pfexec zpool trim cpool | ||
| while [[ ! $(zpool status -t cpool) =~ "100%" ]]; do sleep 10; done | ||
| fi | ||
|
|
||
| pfexec chown "$UID" /ci | ||
| cd /ci | ||
| export FALCON_DATASET="cpool/falcon" | ||
|
|
||
rcgoodfellow marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| banner 'setup' | ||
|
|
||
| cp /input/build-interop/work/dhcp-server . | ||
| cp /input/build/work/release/falcon-lab . | ||
| cp /input/build/work/release/mgd . | ||
| cp /input/build/work/release/ddmd . | ||
|
|
||
| chmod +x dhcp-server falcon-lab mgd ddmd | ||
|
|
||
| mkdir -p cargo-bay | ||
| mv mgd cargo-bay/ | ||
| mv ddmd cargo-bay/ | ||
|
|
||
| export EXT_INTERFACE=${EXT_INTERFACE:-igb0} | ||
|
|
||
| first=$(bmat address ls -f extra -Ho first) | ||
| last=$(bmat address ls -f extra -Ho last) | ||
| gw=$(bmat address ls -f extra -Ho gateway) | ||
| server=$(ipadm show-addr "$EXT_INTERFACE"/dhcp -po ADDR | sed 's#/.*##g') | ||
| pfexec ./dhcp-server "$first" "$last" "$gw" "$server" &> /work/dhcp-server.log & | ||
|
|
||
| RUST_LOG=debug pfexec ./falcon-lab run \ | ||
| --dendrite-commit 0c2ab6c341bf9e3802c688961b3bc687b941a144 \ | ||
| trio-unnumbered | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.