Skip to content

ganeshrn/junos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Juniper Networks Junos Collection

CI

The Ansible Juniper Networks Junos collection includes a variety of Ansible content to help automate the management of Juniper Networks Junos network appliances.

This collection has been tested against Juniper Networks Junos OS 18.4R1.

Ansible version compatibility

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

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 Juniper Networks Junos collection supports network_cli and netconf connections.

Included content

Cliconf plugins

Name Description
junipernetworks.junos.junos Use junos cliconf to run command on Juniper Junos OS platform

Netconf plugins

Name Description
junipernetworks.junos.junos Use junos netconf plugin to run netconf commands on Juniper JUNOS platform

Modules

Name Description
junipernetworks.junos.junos_acl_interfaces ACL interfaces resource module
junipernetworks.junos.junos_acls ACLs resource module
junipernetworks.junos.junos_banner Manage multiline banners on Juniper JUNOS devices
junipernetworks.junos.junos_command Run arbitrary commands on an Juniper JUNOS device
junipernetworks.junos.junos_config Manage configuration on devices running Juniper JUNOS
junipernetworks.junos.junos_facts Collect facts from remote devices running Juniper Junos
junipernetworks.junos.junos_interface (deprecated, removed after 2022-06-01) Manage Interface on Juniper JUNOS network devices
junipernetworks.junos.junos_interfaces Junos Interfaces resource module
junipernetworks.junos.junos_l2_interface (deprecated, removed after 2022-06-01) Manage L2 Interface on Juniper JUNOS network devices
junipernetworks.junos.junos_l2_interfaces L2 interfaces resource module
junipernetworks.junos.junos_l3_interface (deprecated, removed after 2022-06-01) Manage L3 interfaces on Juniper JUNOS network devices
junipernetworks.junos.junos_l3_interfaces L3 interfaces resource module
junipernetworks.junos.junos_lacp Global Link Aggregation Control Protocol (LACP) Junos resource module
junipernetworks.junos.junos_lacp_interfaces LACP interfaces resource module
junipernetworks.junos.junos_lag_interfaces Link Aggregation Juniper JUNOS resource module
junipernetworks.junos.junos_linkagg (deprecated, removed after 2022-06-01) Manage link aggregation groups on Juniper JUNOS network devices
junipernetworks.junos.junos_lldp (deprecated, removed after 2022-06-01) Manage LLDP configuration on Juniper JUNOS network devices
junipernetworks.junos.junos_lldp_global LLDP resource module
junipernetworks.junos.junos_lldp_interface (deprecated, removed after 2022-06-01) Manage LLDP interfaces configuration on Juniper JUNOS network devices
junipernetworks.junos.junos_lldp_interfaces LLDP interfaces resource module
junipernetworks.junos.junos_logging Manage logging on network devices
junipernetworks.junos.junos_netconf Configures the Junos Netconf system service
junipernetworks.junos.junos_ospfv2 OSPFv2 resource module
junipernetworks.junos.junos_package Installs packages on remote devices running Junos
junipernetworks.junos.junos_ping Tests reachability using ping from devices running Juniper JUNOS
junipernetworks.junos.junos_rpc Runs an arbitrary RPC over NetConf on an Juniper JUNOS device
junipernetworks.junos.junos_scp Transfer files from or to remote devices running Junos
junipernetworks.junos.junos_static_route (deprecated, removed after 2022-06-01) Manage static IP routes on Juniper JUNOS network devices
junipernetworks.junos.junos_static_routes Static routes resource module
junipernetworks.junos.junos_system Manage the system attributes on Juniper JUNOS devices
junipernetworks.junos.junos_user Manage local user accounts on Juniper JUNOS devices
junipernetworks.junos.junos_vlan (deprecated, removed after 2022-06-01) Manage VLANs on Juniper JUNOS network devices
junipernetworks.junos.junos_vlans VLANs resource module
junipernetworks.junos.junos_vrf Manage the VRF definitions on Juniper JUNOS devices

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

Installing this collection

You can install the Juniper Networks Junos collection with the Ansible Galaxy CLI:

ansible-galaxy collection install junipernetworks.junos

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: junipernetworks.junos

Using this collection

You can call modules by their Fully Qualified Collection Namespace (FQCN), such as junipernetworks.junos.junos_l2_interfaces. The following example task replaces configuration changes in the existing configuration on a Juniper Networks Junos network device, using the FQCN:

---
  - name: "Replace provided configuration with device configuration"
    junipernetworks.junos.junos_l2_interfaces:
      config:
        - name: ge-0/0/3
          access:
            vlan: v101
        - name: ge-0/0/4
          trunk:
            allowed_vlans:
              - vlan30
            native_vlan: 50
      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 Juniper Networks Junos 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.

Changelogs

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Cliconf plugins

Name Description
junipernetworks.junos.junos Use junos cliconf to run command on Juniper Junos OS platform

Netconf plugins

Name Description
junipernetworks.junos.junos Use junos netconf plugin to run netconf commands on Juniper JUNOS platform

Modules

Name Description
junipernetworks.junos.junos_acl_interfaces Junos Access Control Lists (ACLs) interface resource module
junipernetworks.junos.junos_acls Junos ACLs resource module
junipernetworks.junos.junos_banner Manage multiline banners on Juniper JUNOS devices
junipernetworks.junos.junos_command Run arbitrary commands on an Juniper JUNOS device
junipernetworks.junos.junos_config Manage configuration on devices running Juniper JUNOS
junipernetworks.junos.junos_facts Collect facts from remote devices running Juniper Junos
junipernetworks.junos.junos_interface (deprecated) Manage Interface on Juniper JUNOS network devices
junipernetworks.junos.junos_interfaces Junos Interfaces resource module
junipernetworks.junos.junos_l2_interface (deprecated) Manage Layer-2 interface on Juniper JUNOS network devices
junipernetworks.junos.junos_l2_interfaces L2 interfaces resource module
junipernetworks.junos.junos_l3_interface (deprecated) Manage L3 interfaces on Juniper JUNOS network devices
junipernetworks.junos.junos_l3_interfaces Junos L3 Interfaces resource module
junipernetworks.junos.junos_lacp Global Link Aggregation Control Protocol (LACP) Junos resource module
junipernetworks.junos.junos_lacp_interfaces Junos Link Aggregation Control Protocol (LACP) interfaces
junipernetworks.junos.junos_lag_interfaces Link Aggregation Juniper JUNOS resource module
junipernetworks.junos.junos_linkagg (deprecated) Manage link aggregation groups on Juniper JUNOS network devices
junipernetworks.junos.junos_lldp (deprecated) Manage LLDP configuration on Juniper JUNOS network devices
junipernetworks.junos.junos_lldp_global Link layer discovery protocol (LLDP) JUNOS resource module
junipernetworks.junos.junos_lldp_interface (deprecated) Manage LLDP interfaces configuration on Juniper JUNOS network devices
junipernetworks.junos.junos_lldp_interfaces Link layer discovery protocol (LLDP) interfaces Junos resource module
junipernetworks.junos.junos_logging Manage logging on network devices
junipernetworks.junos.junos_netconf Configures the Junos Netconf system service
junipernetworks.junos.junos_ospfv2 OSPFv2 resource module
junipernetworks.junos.junos_package Installs packages on remote devices running Junos
junipernetworks.junos.junos_ping Tests reachability using ping from devices running Juniper JUNOS
junipernetworks.junos.junos_rpc Runs an arbitrary RPC over NetConf on an Juniper JUNOS device
junipernetworks.junos.junos_scp Transfer files from or to remote devices running Junos
junipernetworks.junos.junos_static_route (deprecated) Manage static IP routes on Juniper JUNOS network devices
junipernetworks.junos.junos_static_routes Static routes Junos resource module
junipernetworks.junos.junos_system Manage the system attributes on Juniper JUNOS devices
junipernetworks.junos.junos_user Manage local user accounts on Juniper JUNOS devices
junipernetworks.junos.junos_vlan (deprecated) Manage VLANs on Juniper JUNOS network devices
junipernetworks.junos.junos_vlans Junos VLANs resource module.
junipernetworks.junos.junos_vrf Manage the VRF definitions on Juniper JUNOS devices

About

Ansible Network Collection for Juniper JunOS

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%