Inventory
This section explains how you can upgrade the device OS using ONES.
You can onboard all the devices on the application and can get a complete view of all the populated tables
The Inventory tab has the below mentioned features:
Custom OS upgrade: Upgrade the device OS with any customised image. You need to provide the correct path to ensure the OS is updated successfully
OS upgrade via ZTP: Upgrade the device OS via Zero touch provisioning
Reboot devices: Reboot the device from a single click in the UI
Add/Remove devices from the dashboard: You can onboard the devices using the YAML file upload or via in-built editor in the UI
Devices
Navigate to Inventory >> Devices

Using this tab, user can:
Onboard the device to the application using ADD/Remove Devices
Upgrade the device using Custom Upgrade
Upgrade the device using ZTP (Zero Touch Provisioning)
Reboot individual devices or multiple devices by selecting them in one click
Add Devices
Upload Device Inventory using YAML editor
Navigate to Inventory >> Devices >> Add/Remove Devices

Use the below format to add devices to the ONES application
inventory:
- switchName: "labaz01-Spine1"
layer: "Spine"
ipAddress: "10.4.4.75"
region: "Asia Pacific"
azId: 1
brickId: 1
rackId: null
user: "admin"
password: "Admin123"
- switchName: "labaz01-Leaf1"
layer: "Leaf"
ipAddress: "10.4.4.76"
region: "San Jose"
azId: 1
brickId: 1
rackId: null
user: "admin"
password: "Admin123
Make sure to use the correct indentation for the YAML files
Make sure the Switch Name matches to Hostname of the device

Click Save & Apply
ONES Application is now ready to manage the added devices

Feature Set
Role / Region: Shows the device roles and regions
SKU / ASIC: Shows the device hardware SKU and ASIC vendor
Port / Max Speed
Shows the number of ports per device and max ports speed on the device
Click on the number of ports to get a detailed view of all the ports on a particular device

PSUs / Fans: Shows the total number of Power supplies and Fans present on a particular device
NOS Image: Shows the details of the network operating system running on the device and when it was last updated
ONIE Version: Shows which ONIE version is running on the device and when last reboot time of the device
Agent Version / Network OS: Shows the agent version running on the device and current active OS version on the device
Agent status / Last contact: Latest status of the Agent and when it was last communicated with that Agent.
Connect: Using this feature we directly get the CLI access of the device, so we can use this if we need some tuning or need to push some extra config
Details: This last tab we can again use to get the details of the device

Remove Devices from the ONES Application
Navigate to Inventory >> Devices >> Add/Remove Devices

Remove all the inputs entered by the user

Click Save and Apply
Once the ONES Application detects, a user is trying to remove devices it shows one confirmation dialogue box to cross-check the status

Now all the devices have been removed from the ONES Application

Custom Upgrade
This feature gives the control to upgrade the device to the new version
An HTTP image link is required to use the custom upgrade
Select any of the devices to upgrade to the new version

Click on
Custom Upgrade

put the new Image URL and then
Submit
Upgrade via ZTP
Using this page a user can directly upgrade the box
Select any of the devices to upgrade via ZTP

Click on
Upgrade via ZTP

Click on
Yes
Reboot Device
Here we will see how we can reboot a device using
We have the option to choose one or multiple devices at a time to reboot
Choose one of the devices that we want to reboot
Click on Reboot
Click on Yes