Junos

This section lists down all those services which are only specific to Junos.

For a list of all the other services please refer to Common Services.

Note

Currently supports simplex ( non-HA ) devices only.

configure

For more information see configure

The default commit command for Junos is commit synchronize.

If you want to configure the device without automatically executing the commit command, you can override the commit_cmd attribute for the configure service in the topology file or set the commit_cmd service attribute in python directly.

# Example override of commit_cmd for configure service

devices:
  EX1:
    os: junos
    type: router
    connections:
      cli:
        protocol: telnet
        ip: 127.0.0.1
        port: 64001
        service_attributes:
          configure:
            commit_cmd: ""
dev.configure.commit_cmd = ""
dev.configure('config commands')
dev.configure('more config commands')
dev.configure('commit')