Skip to content
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

Add network update outbound #503

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

jdewinne
Copy link
Member

@jdewinne jdewinne commented Jan 26, 2025

❯ rdev network create
ID          NAME                           STATUS          CREATED                           EXPIRES                           OUTBOUND
1979aa1a    funny_margulis                 queued          2025-01-26 22:06 PST              -                                 -

❯ rdev network ls
ID          NAME                           STATUS          CREATED                           EXPIRES                           OUTBOUND
1979aa1a    funny_margulis                 running         2025-01-26 22:06 PST              2025-01-26 23:07 PST              -

❯ rdev vm create --distribution ubuntu --network 1979aa1a
ID          NAME                           DISTRIBUTION    VERSION       STATUS          CREATED                           EXPIRES                           COST
af2619a8    inspiring_ritchie              ubuntu          24.04         queued          2025-01-26 22:06 PST              -                                 $0.60

> jdewinne@af2619a8:~$ curl -o /dev/null -s -w "%{http_code}\n" http://www.google.com
200

❯ rdev network update outbound --id 1979aa1a --outbound none
ID          NAME                           STATUS          CREATED                           EXPIRES                           OUTBOUND
1979aa1a    funny_margulis                 running         2025-01-26 22:06 PST              2025-01-26 23:07 PST              none

> jdewinne@af2619a8:~$ curl --connect-timeout 10 -o /dev/null -s -w "%{http_code}\n" http://www.google.com
000

❯ rdev network update outbound --id 1979aa1a --outbound any
ID          NAME                           STATUS          CREATED                           EXPIRES                           OUTBOUND
1979aa1a    funny_margulis                 running         2025-01-26 22:06 PST              2025-01-26 23:07 PST              any

> jdewinne@af2619a8:~$ curl --connect-timeout 10 -o /dev/null -s -w "%{http_code}\n" http://www.google.com
200

@jdewinne jdewinne merged commit 41d66a5 into main Jan 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants