Giter Club home page Giter Club logo

cisco.iosxr's Introduction

Cisco IOSXR Collection

CI

The Ansible Cisco IOSXR collection includes a variety of Ansible content to help automate the management of Cisco IOSXR network appliances.

This collection has been tested against Cisco IOSXR version 7.0.2.

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.9.10.

Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.

Supported connections

The Cisco IOSXR collection supports network_cli and netconf connections.

Included content

Cliconf plugins

Name Description
cisco.iosxr.iosxr Use iosxr cliconf to run command on Cisco IOS XR platform

Netconf plugins

Name Description
cisco.iosxr.iosxr Use iosxr netconf plugin to run netconf commands on Cisco IOSXR platform

Modules

Name Description
cisco.iosxr.iosxr_acl_interfaces ACL interfaces resource module
cisco.iosxr.iosxr_acls ACLs resource module
cisco.iosxr.iosxr_banner Manage multiline banners on Cisco IOS XR devices
cisco.iosxr.iosxr_bgp Configure global BGP protocol settings on Cisco IOS-XR
cisco.iosxr.iosxr_bgp_address_family Manages BGP Address Family resource module.
cisco.iosxr.iosxr_bgp_global Manages BGP global resource module.
cisco.iosxr.iosxr_bgp_neighbor_address_family Manages BGP neighbor address family resource module.
cisco.iosxr.iosxr_command Run commands on remote devices running Cisco IOS XR
cisco.iosxr.iosxr_config Manage Cisco IOS XR configuration sections
cisco.iosxr.iosxr_facts Get facts about iosxr devices.
cisco.iosxr.iosxr_hostname Manages hostname resource module
cisco.iosxr.iosxr_interface (deprecated, removed after 2022-06-01) Manage Interface on Cisco IOS XR network devices
cisco.iosxr.iosxr_interfaces Interfaces resource module
cisco.iosxr.iosxr_l2_interfaces L2 interfaces resource module
cisco.iosxr.iosxr_l3_interfaces L3 interfaces resource module
cisco.iosxr.iosxr_lacp LACP resource module
cisco.iosxr.iosxr_lacp_interfaces LACP interfaces resource module
cisco.iosxr.iosxr_lag_interfaces LAG interfaces resource module
cisco.iosxr.iosxr_lldp_global LLDP resource module
cisco.iosxr.iosxr_lldp_interfaces LLDP interfaces resource module
cisco.iosxr.iosxr_logging Configuration management of system logging services on network devices
cisco.iosxr.iosxr_logging_global Manages logging attributes of Cisco IOSXR network devices
cisco.iosxr.iosxr_netconf Configures NetConf sub-system service on Cisco IOS-XR devices
cisco.iosxr.iosxr_ntp_global Manages ntp resource module
cisco.iosxr.iosxr_ospf_interfaces OSPF Interfaces Resource Module.
cisco.iosxr.iosxr_ospfv2 OSPFv2 resource module
cisco.iosxr.iosxr_ospfv3 ospfv3 resource module
cisco.iosxr.iosxr_prefix_lists Prefix-Lists resource module.
cisco.iosxr.iosxr_snmp_server Manages snmp-server resource module
cisco.iosxr.iosxr_static_routes Static routes resource module
cisco.iosxr.iosxr_system Manage the system attributes on Cisco IOS XR devices
cisco.iosxr.iosxr_user Manage the aggregate of local users on Cisco IOS XR device

Click the Content button to see the list of content included in this collection.

Installing this collection

You can install the Cisco IOSXR collection with the Ansible Galaxy CLI:

ansible-galaxy collection install cisco.iosxr

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: cisco.iosxr

Using this collection

This collection includes network resource modules.

Using modules from the Cisco IOSXR collection in your playbooks

You can call modules by their Fully Qualified Collection Namespace (FQCN), such as cisco.iosxr.iosxr_l2_interfaces. The following example task replaces configuration changes in the existing configuration on a Cisco IOSXR network device, using the FQCN:

---
 - name: Replace device configuration of specified L2 interfaces with provided configuration.
   cisco.iosxr.iosxr_l2_interfaces:
     config:
       - name: GigabitEthernet0/0/0/4
         native_vlan: 40
         l2transport: True
         l2protocol:
         - stp: forward
       - name: GigabitEthernet0/0/0/3.900
         q_vlan:
         - 20
         - any
     state: replaced

NOTE: For Ansible 2.9, you may not see deprecation warnings when you run your playbooks with this collection. Use this documentation to track when a module is deprecated.

See Also:

Contributing to this collection

We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the Cisco IOSXR collection repository. See Contributing to Ansible-maintained collections for complete details.

You can also join us on:

See the Ansible Community Guide for details on contributing to Ansible.

Code of Conduct

This collection follows the Ansible project's Code of Conduct. Please read and familiarize yourself with this document.

Release notes

Release notes are available here.

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

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.