This document explains how to add a new button in My VDC popover and bind it with a new service.
There are no specific requirements for this document.
The information in this document is based on these hardware and software versions.
In this section, you are presented with the steps to add a new action button to the My VDCs popover. Creating a new service or modifying an existing service is beyond the scope of this document.
The procedure for creating new buttons in My VDCs requires the use of Service Designer.
Adding a New Button
The following example illustrates the steps for adding a new button to "Release Floating IP Address."
Step 1: Go to Service Designer as shown below in Diagram 1.
Step 2: Create a service and save its name for future use.
Step 3: Locate the IAC deployment directory and open the file "my-vdcs.html" for editing.
Step 4: Add new line at end of the ServiceIds section and within the appropriate conditional block that determines the accessibility of the service across different User Roles as shown below in Diagram 3.
NOTE: Service name is case sensitive, and uses "serviceId" as a second argument.
Step 5: Open the file "IACServersPopover.js" for editing that is located at:
Step 6: Build, run and deploy to verify new button is created.