Coder Social home page Coder Social logo

ansible-playbook-aci-with-mso's Introduction

Ansible Playbook: Using ACI with MSO and VMM domains

Ansible with ACI and MSO with VMM domains

This Ansible playbook consists of multiple plays of ACI, MSO, and vCenter.

The following tasks will be completed:

  • Create a Tenant
  • Create a VRF
  • Create a Bridge Domain
  • Create a Subnet
  • Create an Application Profile
  • Create EPGs (3 EPGs)
  • Create a Filter
  • Create a Filter Entry
  • Create a Contract
  • Create a Contract Subject and form a relationship to the filter
  • Relate each EPG to a VMM Domain
  • Assign portgroups to the VMM domain

Requirements

This playbook requires the standard set of ACI and MSO modules from Ansible v2.7.

Installation

Installing Ansible to run your playbooks:

  1. Using the link provided below - install and run from source
https://docs.ansible.com/ansible/devel/installation_guide/intro_installation.html#running-from-source

It's recommended to do a git clone and run from the developers branch

Using the mso.yml playbook

Configure your APIC host and credentials

Look inside the hosts inventory and provide the needed information. Only the first APIC, MSO, and vCenter is being used by the playbook.

Running the mso.yml playbook

Note: Ensure to delete all configurations before running the mso.yml playbook again to avoid a 500 Internal Server Error in the mso_schema_template_contract_filter module (has been reported and currently debugging)

Run the following command using Ansible v2.7:

ansible-playbook -i ./hosts mso.yml

The first time it will deploy that configuration on your ACI infrastructure.

ansible-playbook -i ./hosts delete-all.yml

You can make modifications and run it again after running delete-all.yml as often as you like to modify the existing configuration.

Notes

  • Over time when more ACI and MSO modules are released with Ansible, we will swap the aci_rest calls with the high-level module calls.
  • Feel free to add additional functionality or report bugs and share it with us on Github https://github.com/ansible/ansible!

License

Apache License 2.0

ansible-playbook-aci-with-mso's People

Contributors

aciguru avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.