This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

Ansible NSO/ESC VNFs - CSR1kv and ASAv

An Ansible playbook that configures and deploys/undeploys Cisco VNFs - CSR1kv and ASAv utilizing NSO/ESC on an Openstack platform.

Contacts:

Solution Components

  • NSO 4.2
  • NFVO Function Pack
  • NSO - Cisco IOS NED
  • NSO - Cisco ASA NED
  • ESC 3.X
  • Ansible
  • Openstack
  • Cisco CSR1kv image
  • Cisco ASAv image

Installation

Clone the repo

https://github.com/gve-sw/Ansible_NSO-ESC-VNFs.git

Change necessary variables in vars/main.yml to your environment settings.

openstack_credentials:
  auth_url: "http://x.x.x.x:5000/v3" #add openstack IP

nso:
  # NSO name or api 
  api: x.x.x.x    # add NSO IP

  # NSO User. TODO: This should be in a secret file
  username: admin
  
  # NSO Password. TODO: This should be in a secret file
  password: admin

instance:
    day_0_url: http://x.x.x.x/vnf/cisco-csr1k-day0-hc.txt  # add server IP where txt is stored
    asav_day_0_url: http://x.x.x.x/vnf/cisco-asav-day0.txt  # add server IP where txt is stored

Sample Day0 configs can be found in the top level folder. Change IPs accordingly.

Change the hosts file in main folder:

[cisco-vim-mgmt-node]
x.x.x.x #replace with openstack IP

Usage

To launch and deploy VNFs:

$ ansible-playbook cisco-csr1k-asav-deploy.yaml

To undeploy VNFs:

$ ansible-playbook cisco-csr1k-asav-undeploy.yaml

License

Provided under Cisco Sample Code License, for details see LICENSE

Code of Conduct

Our code of conduct is available here

Contributing

See our contributing guidelines here

View code on GitHub
  • Owner

  • Contributors

  • Categories

  • Products

    NSO
  • Programming Languages

  • License

    Other

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.