-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from f5devcentral/19-refactor-readme-instructions
refactor: update README instructions
- Loading branch information
Showing
2 changed files
with
98 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Usage | ||
|
||
### Configuration | ||
|
||
Before running the script, you must create environment variables with your F5XC Tenant URL and API Token. | ||
|
||
```bash | ||
|
||
export XC_API_TOKEN='XXXXXXXXX' | ||
export XC_TENANT='f5-xctestdrive' | ||
|
||
``` | ||
|
||
### Running the Script | ||
|
||
To run the backup or restore functions, you will use the script files named `backup.py` and `restore.py`. These are the tools that perform the saving and applying of your network configurations. | ||
|
||
### Example Outputs | ||
|
||
The script will provide outputs that indicate the success or failure of the backup and restore operations. Unfortunately, due to a retrieval error, we cannot show the exact example outputs from the script. However, typically, a successful backup will indicate that the settings have been saved into a file, and a successful restore will confirm that the settings have been applied to the network. | ||
|
||
### Permissions | ||
|
||
It's important to note that in order to perform backups or restores, your API Key needs to have the right level of permission to access and change the network settings. This is like having the correct security clearance to make changes in a secure system[1]. | ||
|
||
### Conclusion | ||
|
||
By following the above steps and ensuring you have the correct prerequisites, you can use the F5XC Backup/Restore Utilities to manage your network configurations effectively. Remember to consult the F5 documentation for detailed instructions on obtaining an API Token and for any additional support you may need. |