Commit Graph

13 Commits

Author SHA1 Message Date
Pearl Dsilva 8163d3278c
Pass network gateway instead of network CIDR for Netris vNet creation (#21) 2024-11-26 16:18:53 -03:00
Nicolas Vazquez 3ee9ed9233
Fix VR Public IP address (#20)
* Fix VR Public IP address

* Do not set the Public IP range on Netris side that is not part of the Netris IP Public Pool

* Leave only systemvms tag for the first element

* Fix NSX compatibility
2024-11-26 11:25:46 -03:00
Pearl Dsilva b497c65ff0
Update Subnet purpose for Netris Public Traffic (#17)
* Update Subnet purpose for Netris Public Traffic

* search for existing subnet of common purpose type
2024-11-12 14:58:57 -03:00
Pearl Dsilva c8eb0f3779
Pass VXLAN ID during creation of Netris vNets (#16)
* add zone params to accepts management vnet

* Release vxlan associated to the netris broadcast domain type

* handle update network broadcast uri
2024-11-07 12:21:09 -03:00
Nicolas Vazquez 9b4d95780a
Set up Netris Public range on new zone addition (#15)
* Set up Netris Public range on new zone addition

* Add dependency to calculate subnet containing a start and end IP

* Remove unused import

* Move dependency to the netris module

* Rename Netris IP range

* Refactor logic

* Revert "Refactor logic"

This reverts commit 7ec36a81320444c37e7bb914dd895060b663411b.

* Fix setup range after adding Netris Provider

* Fix VXLAN range adding on zone creation
2024-11-07 11:05:20 -03:00
Pearl Dsilva 6e41063808
Add missing suffix return (#14) 2024-10-24 19:44:10 -03:00
Pearl Dsilva 0f913b48a7
Add support to delete VNets and Subnets (#13)
* Add support to delete VNets and Subnets

* Add support to delete vnet resources

* Add support to delete vnet resources

* extract code to method

---------

Co-authored-by: nvazquez <nicovazquez90@gmail.com>
2024-10-23 11:01:35 -03:00
Pearl Dsilva bfb017426d
Support adding netris provider to CloudStack and Netris VPC Creation (#6)
* Support adding netris provider to CloudStack

* revert marvin change

* add license and perform session check when provider is added

* add license and remove unused import

* fix build failure - uunused imports

* address comments

* fix provider name

* add Netris network element

* add license

* Add netris management APIs and netris service provider

* add license

* revert change

* remove other network elements from Netris element

* fix api name in doc generator

* remove logs

* move session alive check to CheckHealthCommand exec

* Fix zone creation wizard to configure netris provider

* Upgrade GSON version - from PR 8756

* Add additional parametes to the add Netris provider API

* add netris as a host

* add additional params to the resoponse and update UI

* Rename site to site_name

* Create Netris VPC (#8)

* Delegate API classes creation to the SDK and simply invoke the desired API class through CloudStack (#7)

* Delegate API classes creation to the SDK and simply invoke the desired API class through CloudStack

* Pass default auth scheme for now

* Drop for_nsx and for_tungten columns in favour of checking the provider on the ntwserviceprovider map table

* Remove missing setForTungsten occurrence

* Remove forNsx from VPC offerings

* Create Netris VPC

* Fix VPC offerings listing and remove unused dao

* Create VPC fixes

* Upgrade GSON version - from PR 8756

* Fix VPC creation response by using the latest SDK code

* Fix unit test

* Remove unused import

* Fix NSX unit tests after refactoring

* Add Netris key to the VLAN Details table (#10)

* Add Netris key to the VLAN Details table

* update for_<provider> column to be generic

* Fix VPC and add IPAM allocation for the VPC CIDR (#9)

* Fix VPC and add IPAM allocation for the VPC CIDR

* Remove VPC logic

* Use zoneId accountId and domainId on resources creation

* Fix naming

* Fix VR public nic issue

* Fix Netris Public IP for VPC source NAT allocation

* Add Netris VPC Subnets and vNets (#11)

* Add Netris VPC Subnets and vNets

* fix compilation errors

* Add netris subnet

* refactor naming convention to differentiate between VPC tiers and Isolated networks

* revert marvin change

* fix constructor - build failure

* Add support to filter netris offerings, delete netris provider when zone is being deleted

* Fix build

* Fix VPC creation

* Fix vnet creation

* unnecesary log

---------

Co-authored-by: nvazquez <nicovazquez90@gmail.com>

---------

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

---------

Co-authored-by: nvazquez <nicovazquez90@gmail.com>
2024-10-22 11:31:05 -03:00
Nicolas Vazquez 9f76e377d4
Delegate API classes creation to the SDK and simply invoke the desired API class through CloudStack (#7)
* Delegate API classes creation to the SDK and simply invoke the desired API class through CloudStack

* Pass default auth scheme for now
2024-10-15 11:23:03 -04:00
nvazquez b3c89c62e9
List tenants 2024-10-11 10:05:01 -03:00
Pearl Dsilva 09afd261e8
Support for listing VPCs (#5) 2024-10-11 10:02:34 -03:00
Nicolas Vazquez c5bf82aa7b
Add dependency and Netris API client (#4)
* Add dependency and first approach to Netris API client

* Fix authentication and create Netris API client, in progress sites listing

* Fix get sites
2024-10-10 11:03:42 -03:00
nvazquez de54c42389
Add Netris module and Add netris provider 2024-09-23 12:56:51 -03:00