Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Making Network Services Available for Allocation to Customers

    You create network services in Network Service Designer. When you save network services in Network Service Designer, Network Service Orchestrator stores them as network services descriptors (NSDs). You must import the NSDs into Cloud CPE Tenant, Site and Service Manager as network services profiles so that you can make network services available for allocation to customers.

    This procedure uses the following Cloud CPE Tenant, Site and Service Manager APIs:

    • View the NSDs:
      http://server-IP-address:9788/csas/nsd-packages
    • Import the network service profiles:
      http://server-IP-address:9788/csas/nfv-service-profiles/import

    Table 1 shows the fields that you must specify for this procedure.

    Table 1: Required Fields for Importing a Network Service Profile to Cloud CPE Tenant, Site and Service Manager

    Field

    Description

    Example

    name

    Name of NSD package

    FW-100

    nsdid

    Identifier for NSD

    8c462e45-e5be-4944-90e4-c017a105a287

    To import network service profiles from Network Service Orchestrator to Cloud CPE Tenant, Site and Service Manager:

    1. Issue a REST call to view the available network services.

      The API returns a list of network services with their identifiers.
      For example:

      ubuntu@vm1:~$ curl -X GET -H "x-auth-token:$OS_TOKEN" http://10.102.56.39:9788/csas/nsd-packages
      {
          "nsd-packages": [
              {
                  "description": "FW-300",
                  "name": "FW-300",
                  "uuid": "02d9d9cd-e3b0-41c1-9c66-bbecab2679dc"
              },
              {
                  "description": "FW-200",
                  "name": "FW-200",
                  "uuid": "bc8673d2-555b-4d22-8aff-a51d7c3b42ab"
              },
              {
                  "description": "FW-100",
                  "name": "FW-100",
                  "uuid": "e14274a2-5336-4c1d-b6d4-677e959c074a"
              }
          ]
      }
      
    2. Create an input file for Cloud CPE Tenant, Site and Service Manager.
      For example:
      ubuntu@vm1:~$cat import.json
      {
        "name" : "FW-100",
        "nsdid": "e14274a2-5336-4c1d-b6d4-677e959c074a"
      }
      
    3. Issue a REST call to import the network service descriptor from Network Service Orchestrator as a network service profile into Cloud CPE Tenant, Site and Service Manager.

      The API returns information about the network service profile, including an identifier.
      For example:

      ubuntu@vm1:~$ curl -X POST -D headers -H "content-type:application/json" -H "x-auth-token:$OS_TOKEN" http://10.102.56.39:9788/csas/nfv-service-profiles/import -d @import.json
      uuid: 8c462e45-e5be-4944-90e4-c017a105a287
      

    Modified: 2016-01-29