| 1 |
# cisco.ucs Collection Development Notes |
| 2 |
|
| 3 |
### Current Development Status |
| 4 |
|
| 5 |
These object specific modules cover a very small set of UCS Manager managed objects. For UCS objects that do not |
| 6 |
have a specific module below use `ucs_managed_objects`. This module accepts either JSON or YAML |
| 7 |
when used as a task in a playbook. Review `playbooks/ucs_managed_objects` playbook for examples. |
| 8 |
|
| 9 |
| Configuration Category | Configuration Task | Module Name | |
| 10 |
| ---------------------- | ------------------ | ----------- | |
| 11 |
| Objects | | | |
| 12 |
| | Any UCS Object | cisco.ucs.ucs_managed_objects | |
| 13 |
| Query | | | |
| 14 |
| | Query Classes or DNs | cisco.ucs.ucs_query | |
| 15 |
| | VLAN Find | cisco.ucs.ucs_vlan_find |
| 16 |
| Organizations | | | |
| 17 |
| | Organizations | cisco.ucs.ucs_org | |
| 18 |
| Servers | | | |
| 19 |
| | Graphics Card Policy | cisco.ucs.ucs_graphics_card_policy | |
| 20 |
| | Scrub Policy | cisco.ucs.ucs_scrub_policy | |
| 21 |
| | Serial Over Lan Policy | cisco.ucs.ucs_serial_over_lan_policy | |
| 22 |
| | Service Profile Template | cisco.ucs.ucs_service_profile_template | |
| 23 |
| | Service Profile from Template | cisco.ucs.ucs_service_profile_from_template | |
| 24 |
| | UUID Suffix Pool | cisco.ucs.ucs_uuid_pool | |
| 25 |
| LAN | | | |
| 26 |
| | IP Addresses for KVM Access | cisco.ucs.ucs_ip_pool | |
| 27 |
| | LAN Connectivity Policy | cisco.ucs.ucs_lan_connectivity | |
| 28 |
| | MAC Address Pools | cisco.ucs.ucs_mac_pool | |
| 29 |
| | System QOS | cisco.ucs.ucs_system_qos | |
| 30 |
| | vNIC Template | cisco.ucs.ucs_vnic_template | |
| 31 |
| | VLANs | cisco.ucs.ucs_vlans | |
| 32 |
| SAN | | | |
| 33 |
| | SAN Connectivity Policy | cisco.ucs.ucs_san_connectivity | |
| 34 |
| | vHBA Template | cisco.ucs.ucs_vhba_template | |
| 35 |
| | VSANs | cisco.ucs.ucs_vsans | |
| 36 |
| | WWN Pool | cisco.ucs.ucs_wwn_pool | |
| 37 |
| Storage | | | |
| 38 |
| | Disk Group Policy | cisco.ucs.ucs_disk_group_policy | |
| 39 |
| | Storage Profile | cisco.ucs.ucs_storage_profile | |
| 40 |
| Admin | | | |
| 41 |
| | DNS Server | cisco.ucs.ucs_dns_server | |
| 42 |
| | NTP Server | cisco.ucs.ucs_ntp_server | |
| 43 |
| | Time Zone | cisco.ucs.ucs_timezone | |
| 44 |
|
| 45 |
### Ansible Development Notes |
| 46 |
|
| 47 |
Modules in development follow processes documented at http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html. The modules support ansible-doc and should eventually have integration tests. |
| 48 |
|
| 49 |
When developing modules in this repository, here are a few helpful commands to sanity check the code and documentation (replace module_name with your module (e.g., intersight_objects)). Ansible modules won't generally be pylint or pycodestyle (PEP8) clean without disabling several of the checks: |
| 50 |
``` |
| 51 |
pylint --disable=invalid-name,no-member,too-many-nested-blocks,redefined-variable-type,too-many-statements,too-many-branches,broad-except,line-too-long,missing-docstring,wrong-import-position,too-many-locals,import-error <module_name>.py |
| 52 |
|
| 53 |
pycodestyle --max-line-length 160 --config /dev/null --ignore E402 <module_name>.py |
| 54 |
|
| 55 |
ansible-doc <module_name> |
| 56 |
``` |
| 57 |
|
| 58 |
# Community: |
| 59 |
|
| 60 |
* We are on Slack (https://ciscoucs.slack.com/) - Slack requires registration, but the ucspython team is open invitation to |
| 61 |
anyone. Click [here](https://ucspython.herokuapp.com) to register |