Skip to content

Add SyslogRemote resource module#81

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

Add SyslogRemote resource module#81
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/syslog

Conversation

@ed6869

@ed6869 ed6869 commented Jun 29, 2026

Copy link
Copy Markdown

Summary

Add a SyslogRemote resource class so the AOS-CX Ansible collection can
manage remote syslog servers through pyaoscx.

  • SyslogRemote (system/syslog_remotes, indexed by remote_host) — vrf
    reference, transport (udp/tcp/tls), port number, severity,
    include_auditable_events, disable. Standard get/create/update/delete/apply
    lifecycle. Registered in pyaoscx/api.py.

Works on REST API v10.09.

Testing

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

Companion collection PR

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

Fixes #80

Add a SyslogRemote class for system/syslog_remotes (indexed by
remote_host) 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 SyslogRemote resource module

1 participant