greptileai / ubicloud

Open, free, and portable cloud. Elastic compute, block storage (non replicated), virtual networking, managed Postgres, and IAM services in public beta.
https://ubicloud.com
GNU Affero General Public License v3.0
0 stars 0 forks source link

Firewalls on subnet UI #4

Open vkameswaran opened 4 months ago

vkameswaran commented 4 months ago

Update Sidebar to have Firewalls This commit updates sidebar to have firewalls. Additionally, we change the Networking tab to Private Subnet to make it more inline with the endpoint name.

Add Firewall Index page Screenshot 2024-04-30 at 17 57 10

Add Firewall Create page Screenshot 2024-04-30 at 17 57 37

Add Firewall Show page This commit does not only adds a show page but implements various functionality to manage Firewall <-> Private Subnet and Firewall <-> Firewall Rules relationships. Here are the itemized actions;

Show Firewall. Show Firewall Rules. List Attached Private Subnets. Attach Firewall to a Private Subnet. Detach Firewall from a Private Subnet. Add a Firewall Rule to Firewall. Remove a Firewall Rule from a Firewall. Screenshot 2024-04-30 at 17 57 57 Refactor VM Page to accommodate the Firewalls in a better way This commit removes the Network Interfaces box and refactors the Firewall Rules in the Vm Show page. The main reason we remove the Nics is that we do not have multiple Nics infrastructure just yet. It is staying in the main VM page unnecessarily. Also, with the introduction of the new multiple Firewalls functionality, the main VM page would get longer. Instead;

Since every VM will have a single Private Subnet and the Firewalls are attached to it, I have moved the private IPv4/6 addresses to the main details card. Removed the Nics box. Added a new line to see the private subnet. Added a new box for Firewalls to list the firewall and the applied rules. Remove Firewall rule editing from the VM. This is important because now firewall rules are applied at the subnet level and editing it directly in the VM page may result in a change that impacts more than one resources. Screenshot 2024-04-30 at 17 58 18 Add attached Firewalls to the Subnet show page Screenshot 2024-04-30 at 17 58 39