From 11e19a6b457f52ef62c9207333cd2253c555e1fc Mon Sep 17 00:00:00 2001 From: Jeremy Schulman Date: Sat, 22 Mar 2014 17:36:09 -0400 Subject: [PATCH] updates --- docs/junos_get_facts_module.html | 496 ------------------------ docs/junos_install_config_module.html | 527 ------------------------- docs/junos_install_os_module.html | 534 -------------------------- docs/junos_noob_config_module.html | 523 ------------------------- docs/junos_noob_qfx_node_module.html | 524 ------------------------- docs/junos_shutdown_module.html | 510 ------------------------ docs/junos_zeroize_module.html | 519 ------------------------- 7 files changed, 3633 deletions(-) delete mode 100644 docs/junos_get_facts_module.html delete mode 100644 docs/junos_install_config_module.html delete mode 100644 docs/junos_install_os_module.html delete mode 100644 docs/junos_noob_config_module.html delete mode 100644 docs/junos_noob_qfx_node_module.html delete mode 100644 docs/junos_shutdown_module.html delete mode 100644 docs/junos_zeroize_module.html diff --git a/docs/junos_get_facts_module.html b/docs/junos_get_facts_module.html deleted file mode 100644 index 61953f4..0000000 --- a/docs/junos_get_facts_module.html +++ /dev/null @@ -1,496 +0,0 @@ - - - - - - - - - - - - - - - junos_get_facts - Retrieve Junos device facts — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - - - - -
-
- -
- -
- -
-

junos_get_facts - Retrieve Junos device facts

- --- - - - -
Author:Jeremy Schulman, Juniper Networks
- -
-

Synopsis

-
-

New in version 1.5.0.

-
-

Junos facts returns as a JSON dictionary, includes items such as version, serial-number, product module, etc. Similar to facts gathered by other IT frameworks

-
-
-

Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
parameterrequireddefaultchoicescomments
hostyes
    should be {{ inventory_hostname }}
    passwdnoassumes ssh-key active
      login password
      userno$USER
        login user-name
        -

        Note

        -

        Requires py-junos-eznc

        -
        -
        -
        -

        Examples

        -
        - junos_get_faces: host={{ inventory_hostname }}
        -  register: junos
        -
        -- name: version
        -  debug: msg="{{ junos.facts.version }}"
        -
        -
        -
        -
        - - -
        -
        -
        - - - - -
        - -

        - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

        - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
        -
        -
        - -
        - -
        - - - - - - - - - \ No newline at end of file diff --git a/docs/junos_install_config_module.html b/docs/junos_install_config_module.html deleted file mode 100644 index d88d320..0000000 --- a/docs/junos_install_config_module.html +++ /dev/null @@ -1,527 +0,0 @@ - - - - - - - - - - - - - - - junos_install_config - Install Junos configuration file/snippet — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - - - - -
        - - - - - - -
        -
        - -
        - -
        - -
        -

        junos_install_config - Install Junos configuration file/snippet

        - --- - - - -
        Author:Jeremy Schulman, Juniper Networks
        - -
        -

        Synopsis

        -
        -

        New in version 1.5.0.

        -
        -

        Install a complete Junos configuration (overwrite) or -merge a Junos configuration snippet onto the device. -This process will perform an atomic lock/edit/unlock. -If the process fails at any step, then the complete -change is discarded. The file contents can be in -the form of standard text, XML, or set statements

        -
        -
        -

        Options

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        parameterrequireddefaultchoicescomments
        fileyes
          path to file containing the Junos configuration content. if the file has a *.conf extension, it will be treated as "text" format. If the file has a *.xml extension, it will be treated as XML format. If the file has a *.set extension, it will be treated as a file of "set" commands.
          hostyes
            should be {{ inventory_hostname }}
            logfilenoNone
              path on the local server where progress status is logged for debugging purposes
              overwriteno
              • true
              • false
              • yes
              • no
              determines if the file completely replaces the existing configuration
              passwdnoassumes ssh-key active
                login password
                timeoutno0
                  enables you to extend the NETCONF RPC timeout beyond the standard 30 seconds. Set this value when you know the configuration change (commit) may take a long time
                  userno$USER
                    login user-name
                    -

                    Note

                    -

                    Requires py-junos-eznc

                    -
                    -
                    -
                    -

                    Examples

                    -
                    - junos_install_config:
                    -    host={{ inventory_hostname }}
                    -    file=/var/tmp/banner.conf
                    -
                    -
                    -
                    -
                    - - -
                    -
                    -
                    - - - - -
                    - -

                    - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

                    - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
                    -
                    -
                    - -
                    - -
                    - - - - - - - - - \ No newline at end of file diff --git a/docs/junos_install_os_module.html b/docs/junos_install_os_module.html deleted file mode 100644 index e0ffe79..0000000 --- a/docs/junos_install_os_module.html +++ /dev/null @@ -1,534 +0,0 @@ - - - - - - - - - - - - - - - junos_install_os - Install Junos OS image — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    - - - - -
                    - - - - - - -
                    -
                    - -
                    - -
                    - -
                    -

                    junos_install_os - Install Junos OS image

                    - --- - - - -
                    Author:Jeremy Schulman, Juniper Networks
                    - -
                    -

                    Synopsis

                    -
                    -

                    New in version 1.5.0.

                    -
                    -

                    Install a Junos OS image on one or more routing-engine (RE) components. This module supports single CPU devices, EX virtual-chassis (not-mixed mode), and MX dual-RE products. -Check-Mode is supported to report whether or not the current version matched the desired version. -If the existing version matches, no action is performed, and the “changed” attribute reports False. If the existing version does not match, then the following actions are performed -(1) Compuste the MD5 checksum of the package located on the server (2) Copy the package image to the Junos device (3) Compute the MD5 checksum on the Junos device and compare the two (4) Install the Junos package (5) Reboot the device (default)

                    -
                    -
                    -

                    Options

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    parameterrequireddefaultchoicescomments
                    hostyes
                      should be {{ inventory_hostname }}
                      logfilenoNone
                        path on the local server where progress status is logged for debugging purposes
                        packageyes
                          complete path on the local server to the Junos image package file
                          passwdnoassumes ssh-key active
                            login password
                            rebootnoTrue
                            • yes
                            • no
                            determines if a reboot is performed after the OS is loaded
                            reboot_pauseno10
                              amount of time in seconds to wait after the reboot is issued
                              userno$USER
                                login user-name
                                versionyes
                                  Junos version string as it would be reported by the 'show version' command
                                  -

                                  Note

                                  -

                                  Requires py-junos-eznc >= 0.0.5

                                  -
                                  -
                                  -
                                  -

                                  Examples

                                  -
                                  - junos_install_os:
                                  -   host={{ inventory_hostname }}
                                  -   version=12.1X46-D10.2
                                  -   package=/usr/local/junos/images/junos-vsrx-12.1X46-D10.2-domestic.tgz
                                  -   logfile=/usr/local/junos/log/software.log
                                  -
                                  -
                                  -
                                  -
                                  - - -
                                  -
                                  -
                                  - - - - -
                                  - -

                                  - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

                                  - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
                                  -
                                  -
                                  - -
                                  - -
                                  - - - - - - - - - \ No newline at end of file diff --git a/docs/junos_noob_config_module.html b/docs/junos_noob_config_module.html deleted file mode 100644 index fbaca84..0000000 --- a/docs/junos_noob_config_module.html +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - - - - - - - - - - junos_noob_config - Shutdown or Reboot the Junos device — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                  - - - - -
                                  - - - - - - -
                                  -
                                  - -
                                  - -
                                  - -
                                  -

                                  junos_noob_config - Shutdown or Reboot the Junos device

                                  - --- - - - -
                                  Author:Jeremy Schulman, Juniper Networks
                                  - -
                                  -

                                  Synopsis

                                  -
                                  -

                                  New in version 1.5.0.

                                  -
                                  -

                                  Install a minimal New Out of Box (NOOB) configuration that should at least set the IP-address and enable the NETCONF service. This action is performed over the device CONSOLE port using either a SERIAL or a TERMINAL-SERVER. This action will also log the device “facts” and “inventory” to a local server directory, which then provdies you with specific details about the device located on that console. Refer to netconify for further details on this process.

                                  -
                                  -
                                  -

                                  Options

                                  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                  parameterrequireddefaultchoicescomments
                                  fileyes
                                    path to file that contains the Junos NOOB configuration
                                    logfilenoNone
                                      path on the local server where progress status is logged for debugging purposes
                                      nameyes
                                        should be {{ inventory_hostname }}
                                        passwdnoNone
                                          login password
                                          portyesNone
                                            port configuration per the netconify utility
                                            savedirnoNone
                                              path to the local server directory where device facts and inventory files will be stored. Refer to the netconify utility for details.
                                              usernoroot
                                                login user-name
                                                -

                                                Note

                                                -

                                                Requires netconify

                                                -
                                                -
                                                -
                                                -

                                                Examples

                                                -
                                                - junos_noob_config:
                                                -    name={{ inventory_hostname }}
                                                -    file=/usr/local/junos/noobconf/{{inventory_hostname}}/noob.conf
                                                -    port="-t={{TERMSERV}},{{TERMSERVPORT}}"
                                                -
                                                -
                                                -
                                                -
                                                - - -
                                                -
                                                -
                                                - - - - -
                                                - -

                                                - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

                                                - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
                                                -
                                                -
                                                - -
                                                - -
                                                - - - - - - - - - \ No newline at end of file diff --git a/docs/junos_noob_qfx_node_module.html b/docs/junos_noob_qfx_node_module.html deleted file mode 100644 index 2e44da8..0000000 --- a/docs/junos_noob_qfx_node_module.html +++ /dev/null @@ -1,524 +0,0 @@ - - - - - - - - - - - - - - - junos_noob_qfx_mode - Shutdown or Reboot the Junos device — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                - - - - -
                                                - - - - - - -
                                                -
                                                - -
                                                - -
                                                - -
                                                -

                                                junos_noob_qfx_mode - Shutdown or Reboot the Junos device

                                                - --- - - - -
                                                Author:Jeremy Schulman, Juniper Networks
                                                - -
                                                -

                                                Synopsis

                                                -
                                                -

                                                New in version 1.5.0.

                                                -
                                                -

                                                New Out of Box (NOOB) configuration that will change the “device mode” for a QFX switch. For QFabric deployments, the QFX switch must be configured into ‘node’ mode. This action is performed over the device CONSOLE port using either a SERIAL-PORT or a TERMINAL-SERVER. This action will also log the device “facts” and “inventory” to a local server directory, which then provdies you with specific details about the device located on that console. Refer to netconify for further details on this process.

                                                -
                                                -
                                                -

                                                Options

                                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                parameterrequireddefaultchoicescomments
                                                logfilenoNone
                                                  path on the local server where progress status is logged for debugging purposes
                                                  modeyesnode
                                                  • node
                                                  • switch
                                                  determine the device mode
                                                  nameyes
                                                    should be {{ inventory_hostname }}
                                                    passwdnoNone
                                                      login password
                                                      portyesNone
                                                        port configuration per the netconify utility
                                                        savedirnoNone
                                                          path to the local server directory where device facts and inventory files will be stored. Refer to the netconify utility for details.
                                                          usernoroot
                                                            login user-name
                                                            -

                                                            Note

                                                            -

                                                            Requires netconify

                                                            -
                                                            -
                                                            -
                                                            -

                                                            Examples

                                                            -
                                                            - junos_noob_qfx_node:
                                                            -    name={{ inventory_hostname }}
                                                            -    port='-t={{TERMSERV}},{{TERMSERVPORT}}'
                                                            -    logfile=/usr/local/junos/log/qfx_node.log
                                                            -    savedir=/usr/local/junos/inventory
                                                            -
                                                            -
                                                            -
                                                            -
                                                            - - -
                                                            -
                                                            -
                                                            - - - - -
                                                            - -

                                                            - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

                                                            - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
                                                            -
                                                            -
                                                            - -
                                                            - -
                                                            - - - - - - - - - \ No newline at end of file diff --git a/docs/junos_shutdown_module.html b/docs/junos_shutdown_module.html deleted file mode 100644 index c24cd79..0000000 --- a/docs/junos_shutdown_module.html +++ /dev/null @@ -1,510 +0,0 @@ - - - - - - - - - - - - - - - junos_shutdown - Shutdown or Reboot the Junos device — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                            - - - - -
                                                            - - - - - - -
                                                            -
                                                            - -
                                                            - -
                                                            - -
                                                            -

                                                            junos_shutdown - Shutdown or Reboot the Junos device

                                                            - --- - - - -
                                                            Author:Jeremy Schulman, Juniper Networks
                                                            - -
                                                            -

                                                            Synopsis

                                                            -
                                                            -

                                                            New in version 1.5.0.

                                                            -
                                                            -

                                                            Used to shutdown (power-off) or reboot the Junos device; includes -all routing-engines (REs) in a virtual-chassis or a dual-RE system.

                                                            -
                                                            -
                                                            -

                                                            Options

                                                            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                            parameterrequireddefaultchoicescomments
                                                            hostyes
                                                              should be {{ inventory_hostname }}
                                                              passwdnoassumes ssh-key active
                                                                login password
                                                                rebootno
                                                                • yes
                                                                • no
                                                                if yes then the device will be rebooted rather than power-off
                                                                shutdownyesNone
                                                                  safety mechanism, you MUST set this to 'shutdown'
                                                                  userno$USER
                                                                    login user-name
                                                                    -

                                                                    Note

                                                                    -

                                                                    Requires py-junos-eznc

                                                                    -
                                                                    -
                                                                    -
                                                                    -

                                                                    Examples

                                                                    -
                                                                    - junos_shutdown:
                                                                    -    host={{ inventory_hostname }}
                                                                    -    shutdown="shutdown"
                                                                    -    reboot="yes"
                                                                    -
                                                                    -
                                                                    -
                                                                    -
                                                                    - - -
                                                                    -
                                                                    -
                                                                    - - - - -
                                                                    - -

                                                                    - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

                                                                    - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
                                                                    -
                                                                    -
                                                                    - -
                                                                    - -
                                                                    - - - - - - - - - \ No newline at end of file diff --git a/docs/junos_zeroize_module.html b/docs/junos_zeroize_module.html deleted file mode 100644 index 75f32e3..0000000 --- a/docs/junos_zeroize_module.html +++ /dev/null @@ -1,519 +0,0 @@ - - - - - - - - - - - - - - - junos_zeroize - Zeroize Junos system — Ansible Documentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                    - - - - -
                                                                    - - - - - - -
                                                                    -
                                                                    - -
                                                                    - -
                                                                    - -
                                                                    -

                                                                    junos_zeroize - Zeroize Junos system

                                                                    - --- - - - -
                                                                    Author:Jeremy Schulman, Juniper Networks
                                                                    - -
                                                                    -

                                                                    Synopsis

                                                                    -
                                                                    -

                                                                    New in version 1.5.0.

                                                                    -
                                                                    -

                                                                    Remove all configuration information on the Routing Engines and -reset all key values. The command removes all data files, -including customized configuration and log files, by unlinking -the files from their directories.

                                                                    -
                                                                    -
                                                                    -

                                                                    Options

                                                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                    parameterrequireddefaultchoicescomments
                                                                    hostno
                                                                      should be {{ inventory_hostname }}
                                                                      passwdnoassumes ssh-key active
                                                                        login password
                                                                        portnoNone
                                                                          SERIAL or TERMINAL-SERVER port setting, per use with the netconify utility
                                                                          userno$USER
                                                                            login user-name
                                                                            zeroizeyesNone
                                                                              safety mechanism, you MUST set this to 'zeroize'
                                                                              -

                                                                              Note

                                                                              -

                                                                              Requires py-junos-eznc >= 0.0.5

                                                                              -
                                                                              -
                                                                              -

                                                                              Note

                                                                              -

                                                                              Requires netconify, if using port option

                                                                              -
                                                                              -
                                                                              -
                                                                              -

                                                                              Examples

                                                                              -
                                                                              - junos_zeroize:
                                                                              -    host={{ inventory_hostname }}
                                                                              -    zeroize="zeroize"
                                                                              -
                                                                              -
                                                                              -
                                                                              -

                                                                              Note

                                                                              -

                                                                              You MUST either use the host option or the port option to designate how the device is accessed.

                                                                              -
                                                                              -
                                                                              -
                                                                              - - -
                                                                              -
                                                                              -
                                                                              - - - - -
                                                                              - -

                                                                              - © Copyright 2014 Ansible, Inc.. - Last updated on Mar 21, 2014. -

                                                                              - -Ansible docs are generated from GitHub sources using Sphinx using a theme provided by Read the Docs. . Module documentation is not edited directly, but is generated from the source code for the modules. To submit an update to module docs, edit the 'DOCUMENTATION' metadata in the module source tree. - -
                                                                              -
                                                                              -
                                                                              - -
                                                                              - -
                                                                              - - - - - - - - - \ No newline at end of file