Skip to content

Claudia edits#1

Open
claudia-lola wants to merge 4 commits into
mainfrom
claudia-edits
Open

Claudia edits#1
claudia-lola wants to merge 4 commits into
mainfrom
claudia-edits

Conversation

@claudia-lola

@claudia-lola claudia-lola commented Jun 30, 2026

Copy link
Copy Markdown

This module can use networks, subnets and projects from opentofu openstack module to construct the resources vastdata_vip_pool and vastdata_tenant

Example config:

module "vast" {
  source = "git::https://github.com/stackhpc/opentofu-vast-manila.git?ref=claudia-edits"

  # importing from openstack module, which uses
  subnets = module.openstack.subnets
  projects = module.openstack.projects
  networks = module.openstack.networks

  vippools = {
    # vast-tenant config
    "testclient4_manila" = {
      network = "testclient4_net_data:testclient4" #
      subnet_cidr = "24"

      project = "testclient4"

      vip_ranges = [{
        subnet = "testclient4_subnet_data:testclient4"
        start  = 200
        end    = 249
      }
  }

  vast_tenants = {
    "testclient4" = {
      name = "testclient4"
      allow_locked_users = true
      allow_disabled_users = true

      client_ranges = [{
        subnet = "testclient4_subnet_data:testclient4"
        start = 2
        end = 149
      }]
    }
  }

}

User guide has been added under the docs dir.

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.

1 participant