Skip to content

Add User resource module#83

Open
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/users
Open

Add User resource module#83
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/users

Conversation

@ed6869

@ed6869 ed6869 commented Jun 29, 2026

Copy link
Copy Markdown

Summary

Add a User resource class so the AOS-CX Ansible collection can manage
local users through pyaoscx.

  • User (system/users, indexed by name) — password, authorized_keys,
    user_group reference. Standard get/create/update/delete/apply lifecycle.
    Registered in pyaoscx/api.py.

Works on REST API v10.09.

Testing

  • Offline unit tests (tests/test_user.py) — mocked session, 3 passing.
  • Live create + update + delete on a CX6300 FL.10.17 switch.

Companion collection PR

Companion collection PR: aruba/aoscx-ansible-collection#162

Fixes #82

Add a User class for system/users (indexed by name) with the standard
get/create/update/delete/apply lifecycle and register it in api.py.
Includes offline tests.

Signed-off-by: ed6869 <ed6869@mail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add User resource module

1 participant