Skip to content

Conversation

@vnitinv
Copy link
Contributor

@vnitinv vnitinv commented Sep 16, 2016

example:
To take mode and port.

  - name: Checking NETCONF connectivity
    wait_for: host={{ inventory_hostname }} timeout=5
  - name: Get configs
    junos_get_config:
      user: "{{ USERNAME }}"
      passwd: "{{ PASSWORD }}"
      port: 7011
      mode: "telnet"
      logfile: get_config.log
      format: xml

description:
- mode of console connection (telnet/serial)
required: false
default: None
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to indicate that default is regular SSH connection

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done with changes. Please review.

dest: "{{ inventory_hostname }}.xml"
format: xml
# Run cli over console connection via PyEZ
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mode is telnet but comment says console (indicating serial). Please calrify.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done with changes. Please review.

@vnitinv vnitinv mentioned this pull request Sep 19, 2016
@vnitinv vnitinv merged commit f5fc703 into Juniper:master Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants