This repo enables Telstra Programmable Network resources to be provisioned and managed via RightScale. It contains:
- Self Service Plugin which provides the integration.
- An example CAT which shows how a Topology can be provisioned.
- A test CAT for exercising each function within the Plugin.
- RightScale's
sys_log
utility CAT.
- Install dependencies.
- Upload
tpn_plugin.rb
,tpn_example.cat.rb
andtpn_unattached_vnf_endpoints.rb
to Self-Service. - (Optional) Publish
tpn_example.cat.rb
to the Catalog. - Create the following Credentials in Cloud Management:
- store the username in
TPN_USERNAME
- store the password in
TPN_PASSWORD
- store the domain id in
TPN_DOMAIN_ID
- used by the CATs to store the access token after login occurs in
TPN_ACCESS_TOKEN
- Launch the
TPN Topology
CloudApp from the Self Service Designer or Catalog. - Provide a name for the cloud app and click Launch.
- A Topology will be provisioned in TPN with the same name as provided. The Topology's UUID and Status will be displayed as outputs.
- Click Terminte to deprovision the Topology
The email template email-template.html
can be directly viewed in a browser
and modified as required. escape-html.sh
should the be run to output a
correctly escaped version. Each section of the template can then be copy and
pasted into tpn_unattached_vnf_endpoints.rb
.
- Currently only Topologies (List, Read, Delete, Read Objects) and Endpoints (List, Read) are supported.
- If the CAT takes longer the ~1h 40mins the access token will expire and script will fail
- Authentication is performed by the CAT rather than the SS Plugin