Skip to content

Commit

Permalink
Merge branch 'develop' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers authored Oct 24, 2018
2 parents fdc2edd + cbb8dd6 commit 966b548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/first_steps_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To replace the configuration do the following::

Note that the changes have not been applied yet. Before applying the configuration you can check the changes::

>>> print device.compare_config()
>>> print(device.compare_config())
+ hostname pyeos-unittest-changed
- hostname pyeos-unittest
router bgp 65000
Expand Down Expand Up @@ -57,7 +57,7 @@ Merging Configuration
Merging configuration is similar, but you need to load the configuration with the merge method::

>>> device.load_merge_candidate(config='hostname test\ninterface Ethernet2\ndescription bla')
>>> print device.compare_config()
>>> print(device.compare_config())
configure
hostname test
interface Ethernet2
Expand Down

0 comments on commit 966b548

Please sign in to comment.