-
Notifications
You must be signed in to change notification settings - Fork 34
Creating a device #2
Copy link
Copy link
Open
Description
I am trying to create a device (object) with it's mac address and then trying to add it to a device group.
I could not find any information related to it in the REST API documentation.
This can be done like this in the command line:
config user device
edit device_name
set mac AA:AA:AA:AA:AA
set type windows-pc
...
next
end
And then adding it to a group:
config user device-group
edit group_name
set member "device_name"
next
end
...
Also if a device has more than one mac (ethernet and wifi), two separate devices need to be created, link then and set one as default.
Can this be done adapting your code? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels