Skip to content

Commit

Permalink
Corrected some examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mraineri committed Apr 30, 2021
1 parent d9b8077 commit 1484255
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ optional arguments:
```

Example: `rf_manager_config.py -u root -p root -r https://192.168.1.100 -t GracefulRestart`
Example: `rf_manager_config.py -u root -p root -r https://192.168.1.100 reset -t GracefulRestart`

The tool will log into the service specified by the *rhost* argument using the credentials provided by the *user* and *password* arguments.
It then traverses the manager collection for the service to find the matching system specified by the *manager* argument.
Expand All @@ -315,6 +315,8 @@ optional arguments:
--id ID, -i ID The identifier of the Ethernet interface to display
```

Example: `rf_manager_config.py -u root -p root -r https://192.168.1.100 getnet -i NIC2`

The tool will log into the service specified by the *rhost* argument using the credentials provided by the *user* and *password* arguments.
It will then locate the manager specified by the *manager* argument, locate the Ethernet interface specified by the *id* argument, and displays the interface instance.
* If *manager* is not specified, and if the service has exactly one manager, it will perform the operation on the one manager.
Expand Down Expand Up @@ -360,6 +362,8 @@ optional arguments:
The VLAN priority to set
```

Example: `rf_manager_config.py -u root -p root -r https://192.168.1.100 setnet -i NIC2 -ipv4address 192.168.1.101 -ipv4gateway 192.168.1.1`

The tool will log into the service specified by the *rhost* argument using the credentials provided by the *user* and *password* arguments.
It will then locate the manager specified by the *manager* argument, locate the Ethernet interface specified by the *id* argument, and apply the requested settings to the interface.
* If *manager* is not specified, and if the service has exactly one manager, it will perform the operation on the one manager.
Expand Down

0 comments on commit 1484255

Please sign in to comment.