nutanix / calm-dsl

Keep Calm and DSL On!
https://nutanix.github.io/calm-dsl/
Apache License 2.0
33 stars 51 forks source link

Support for subnets across multiple clusters for AHV helpers #34

Closed abhijeetkaurav1st closed 4 years ago

abhijeetkaurav1st commented 4 years ago

So for now in ahv subnets we are using: AhvVmNic(subnet="vlan.0"),

Apart from them we should also accept parameter cluster name for identifying subnet having same name across multiple PE. i.e. AhvVmNic(subnet="vlan.0", cluster_name="name"),

abhijeetkaurav1st commented 4 years ago

Added cluster attribute to be passed for subnets, else any existing subnet with given name will be used. Interface: AhvVmNic(subnet="vlan.0", cluster="calmdev1")