Skip to content

Commit

Permalink
Merge pull request #56 from cdot65/49-enhance-cli-argument-handling-f…
Browse files Browse the repository at this point in the history
…or-distinct-pan-os-device-upgrade-types

Update CLI commands for firewall and Panorama targeting
  • Loading branch information
cdot65 authored Jan 26, 2024
2 parents 226e99d + 95b812e commit 3d36762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/python/execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Alternatively, you can pass these details as command-line arguments. This method
#### Direct Firewall Targeting

```bash
$ pan-os-upgrade --hostname 192.168.255.1 --username admin --password secret --version 10.1.0
$ pan-os-upgrade firewall --hostname 192.168.255.1 --username admin --password secret --version 10.1.0
INFO - ✅ Connection to firewall established
... shortened output for brevity ...
```
Expand All @@ -71,7 +71,7 @@ INFO - ✅ Connection to firewall established
When using Panorama as a proxy, the `--filter` argument is necessary to specify the criteria for selecting the managed firewalls to upgrade.

```bash
$ pan-os-upgrade --hostname panorama.cdot.io --filter 'hostname=houston' --username admin --password secret --version 10.1.0
$ pan-os-upgrade panorama --hostname panorama.cdot.io --filter 'hostname=houston' --username admin --password secret --version 10.1.0
✅ Connection to Panorama established. Firewall connections will be proxied!
... shortened output for brevity ...
```
Expand Down

0 comments on commit 3d36762

Please sign in to comment.