Cisco Intersight Programmability Explained
1. Intersight API
The Intersight API is a RESTful API that allows developers to interact with Cisco Intersight programmatically. It provides a set of endpoints to manage and monitor infrastructure resources, such as servers, storage, and networking devices. The API uses JSON for data representation and supports standard HTTP methods like GET, POST, PUT, and DELETE.
Example: A developer can use the Intersight API to retrieve the health status of a server by sending a GET request to the appropriate endpoint. The response will include detailed information about the server's status in JSON format.
2. Intersight Workflows
Intersight Workflows are pre-defined sequences of tasks that automate complex operations in the data center. These workflows can be customized and executed programmatically using the Intersight API. They are designed to simplify the management of multi-step processes, such as server provisioning or firmware updates.
Example: An IT administrator can create a workflow that automates the process of provisioning a new server. The workflow will include tasks like configuring the server, installing necessary software, and verifying its operational status. This workflow can then be triggered via the Intersight API.
3. Intersight Policies
Intersight Policies are sets of rules and configurations that define the desired state of infrastructure resources. These policies can be applied to servers, storage, and networking devices to ensure consistency and compliance. Policies can be created and managed programmatically using the Intersight API.
Example: A security policy can be created to enforce specific firewall rules on all servers in a data center. This policy can be applied programmatically using the Intersight API, ensuring that all servers adhere to the defined security standards.
4. Intersight Alerts and Notifications
Intersight Alerts and Notifications provide real-time monitoring and alerting capabilities for infrastructure resources. These alerts can be configured to notify administrators of critical events, such as server failures or network outages. Alerts and notifications can be managed and customized programmatically using the Intersight API.
Example: An administrator can configure an alert to notify them via email whenever a server's CPU usage exceeds 90%. This alert can be set up using the Intersight API, ensuring timely response to potential performance issues.