chef / kitchen-vcenter

A test-kitchen driver for vCenter REST API
https://www.chef.io/implementations/vmware
Apache License 2.0
25 stars 26 forks source link

[INFCT-53] Support for managing multiple networks #172

Closed ashiqueps closed 2 years ago

ashiqueps commented 2 years ago

Signed-off-by: Ashique P S Ashique.saidalavi@progress.com

Description

When creating a VM using the vCenter driver, the user can reconfigure the existing network or attach multiple networks.

The previous configuration for managing the networks was network_name which could be able to reconfigure the existing network when a new VM is created. This configuration is now deprecated and the networks configuration is introduced to support the multi-network functionality.

Example Usage:

driver:
  # ... other settings
  networks:
    - name: VLAN-1
      operation: "edit"
    - name: VLAN-2
      operation: "add"

Related Issue

https://github.com/chef/customer-bugs/issues/654 https://github.com/chef/kitchen-vcenter/issues/141

Types of changes

Checklist:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication