-
Notifications
You must be signed in to change notification settings - Fork 3
Network manager #7
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
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
a4c124c
Network manager
sjmiller609 d7ca8e6
Fix tests
sjmiller609 cd2abad
an instance test with network passes, but needs more work
sjmiller609 b6b3a4d
Test time
sjmiller609 b73a4fd
Simplify to default network only
sjmiller609 4c19d0f
Remove network logic from configdisk.go
sjmiller609 0397f85
Random IP distribution
sjmiller609 e850a01
Address concurrency and locking
sjmiller609 c52c28f
Fix json parsing
sjmiller609 95ceb07
Add a way to run just one test
sjmiller609 071a3b9
Get network allocation before deleting VMM
sjmiller609 682a2bb
Delete network working but delete looks messy
sjmiller609 556f0dc
Don't need to manage DNS yet
sjmiller609 8230726
Don't use CAP_SYS_ADMIN
sjmiller609 0168776
Inheritable CAP_NET_ADMIN
sjmiller609 4205eb5
Check for standby resume in network test
sjmiller609 36e9e62
Cleanup taps on standby
sjmiller609 01c31bc
Fix path to ch snap config
sjmiller609 7b50f04
WIP: proved that network not working after restore
sjmiller609 04bb214
add stainless github action (#8)
rgarcia c78123d
Merge remote-tracking branch 'origin/main' into network-manager
sjmiller609 6f3818c
Enable network capabilities on make dev
sjmiller609 81190e9
Address review comments
sjmiller609 e3b5bde
fix make dev capabilities
sjmiller609 cad74f2
Fix network init
sjmiller609 da0ce57
fixing host setup initialization for partially-initialized state
sjmiller609 d4c9a23
Improve error message with stale bridge config
sjmiller609 4468372
cleanup orphaned taps and naming convention hype-*
sjmiller609 2a3fcbb
Put our iptables rules at the top
sjmiller609 252fbf4
Discover host uplink
sjmiller609 e812a14
400 instead of 500 on name conflict
sjmiller609 ebe27aa
Adjust test for new tap name
sjmiller609 988c4e0
Working on networking test
sjmiller609 2490ea7
Fix network test
sjmiller609 23bd349
Delete redundant test
sjmiller609 82fc9f0
Merge remote-tracking branch 'origin/main' into network-manager
sjmiller609 604b353
Addressing PR review comments
sjmiller609 61f21fa
including ip and mac
sjmiller609 26e97b9
Change default subnet to 10.100.0.0/16
sjmiller609 77131db
Detect and informatively error on network conflict
sjmiller609 eaf3b46
Derive gateway IP instead of config separately from subnet
sjmiller609 f96cffb
Add high level explainer to README
sjmiller609 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 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,65 @@ | ||
| name: Stainless SDK preview on PRs | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - synchronize | ||
| - reopened | ||
| - closed | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| STAINLESS_ORG: ${{ vars.STAINLESS_ORG }} | ||
| STAINLESS_PROJECT: ${{ vars.STAINLESS_PROJECT }} | ||
| OAS_PATH: openapi.yaml | ||
| CONFIG_PATH: stainless.yaml | ||
|
|
||
| jobs: | ||
| preview: | ||
| if: github.event.action != 'closed' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 2 | ||
|
|
||
| - name: Run preview builds | ||
| uses: stainless-api/upload-openapi-spec-action/preview@v1 | ||
| with: | ||
| stainless_api_key: ${{ secrets.STAINLESS_API_KEY }} | ||
| org: ${{ env.STAINLESS_ORG }} | ||
| project: ${{ env.STAINLESS_PROJECT }} | ||
| oas_path: ${{ env.OAS_PATH }} | ||
| config_path: ${{ env.CONFIG_PATH }} | ||
| make_comment: true | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| merge: | ||
| if: github.event.action == 'closed' && github.event.pull_request.merged == true | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 2 | ||
|
|
||
| - name: Run merge build | ||
| uses: stainless-api/upload-openapi-spec-action/merge@v1 | ||
| with: | ||
| stainless_api_key: ${{ secrets.STAINLESS_API_KEY }} | ||
| org: ${{ env.STAINLESS_ORG }} | ||
| project: ${{ env.STAINLESS_PROJECT }} | ||
| oas_path: ${{ env.OAS_PATH }} | ||
| make_comment: true | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} |
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
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.