Module - import_router_interface

This module provides for the following ansible plugin:

  • import_router_interface

Module Documentation

Import OpenStack network from an OS-Migrate YAML structure

Options

auth

Required if 'cloud' param not used.

auth_type

Auth type plugin for OpenStack. Can be omitted if using password authentication.

region_name

OpenStack region name. Can be omitted if using default region.

data

Data structure with network parameters as loaded from OS-Migrate YAML file.

filters

Options for filtering existing resources to be looked up, e.g. by project.

availability_zone

Availability zone.

cloud

Cloud configuration from clouds.yml

Required if 'auth' parameter not used.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- name: Import router interface
  os_migrate.os_migrate.import_router_interface:
    cloud: source_cloud
    data:
      params:
        fixed_ips_names:
        - ip_address: 192.168.0.10
          subnet_name: osm_subnet
        router_name: osm_router
      type: openstack.network.RouterInterface