Skip to content

Commit

Permalink
Merge pull request #16 from scotteelp/alpha14
Browse files Browse the repository at this point in the history
Alpha14. Updated README.md.
  • Loading branch information
scotteelp authored Aug 27, 2023
2 parents 7cdad0b + 0a44637 commit 03281cd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,29 @@ For more information on using the `pynetbox` module, refer to the official docum
- `update_age` (`-a`): Updates the age of active devices in NetBox based on birthdate information.
- `joke` (`-j`): Displays a random Chuck Norris joke.

## Device Fields Fetched from get_devices

The script retrieves the following device fields from the NetBox server:

- `Name`: Name of the device.
- `Status`: Status of the device (Active or other).
- `Site`: Location site of the device.
- `Rack`: Rack information of the device.
- `Role`: Role of the device (e.g., switch, router).
- `Manufacturer`: Manufacturer of the device.
- `Type`: Type of the device.
- `Owner`: Owner of the device.
- `Birthday`: Birthdate of the device (custom field).
- `Age (Months)`: Calculated age of the device in months.
- `Service Contract`: Service contract information (custom field).
- `Warranty`: Warranty information (custom field).
- `Serial Number`: Serial number of the device.
- `Platform`: Platform of the device.
- `Software`: Software information (custom field).
- `SW_Version`: Software version (custom field).
- `Primary IP`: Primary IP address of the device.


## Usage

Run the script with a specified function name to perform the desired action. For example:
Expand Down

0 comments on commit 03281cd

Please sign in to comment.