-
Notifications
You must be signed in to change notification settings - Fork 20
Support building Infix without Frr #1681
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
+396
−133
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1a4b964
netd: initialize the route dump request
troglobit 0a94a7c
netd: fix route matching in the kernel backend
troglobit eb95c77
package/netd: install the service from the package
troglobit 77553f6
skeleton-init-finit: leave out FRR files when FRR is not built
troglobit 2b4b465
busybox: provide bash as ash when bash is not built
troglobit bf2e295
confd: install the container helper only with Podman
troglobit d5afe35
confd: make FRR optional
troglobit bc1f9dc
statd: read routes from the kernel when FRR is not built
troglobit dc931fe
test: skip dynamic routing tests on devices without it
troglobit 774a993
configs: build the minimal defconfigs without FRR
troglobit 521a381
test/infamy: time out stalled RESTCONF requests
troglobit 8ba5f25
bin: copy: unsubscribe NACM before disconnecting
troglobit b6a1b09
statd: yanger: give up on commands after 30 seconds
troglobit 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -1,15 +1,24 @@ | ||
| #!/bin/bash | ||
| #!/bin/sh | ||
| # Prompt for a single-line value, prefilled with the current one. | ||
| # | ||
| # askline LABEL FILE | ||
| # | ||
| # FILE holds the current value on entry and the new value on exit. | ||
| # Editing the value in place needs bash, on builds where bash is ash | ||
| # the current value is shown as the default, and Enter keeps it. | ||
|
|
||
| LABEL=$1 | ||
| FILE=$2 | ||
|
|
||
| current=$(cat "$FILE" 2>/dev/null) | ||
| read -er -p "$LABEL> " -i "$current" value || exit 1 | ||
|
|
||
| umask 0177 | ||
|
|
||
| if [ -n "$(bash -c 'echo "$BASH_VERSION"' 2>/dev/null)" ]; then | ||
| exec bash -c 'read -er -p "$1> " -i "$2" value || exit 1 | ||
| printf "%s" "$value" > "$3"' askline "$LABEL" "$current" "$FILE" | ||
| fi | ||
|
|
||
| printf '%s [%s]> ' "$LABEL" "$current" | ||
| read -r value || exit 1 | ||
| [ -n "$value" ] || value=$current | ||
| printf '%s' "$value" > "$FILE" |
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
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
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
File renamed without changes.
File renamed without changes.
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 |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| #set DEBUG=1 | ||
| service <pid/confd> name:netd log \ | ||
| [2345] netd -p /run/netd.pid -- Network route daemon | ||
| service [2345] <pid/confd> name:netd netd -- Network route daemon |
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
File renamed without changes.
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
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.
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.