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

Merge Master -> develop #10185

Merged
merged 19 commits into from
Feb 13, 2024
Merged

Merge Master -> develop #10185

merged 19 commits into from
Feb 13, 2024

Conversation

cpathipa
Copy link
Contributor

No description provided.

hana-akamai and others added 19 commits January 26, 2024 16:58
… Table (#10108)

## Description 📝
Add support for displaying VPC IPv4 addresses and ranges in the Linode Details -> Network tab -> "IP Addresses" table

## Changes  🔄
List any change relevant to the reviewer.
- Add Support for VPC IPv4 addresses and ranges to the Linode IP Address table
  - If there is a VPC interface with 1:1 NAT, hide the Public IPv4 IP address row
- Improve mobile text display of the Type column

## How to test 🧪

### Prerequisites
(How to setup test environment)
- Have the `vpc-extra-beta` tag on your account and a VPC with at least one Subnet
- Assign a Linode to the Subnet and check both the checkboxes (Auto-assign a VPC IPv4 address & Assign a public IPv4 address)
- To add `ip_ranges`, check out #10089

### Verification steps 
(How to verify changes)
- Go to the Linode Details -> Network tab of the assigned Linode and check the IP Addresses table
- You should see IP Address rows for `IPv4 – VPC`, `VPC IPv4 – NAT`, and `IPv4 – VPC – Range` for each range
- You should _not_ see an IP address row for the type `IPv4 - Public`
```
yarn test LinodeIPAddressRow
```
…er (#10114)

## Description 📝
Support IPv4 Ranges data in "Unassign Linodes" drawer.

## Changes  🔄
- Use `RemovableSelectionsListTable` in Unassign drawer to display VPC IPv4 and VPC IPv4 Ranges data
- Added IPv4 VPC and ranges to CSV. Simplified out data structure to mimic subnet assign drawer

## How to test 🧪
### Verification steps 
Have the `vpc-extra-beta` tag on your account and a VPC containing at least one subnet with a linode assigned to it. Confirm that:

- You see a table in the "Linodes to be Unassigned from Subnet" section
- When you select a linode, the table is populated with its data
  - If you select one with no IPv4 Ranges, you should see "None" in that cell
 - Clicking the "X" for that table row removes it (and clicking "X" in the LinodeSelect should clear all selections from the table)
 - Ensure both assign/unassign download CSV data contains IPv4 VPC address and it's ranges (if you added any)

>[!note]
When adding ranges, you'll want to narrow things to `/32`, IE: `10.0.4.1/32`

---------

Co-authored-by: Dajahi Wiley <dwiley@linode.com>
Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
## Description 📝
Add support for VPC IPv4 Ranges in the Linode Create flow.

- "Add additional IPv4 ranges" section added in VPC panel
- Logic to include `ip_ranges` in creation payload

The inclusion of a "VPC IPv4 Ranges" column in the VPC Detail > Subnets inner table as per the mockups slipped through the cracks during ticket creation, but I noticed it and included it in this PR (to try to keep things more consolidated).

## How to test 🧪
### Verification steps 
With the `vpc-extra-beta` tag on your account, enter the Linode Create flow and confirm:

- The "Add additional IPv4 ranges" section appears in the VPC panel after a subnet is selected
- You can add and remove IP input fields using the "Add IPv4 Range" and the "X" buttons, respectively
- When you click "Create Linode," the POST request contains the IP ranges you specified in the form in the `ip_ranges` property
- Once the linode is created, go to the detail page of the VPC you assigned the linode to. Expand the inner subnet table and observe the "VPC IPv4 Ranges" column is populated with what you provided (or "None" if you didn't provide any).

---------

Co-authored-by: Dajahi Wiley <dwiley@linode.com>
Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
Co-authored-by: Hana Xu <hxu@akamai.com>
…xes for release (#10177)

* fix: [M3-7741] - Hide error notices for $0 regions in Resize Pool and Add a Node Pool drawers (#10157)

* Allow -zsh LKE prices without error notices in Resize Pool and Add Pool drawers

* Fix loading spinner displaying above what was supposed to be loading

* Fix conditional to render notice if either price is invalid

* Add test coverage

* Added changeset: Hide error notices for /bin/sh regions for LKE Resize and Add Node Pools

* Fix changeset wording

* Address feedback: use invalid price util

* fix: [M3-7746] - Fix $0 region price error in "Enable All Backups" drawer (#10161)

* Remove error indicator for Linodes in $0 regions

* Fix $0 total price display issue

* Cover $0 pricing cases in Cypress backup tests

* Add BackupLinodeRow tests to account for error states and $0 regions

* Add unit tests for BackupDrawer component

* fix: [M3-7747] - Fix Linode Migration dialog hidden $0 price (#10166)

* Add unit tests for MigrationPricing component

* Accounting for $0 prices in MigrationPricing component

* fix: [M3-7739] - Fix error when enabling backups for Linodes in regions with $0 price (#10153)

* Fix error when enabling backups for Linodes in regions with $0 price

* Add unit tests for EnableBackupsDialog

---------

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>

* Replace "toBeDisabled" with "toHaveAttribute" assertion

---------

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Release v1.112.0 - release → staging
Release v1.112.0 - staging → master
@cpathipa cpathipa requested review from a team as code owners February 13, 2024 14:39
@cpathipa cpathipa requested review from cliu-akamai, jdamore-linode and mjac0bs and removed request for a team February 13, 2024 14:39
@cpathipa cpathipa merged commit 5f1c77b into develop Feb 13, 2024
20 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants