Module - export_router_interfaces

This module provides for the following ansible plugin:

  • export_router_interfaces

Module Documentation

Export OpenStack router interfaces definition into an OS-Migrate YAML

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.

path

Resources YAML file to where router interfaces will be serialized.

In case the resource file already exists, it must match the os-migrate version.

In case the resource of same type and name exists in the file, it will be replaced.

name

Name (or ID) of a Router to export.

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: Export myrouter interfaces into /opt/os-migrate/router_interfaces.yml
  os_migrate.os_migrate.export_router_interfaces:
    cloud: source_cloud
    path: /opt/os-migrate/router_interfaces.yml
    name: myrouter