IDI version 26.11 is now available.  Click here for details: IDI Updates.

Provisioning - Calix Cloud Specifications and Actions

Prev Next

Summary

This article describes the certified specifications Provisioning supports for Calix Cloud. Provisioning currently supports a subset of the Calix Cloud provisioning capabilities. The article contains a detailed list of actions and parameters.

Specifications

Provider: Calix Cloud

Link: https://www.calix.com/

Application Interface: Calix Cloud Billing API (REST)

Application Version: SubscriberService 1.0.0

CalixCloud Provider Version: 1.0

Bundle Version: 26.12

Certified Platforms:

  • Calix Cloud Subscriber Services

Overview

The section below describes how Provisioning interacts with Calix Cloud APIs and offers helpful advice and guidelines.

  • Calix Cloud is based around the Subscriber. Each subscriber is identified by its Subscriber Location ID, and the subscriber’s devices and services are attached to it.

  • Each action signs in with the Username, Password, Client ID and Client Secret to get an access token, then sends its calls to the Calix Cloud Billing API. The Address is the host only; Provisioning adds the paths.

  • Calix Cloud allows 4 calls per second. A call that Calix rate-limits (HTTP 429) is retried up to the number of times in Retry Attempts (default 3, maximum 10), waiting as long as Calix asks before each retry.

  • Passwords, the Client Secret and access tokens are masked in the logged provider calls.

  • Parameters will only display as required if they’re required for every call. Optional fields that do not contain a value will not be displayed. If a required value is not populated on the action, provisioning will error the request before sending it to the endpoint and state that it’s a required field.

Available Actions

The current actions supported for Calix Cloud include:

Provider

Platform

Action

Available

Calix Cloud

Calix Cloud

Sync Calix Service Cloud

26.12

Calix Cloud

Calix Cloud

Delete from Calix Cloud

26.12

Action Detail for Calix Cloud Services

The sections below describe the available parameters and supported actions for provisioning Calix Cloud subscribers, devices and services.

Sync Calix Service Cloud

The action creates or updates a subscriber in Calix Cloud, along with its devices and service, depending on whether they already exist. It runs in three steps: subscriber, then devices, then service.

Subscriber

  • The action looks for the subscriber by Subscriber Location ID, under the account in the Account field first and then under the account the Subscriber Location ID carries:

    • A location ID such as “account:street address” carries the text before the first colon.

    • A location ID with no colon (for example “77351-5”) is the account itself.

    • A location ID that starts with a colon (“:street address”) has no account. When the Account field is blank too, the action has to search every subscriber, which is slower.

  • If the subscriber is not found, it is created (POST). If Calix answers that the location ID is already in use, the action looks again and updates that subscriber.

  • If the subscriber is found, it is updated (PUT). Fields left blank on the action keep the value Calix already holds.

Devices

  • Device ID takes one or more device IDs, comma separated. Blanks and repeats are ignored, and IDs are matched ignoring case.

  • If the subscriber has no devices, each device is added. If the subscriber’s devices differ from the action, the device list is replaced, which removes any device no longer on the action. If they match, nothing is sent.

Service

  • The service is matched by USOC (ignoring case). A matching service is updated in place, keeping any field the action leaves blank; otherwise the service is added. Calix fills the rest of the service from the Service Definition for the USOC.

  • Calix Cloud allows one data, one video and one voice service per location. An order that changes the USOC of a service the subscriber already has is added as a second service, and Calix rejects it, so delete the old service first.

Output

  • When the action completes, the Calix Cloud Subscriber ID is written to the POD property named in Extended Data Output Key, and the Calix Cloud Service ID to the property named in Service Extended Data Output Key. Later actions on the same service, such as Delete from Calix Cloud, can read them back with @.

  • The status note states whether the subscriber was created or updated, with its Calix Cloud Subscriber ID.

Available Parameters

Name

Type

Required

Notes

Connection Information

Address

String

Required

Host URL of Calix Cloud, with no path. Provisioning adds /authentication and /billing

Username

String

Required

Username for Authentication

Password

String

Required

Password for Authentication

Client ID

String

Required

Calix Cloud API Client ID

Client Secret

String

Required

Calix Cloud API Client Secret

Automatic Retry

Retry Attempts

Number

Optional

Default = 3. 0 to 10. Retries for calls Calix rate-limits (HTTP 429)

General Information

Subscriber Location ID

String

Required

Unique location ID of the subscriber, for example account:street address

Account

String

Optional

Narrows the subscriber lookup

First Name

String

Optional

Last Name

String

Optional

Phone

String

Optional

Email

String

Optional

Customer Type

List/String

Optional

Residential or Business

Billing Status

List/String

Optional

Active, Disconnected, Suspended or Deactivated

Marketing Opt Out

Boolean

Optional

True or False

High Value

Boolean

Optional

True or False

Attainable Rate

Number

Optional

0 to 100000

Service Address

Street 1

String

Optional

Street 2

String

Optional

City

String

Optional

State

String

Optional

Zip Code

String

Optional

Country

String

Optional

Service Address

String

Optional

Full service address. When blank, built from the fields above

Billing Address

Billing Street 1

String

Optional

Billing Street 2

String

Optional

Billing City

String

Optional

Billing State

String

Optional

Billing Zip Code

String

Optional

Billing Country

String

Optional

Billing Address

String

Optional

Full billing address. When blank, built from the fields above

Geographic Fields

Region

String

Optional

Location

String

Optional

Device and Service

Device ID

String

Required

One or more device IDs (serial number or MAC address), comma separated

USOC

String

Required

USOC of a Service Definition in Calix Cloud

Endpoint Mapping Option 1

String

Optional

Extended Data Output Key

String

Optional

POD property to write the Calix Cloud Subscriber ID to (without the @)

Service Extended Data Output Key

String

Optional

POD property to write the Calix Cloud Service ID to (without the @)

Delete from Calix Cloud

The action deletes a subscriber and its devices and service from Calix Cloud.

  • Devices and the service belong to the subscriber, so each device is removed first, then the service, then the subscriber.

  • A device, service or subscriber that Calix Cloud no longer has counts as deleted, so an action re-run after a partial failure can finish.

  • Use the properties written by Sync Calix Service Cloud for Subscriber ID and Service ID, for example @ followed by the Extended Data Output Key name.

Available Parameters

Name

Type

Required

Notes

Connection Information

Address

String

Required

Host URL of Calix Cloud, with no path. Provisioning adds /authentication and /billing

Username

String

Required

Username for Authentication

Password

String

Required

Password for Authentication

Client ID

String

Required

Calix Cloud API Client ID

Client Secret

String

Required

Calix Cloud API Client Secret

Automatic Retry

Retry Attempts

Number

Optional

Default = 3. 0 to 10. Retries for calls Calix rate-limits (HTTP 429)

General Information

Subscriber ID

String

Required

Calix Cloud Subscriber ID

Device ID

String

Required

One or more device IDs, comma separated

Service ID

String

Required

Calix Cloud Service ID

Populating the Calix Cloud POD from Customer Data

The Populate POD Properties From Customer Data workflow action fills in the Calix Cloud POD properties on a Pending network service order, using the customer, service and address data IDI already holds. It runs after Create Network Service Order and before Provision From Network Service Order, so Sync Calix Service Cloud is sent complete data without anyone entering it in Provisioning Admin.

Setting up the POD

  • Define every property in the table below on the Calix Cloud POD, named exactly as shown: CalixCloud. followed by the Sync Calix Service Cloud parameter name. Names are not case sensitive.

  • Each property must be extended data, not set by a provisioning variable.

  • If the POD is missing any of the properties, or sets one by a provisioning variable, the action errors with a message listing every one, and nothing is written.

  • On Sync Calix Service Cloud, set each parameter to its property with @, for example Subscriber Location ID = @CalixCloud.Subscriber Location ID.

  • The action does not populate Device ID or USOC. Devices are set on Sync Calix Service Cloud, and the USOC by provisioning variables.

Action parameters

  • POD Definition (required): the Calix Cloud POD whose items are populated.

  • Network Service Order ID (required): the Pending network service order, usually the Extended Data Output Key written by Create Network Service Order.

  • Marketing Opt Out, High Value, Attainable Rate, Region and Location (optional): IDI does not hold these for the customer, so they come from the action’s parameters, which can be set from a data look-up. The same values are written to every item.

How the action runs

  • The network service order must be Pending. Every item for the chosen POD is updated. Its service is found by the item’s internal ID (the service number) on the order’s account.

  • Every value is built before anything is written, so a data problem, such as a service that cannot be found, writes nothing.

  • Values are written as extended data on each item: existing values are updated, missing ones are added, and other properties are left alone, so the action can safely be run again.

  • A value IDI holds no data for is written blank. When the service has no service address, the Service Address properties come from the service contact, or the primary customer contact.

POD Properties

POD Property

Value

General Information

CalixCloud.Subscriber Location ID

Account number, a colon, then service Street 1 and Street 2 separated by a space, for example 100234:123 N Main St Apt 4. The action errors if the service has no street

CalixCloud.Account

Account number of the network service order

CalixCloud.First Name

Service contact, or the primary customer contact when the service has no contact

CalixCloud.Last Name

Same contact as First Name

CalixCloud.Phone

Same contact as First Name (phone number 1)

CalixCloud.Email

Same contact as First Name (email address 1)

CalixCloud.Customer Type

Residential when the tax account type of the account type is Residential; otherwise Business

CalixCloud.Billing Status

Active, Disconnected or Suspended, from the service status. An Active service with a suspend date, and a Hotlined or Redirected service, are sent as Suspended

CalixCloud.Marketing Opt Out

Marketing Opt Out parameter: True or False. Blank is sent as False

CalixCloud.High Value

High Value parameter: True or False. Blank is sent as False

CalixCloud.Attainable Rate

Attainable Rate parameter: a whole number. When blank, the property keeps its current value

Service Address

CalixCloud.Street 1

Service address street number, direction, street name and thoroughfare

CalixCloud.Street 2

Service address designators, for example Apt 4

CalixCloud.City

Service address city

CalixCloud.State

Service address state

CalixCloud.Zip Code

Service address zip code

CalixCloud.Country

Country of the service contact, or the primary customer contact (the service address has no country)

CalixCloud.Service Address

Street 1, Street 2, City, State, Country and Zip Code, comma separated

Billing Address

CalixCloud.Billing Street 1

Primary billing contact, or the primary customer contact when the account has no billing contact

CalixCloud.Billing Street 2

Same contact as Billing Street 1

CalixCloud.Billing City

Same contact as Billing Street 1

CalixCloud.Billing State

Same contact as Billing Street 1

CalixCloud.Billing Zip Code

Same contact as Billing Street 1

CalixCloud.Billing Country

Same contact as Billing Street 1

CalixCloud.Billing Address

Billing Street 1, Street 2, City, State, Country and Zip Code, comma separated

Geographic Fields

CalixCloud.Region

Region parameter

CalixCloud.Location

Location parameter