1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-29 12:00:00 -05:00
vsphere-automation-sdk-python/samples/vsphere/logforwarding
het cfa9acdb88 Add tests to make sure vsphere client stubs are present
Add unittests for vsphere client
Fixed some format issues
Run the tests as part of travis ci
2018-09-21 13:38:40 -07:00
..
log_forwarding.py Add tests to make sure vsphere client stubs are present 2018-09-21 13:38:40 -07:00
README.md vSphere 6.7 Release 2018-04-17 11:01:27 -07:00

This directory contains samples for log forwarding APIs:

* Create log forwarding configurations
* View log forwarding configurations
* Update log forwarding configurations
* Test log forwarding configurations

To view the available command-line options:

$ python logforwarding/logforwarding.py --help

Running the samples:

$ python logforwarding/logforwarding.py --server <vCenter Server IP> --username <username> --password <password> --loghost <log host> --port <log host port> --protocol <log protocol>
  • Testbed Requirement:
    • 1 vCenter Server
    • Log host listening to syslog packets over any of the supported protocols UDP/TCP/TLS