Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
ContentIndex
  
[+] Expand All
[-] Collapse All

Deployment Plans RESTful Web Services

The following operations can be performed using the Edge Services Director Deployment Plans RESTful Web Services.

Get Statistics of Deployment Plans

This request is used to retrieve statistics of deployment plans.

URI

/api/sgd/configmanager/deploymentplan/servicedeploymentstatistics

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.servicedeploymentstatistics
+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects statistical details of deployment plans

Response Status Code

Message

Description

200 OK

Successful collection of statistical details of deployment plans

Output

Sample JSON Output

[ { "ServiceDeploymentStatisticTO" : { "deployed" : 1,
        "deploying" : 1,
        "deploymentFailed" : 0,
        "deploymentScheduled" : 0,
        "name" : "ADC",
        "newlycreated" : 0,
        "validated" : 0,
        "validationFailed" : 0
      } },
  { "ServiceDeploymentStatisticTO" : { "deployed" : 0,
        "deploying" : 0,
        "deploymentFailed" : 0,
        "deploymentScheduled" : 0,
        "name" : "TLB",
        "newlycreated" : 0,
        "validated" : 0,
        "validationFailed" : 0
      } },
  { "ServiceDeploymentStatisticTO" : { "deployed" : 0,
        "deploying" : 0,
        "deploymentFailed" : 0,
        "deploymentScheduled" : 0,
        "name" : "CGNAT",
        "newlycreated" : 0,
        "validated" : 0,
        "validationFailed" : 0
      } },
  { "ServiceDeploymentStatisticTO" : { "deployed" : 0,
        "deploying" : 0,
        "deploymentFailed" : 0,
        "deploymentScheduled" : 0,
        "name" : "SFW",
        "newlycreated" : 0,
        "validated" : 0,
        "validationFailed" : 0
      } }
]

Get All Deployment Plans

This request is used to retrieve all the configured deployment plans.

URI

/api/sgd/configmanager/deploymentplan/
getalldeploymentplans?page=1&start=0&limit=30

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.getalldeploymentplans?page=1&start=0
&limit=30 +json;version=1;charset=UTF-8

Consumes

None

Produces

Collects the list of all deployment plans

Response Status Code

Message

Description

200 OK

Successful collection of all configured deployment plans

Output

Sample JSON Output

{ "response" : { "data" : [ { "MOID" : "net.juniper.jmp.sgd.configmanager.provisioning.deploymentplan.jpa.SGDDeploymentPlanEntity:458912",
            "approveStatus" : "Approved",
            "configType" : "TEMPLATE",
            "createdBy" : "super",
            "createdTime" : "2014-11-14T14:36:40+05:30",
            "deployAction" : "provision",
            "deployStatus" : "Deploying",
            "deploymentPlanId" : 458912,
            "description" : "",
            "id" : 458912,
            "instanceName" : "lb1",
            "modifiedBy" : "super",
            "modifiedTime" : "2014-11-18T10:49:28+05:30",
            "serviceType" : "ADC",
            "statusMessage" : "Deployment in progress.",
            "transactionIds" : 656239
          },
          { "MOID" : "net.juniper.jmp.sgd.configmanager.provisioning.deploymentplan.jpa.SGDDeploymentPlanEntity:67191",
            "approveStatus" : "Approved",
            "configType" : "TEMPLATE",
            "createdBy" : "super",
            "createdTime" : "2014-11-13T13:34:42+05:30",
            "deployAction" : "provision",
            "deployStatus" : "Deployed",
            "deploymentPlanId" : 67191,
            "description" : "",
            "id" : 67191,
            "instanceName" : "lb1",
            "modifiedBy" : "super",
            "modifiedTime" : "2014-11-18T10:56:06+05:30",
            "serviceType" : "ADC",
            "statusMessage" : "Deployment Successful.",
            "transactionIds" : [ 656999,
                656786
              ]
          }
        ],
      "schemaName" : "SGDServiceTemplateTO",
      "success" : true,
      "totalRows" : 2
    } }

Create a Deployment Plan

This request is used to define a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
saveservicedeployment

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.saveservicedeployment
+json;version=1;charset=UTF-8

Consumes

None

Produces

Creates a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{ "approveStatus" : "NEEDS_APPROVAL",
  "configType" : "TEMPLATE",
  "configs" : { "ADC_CUSTOM_HEALTH_CHECKS" : [ { "commandName" : "1",
            "commandType" : "UDP",
            "commands" : [ { "commandType" : "OPEN",
                  "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "depth" : null,
                  "description" : null,
                  "id" : 592282,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCCommandEntity:592282",
                  "name" : "1",
                  "objectCreateType" : null,
                  "offset" : null,
                  "userOperationType" : null,
                  "value" : "1248",
                  "wait" : null
                } ],
            "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592281,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCCustomHealthCheckEntity:592281",
            "name" : "Script1",
            "objectCreateType" : "DEPLOYMENT",
            "userOperationType" : null
          } ],
      "ADC_HEALTH_CHECK_SOURCES" : [ { "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592283,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCUnitHealthCheckEntity:592283",
            "name" : "22",
            "objectCreateType" : "DEPLOYMENT",
            "units" : [ { "address" : "10.3.33.3",
                  "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "description" : null,
                  "id" : 592284,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCUnitEntity:592284",
                  "name" : "IPv4-Name",
                  "objectCreateType" : null,
                  "type" : "IPv4",
                  "userOperationType" : null
                } ],
            "userOperationType" : null
          } ],
      "ADC_REAL_SERVERS" : [ { "address" : "10.2.2.21",
            "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592287,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.RealServerEntity:592287",
            "name" : "RS1",
            "objectCreateType" : "DEPLOYMENT",
            "realServerHealthCheck" : { "createdBy" : "super",
                "createdTime" : 1416203399000,
                "description" : null,
                "failureRetries" : 1,
                "healthCheckInterval" : 0,
                "id" : 592286,
                "modifiedBy" : "super",
                "modifiedTime" : 1416203399000,
                "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.RealServerHealthCheckEntity_$$_javassist_498:592286",
                "name" : "RS1",
                "objectCreateType" : null,
                "recoveryRetries" : 1,
                "userOperationType" : null
              },
            "realServerType" : "ADC",
            "type" : "IPv4",
            "userOperationType" : null
          } ],
      "ADC_SERVER_GROUPS" : [ { "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "groupHealthCheck" : null,
            "healthCheck" : false,
            "id" : 592285,
            "loadBalanceMethod" : "ROUND_ROBIN",
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCGroupEntity:592285",
            "name" : "G1",
            "objectCreateType" : "DEPLOYMENT",
            "realservers" : [ "RS1" ],
            "unitHealthCheck" : "22",
            "userOperationType" : null
          } ],
      "ADC_VIRTUAL_SERVERS" : [ { "address" : "10.4.4.4",
            "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : "VS1 Desc",
            "id" : 592289,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCVirtualServerEntity:592289",
            "name" : "VS1",
            "objectCreateType" : "DEPLOYMENT",
            "type" : "IPv4",
            "userOperationType" : null,
            "virtualServices" : [ { "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "description" : null,
                  "fastLoadBalancing" : true,
                  "group" : "G1",
                  "id" : 592290,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCVirtualServiceEntity:592290",
                  "name" : "VSvc1",
                  "objectCreateType" : null,
                  "perPacketLoadBalancing" : true,
                  "port" : null,
                  "protocol" : "UDP",
                  "sendTrafficToVIP" : true,
                  "serverListeningPort" : 2,
                  "serviceTimeOut" : 2,
                  "type" : "DNS",
                  "userOperationType" : null
                } ]
          } ]
    },
  "deployAction" : "PROVISION",
  "deployStatus" : "NEW",
  "description" : "",
  "deviceConfigs" : { "ADC_CLIENT_FACING" : [ { "interfaces" : [ "irb.411",
                "irb.400"
              ],
            "name" : "CLIENT_FACING",
            "objectCreateType" : "DEPLOYMENT",
            "routingInstances" : [ "SGI-PRIVATE" ]
          } ],
      "ADC_SERVER_FACING" : [ { "interfaces" : [ "irb.800",
                "irb.410"
              ],
            "name" : "SERVER_FACING",
            "objectCreateType" : "DEPLOYMENT",
            "routingInstances" : [ "SGI-PUBLIC" ]
          } ],
      "ADC_SERVICE_INTERFACES" : [ { "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592288,
            "interfaceName" : null,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.SDGHostInterfaceEntity:592288",
            "name" : "ms-0/0/0",
            "objectCreateType" : "DEPLOYMENT",
            "unitNames" : null,
            "userOperationType" : null
          } ]
    },
  "instanceName" : "lb1",
  "serviceGateways" : [ { "configs" : { "ADC_CLIENT_FACING" : [ { "interfaces" : [ "irb.411",
                      "irb.400"
                    ],
                  "name" : "CLIENT_FACING",
                  "objectCreateType" : "DEPLOYMENT",
                  "routingInstances" : [ "SGI-PRIVATE" ]
                } ],
            "ADC_SERVER_FACING" : [ { "interfaces" : [ "irb.800",
                      "irb.410"
                    ],
                  "name" : "SERVER_FACING",
                  "objectCreateType" : "DEPLOYMENT",
                  "routingInstances" : [ "SGI-PUBLIC" ]
                } ],
            "ADC_SERVICE_INTERFACES" : [ { "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "description" : null,
                  "id" : 592288,
                  "interfaceName" : null,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.SDGHostInterfaceEntity:592288",
                  "name" : "ms-0/0/0",
                  "objectCreateType" : "DEPLOYMENT",
                  "unitNames" : null,
                  "userOperationType" : null
                } ]
          },
        "sdgId" : 33081
      } ],
  "serviceTemplateName" : "TEST_TEMPLATE",
  "serviceType" : "ADC"
}

Modify a Deployment Plan

This request is used to edit a previously configured deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
saveservicedeployment

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.saveservicedeployment
+json;version=1;charset=UTF-8

Consumes

None

Produces

Modifies a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{ "approveStatus" : "NEEDS_APPROVAL",
  "configType" : "TEMPLATE",
  "configs" : { "ADC_CUSTOM_HEALTH_CHECKS" : [ { "commandName" : "1",
            "commandType" : "UDP",
            "commands" : [ { "commandType" : "OPEN",
                  "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "depth" : null,
                  "description" : null,
                  "id" : 592282,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCCommandEntity:592282",
                  "name" : "1",
                  "objectCreateType" : null,
                  "offset" : null,
                  "userOperationType" : null,
                  "value" : "1248",
                  "wait" : null
                } ],
            "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592281,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCCustomHealthCheckEntity:592281",
            "name" : "Script1",
            "objectCreateType" : "DEPLOYMENT",
            "userOperationType" : null
          } ],
      "ADC_HEALTH_CHECK_SOURCES" : [ { "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592283,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCUnitHealthCheckEntity:592283",
            "name" : "22",
            "objectCreateType" : "DEPLOYMENT",
            "units" : [ { "address" : "10.3.33.3",
                  "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "description" : null,
                  "id" : 592284,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCUnitEntity:592284",
                  "name" : "IPv4-Name",
                  "objectCreateType" : null,
                  "type" : "IPv4",
                  "userOperationType" : null
                } ],
            "userOperationType" : null
          } ],
      "ADC_REAL_SERVERS" : [ { "address" : "10.2.2.21",
            "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592287,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.RealServerEntity:592287",
            "name" : "RS1",
            "objectCreateType" : "DEPLOYMENT",
            "realServerHealthCheck" : { "createdBy" : "super",
                "createdTime" : 1416203399000,
                "description" : null,
                "failureRetries" : 1,
                "healthCheckInterval" : 0,
                "id" : 592286,
                "modifiedBy" : "super",
                "modifiedTime" : 1416203399000,
                "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.RealServerHealthCheckEntity_$$_javassist_498:592286",
                "name" : "RS1",
                "objectCreateType" : null,
                "recoveryRetries" : 1,
                "userOperationType" : null
              },
            "realServerType" : "ADC",
            "type" : "IPv4",
            "userOperationType" : null
          } ],
      "ADC_SERVER_GROUPS" : [ { "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "groupHealthCheck" : null,
            "healthCheck" : false,
            "id" : 592285,
            "loadBalanceMethod" : "ROUND_ROBIN",
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCGroupEntity:592285",
            "name" : "G1",
            "objectCreateType" : "DEPLOYMENT",
            "realservers" : [ "RS1" ],
            "unitHealthCheck" : "22",
            "userOperationType" : null
          } ],
      "ADC_VIRTUAL_SERVERS" : [ { "address" : "10.4.4.4",
            "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : "VS1 Desc",
            "id" : 592289,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCVirtualServerEntity:592289",
            "name" : "VS1",
            "objectCreateType" : "DEPLOYMENT",
            "type" : "IPv4",
            "userOperationType" : null,
            "virtualServices" : [ { "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "description" : null,
                  "fastLoadBalancing" : true,
                  "group" : "G1",
                  "id" : 592290,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCVirtualServiceEntity:592290",
                  "name" : "VSvc1",
                  "objectCreateType" : null,
                  "perPacketLoadBalancing" : true,
                  "port" : null,
                  "protocol" : "UDP",
                  "sendTrafficToVIP" : true,
                  "serverListeningPort" : 2,
                  "serviceTimeOut" : 2,
                  "type" : "DNS",
                  "userOperationType" : null
                } ]
          } ]
    },
  "deployAction" : "PROVISION",
  "deployStatus" : "NEW",
  "description" : "",
  "deviceConfigs" : { "ADC_CLIENT_FACING" : [ { "interfaces" : [ "irb.411",
                "irb.400"
              ],
            "name" : "CLIENT_FACING",
            "objectCreateType" : "DEPLOYMENT",
            "routingInstances" : [ "SGI-PRIVATE" ]
          } ],
      "ADC_SERVER_FACING" : [ { "interfaces" : [ "irb.800",
                "irb.410"
              ],
            "name" : "SERVER_FACING",
            "objectCreateType" : "DEPLOYMENT",
            "routingInstances" : [ "SGI-PUBLIC" ]
          } ],
      "ADC_SERVICE_INTERFACES" : [ { "createdBy" : "super",
            "createdTime" : 1416203399000,
            "description" : null,
            "id" : 592288,
            "interfaceName" : null,
            "modifiedBy" : "super",
            "modifiedTime" : 1416203399000,
            "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.SDGHostInterfaceEntity:592288",
            "name" : "ms-0/0/0",
            "objectCreateType" : "DEPLOYMENT",
            "unitNames" : null,
            "userOperationType" : null
          } ]
    },
  "instanceName" : "lb1",
  "serviceGateways" : [ { "configs" : { "ADC_CLIENT_FACING" : [ { "interfaces" : [ "irb.411",
                      "irb.400"
                    ],
                  "name" : "CLIENT_FACING",
                  "objectCreateType" : "DEPLOYMENT",
                  "routingInstances" : [ "SGI-PRIVATE" ]
                } ],
            "ADC_SERVER_FACING" : [ { "interfaces" : [ "irb.800",
                      "irb.410"
                    ],
                  "name" : "SERVER_FACING",
                  "objectCreateType" : "DEPLOYMENT",
                  "routingInstances" : [ "SGI-PUBLIC" ]
                } ],
            "ADC_SERVICE_INTERFACES" : [ { "createdBy" : "super",
                  "createdTime" : 1416203399000,
                  "description" : null,
                  "id" : 592288,
                  "interfaceName" : null,
                  "modifiedBy" : "super",
                  "modifiedTime" : 1416203399000,
                  "moid" : "net.juniper.jmp.sgd.configmanager.config.jpa.common.SDGHostInterfaceEntity:592288",
                  "name" : "ms-0/0/0",
                  "objectCreateType" : "DEPLOYMENT",
                  "unitNames" : null,
                  "userOperationType" : null
                } ]
          },
        "sdgId" : 33081
      } ],
  "serviceTemplateName" : "TEST_TEMPLATE",
  "serviceType" : "ADC"
}

Delete a Deployment Plan

This request is used to delete a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
deletedeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.deletedeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

Deletes a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanids":[{deploymentplanId}]}

Approve a Deployment Plan

This request is used to approve a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
approvedeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.approvedeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

Approves a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanids":[{deploymentplanId}]}

Reject a Deployment Plan

This request is used to reject a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
rejectdeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.rejectdeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

Rejects a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"serviceDeploymentInput":{"deploymentplanids":[{deploymentplanId}],
"rejectComment":"Rejected by Admin"}}

Preview a Deployment Plan

This request is used to preview a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
previewdeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.previewdeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

A preview of a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanid":{deploymentplanId}}

Output

Sample JSON Output

{ "response" : { "data" : [ { "configXml" : "\n<configuration>\n  <extensions>\n    <adc>\n      <adc-instance>\n        <name>lb1</name>\n        <real-servers>\n          <real>\n            <name>DNS1</name>\n            <health-check>\n              <interval>2</interval>\n            </health-check>\n          </real>\n        </real-servers>\n      </adc-instance>\n    </adc>\n  </extensions>\n</configuration>",
            "hostId" : 32881,
            "hostName" : "mcmx240c",
            "sgdId" : 33081,
            "sgdName" : "mcmx240a-mcmx240c"
          },
          { "configXml" : "\n<configuration>\n  <extensions>\n    <adc>\n      <adc-instance>\n        <name>lb1</name>\n        <real-servers>\n          <real>\n            <name>DNS1</name>\n            <health-check>\n              <interval>2</interval>\n            </health-check>\n          </real>\n        </real-servers>\n      </adc-instance>\n    </adc>\n  </extensions>\n</configuration>",
            "hostId" : 32880,
            "hostName" : "mcmx240a",
            "sgdId" : 33081,
            "sgdName" : "mcmx240a-mcmx240c"
          }
        ] } }

Validate a Deployment Plan

This request is used to validate a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
validatedeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.validatedeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

Validates a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanid":{deploymentplanId}}

Output

Sample JSON Output

{ "response" : { "data" : [ { "hostId" : 32881,
            "hostName" : "mcmx240c",
            "sgdId" : 33081,
            "sgdName" : "mcmx240a-mcmx240c",
            "status" : "Success"
          },
          { "hostId" : 32880,
            "hostName" : "mcmx240a",
            "sgdId" : 33081,
            "sgdName" : "mcmx240a-mcmx240c",
            "status" : "Success"
          }
        ] } }

Provision a Deployment Plan

This request is used to provision a deployment plan.

URI

/api/sgd/configmanager/deploymentplan/
provisiondeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.provisiondeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

Provisions a deployment plan

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanids":[{deploymentplanId}],"isScheduleLater":true,
"scheduledTime":"1416894840000","rollback":true}

Cancel a Scheduled Deployment Plan Job

This request is used to cancel a scheduled deployment job.

URI

/api/sgd/configmanager/deploymentplan/
canceldeploymentplanjob/{jobId}/{deploymentplanid}

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.canceldeploymentplanjob.
{jobId}.{deploymentplanid}
+json;version=1;charset=UTF-8

Consumes

None

Produces

Cancels a scheduled deployment job

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanid":{deploymentplanId}}

Change the States of a Deployment Job Between Provisioned and Decommissioned

This request is used to change the deployment plans from provisioning to decommissioned state or from decommissioned to provisioned state.

URI

/api/sgd/configmanager/deploymentplan/
changedeployactionofdeploymentplans

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
deploymentplan.changedeployactionofdeploymentplans
+json;version=1;charset=UTF-8

Consumes

None

Produces

Changes the deployment plans from provisioning to decommissioned state or from decommissioned to provisioned state.

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Input

Sample JSON Input

{"deploymentplanid":{deploymentplanId}}

Prepare Service Structure From Template Name By Service Type

This request is used to retrieve the service structure from templates based on service types.

URI

/api/sgd/configmanager/servicetemplate/
prepareservicestructurefromtemplate/{servicveTemplateName}/{serviceType
(ADC/TLB/CGNAT/SFW)}

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.configmanager.
servicetemplate.prepareservicestructurefromtemplate.
{servicveTemplateName}.
{serviceType(ADC/TLB/CGNAT/SFW)}
+json;version=1;charset=UTF-8

Consumes

None

Produces

Constructs the service structure from template names based on service types

Response Status Code

Message

Description

200 OK

Successful construction of service structure from template names based on service types

Output

Sample JSON Output

{ "response" : { "MOID" : 
"net.juniper.jmp.sgd.configmanager.template.jpa.ADCTemplateEntity:592277",
      "createdBy" : "super",
      "createdTime" : "2014-11-17T11:18:46+05:30",
      "description" : "TEST_TEMPLATE DESC NEW",
      "id" : 592277,
      "modifiedBy" : "super",
      "modifiedTime" : "2014-11-17T11:19:59+05:30",
      "name" : "TEST_TEMPLATE",
      "serviceInstanceName" : "lb1",
      "serviceType" : "ADC",
      "status" : "PUBLISHED",
      "to" : { "configViewComponentsTOs" : [ { "configViewComponentList" : { "configData" : 
"{\"id\":592287,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"RS1\",\"description\":null,\"ob
jectCreateType\":\"TEMPLATE\",\"type\":\"IPv4\",\"address\":\"10.2.2.21\",\"realServerHealthCheck\":{\
"id\":592286,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"mo
difiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"RS1\",\"description\":null,\"objec
tCreateType\":null,\"failureRetries\":1,\"healthCheckInterval\":0,\"recoveryRetries\":1,\"moid\":\"net.j
uniper.jmp.sgd.configmanager.config.jpa.common.RealServerHealthCheckEntity_$$_javassist_498:5922
86\"},\"realServerType\":\"ADC\",\"moid\":\"net.juniper.jmp.sgd.configmanager.config.jpa.common.Re
alServerEntity:592287\"}",
                    "configKnob" : "real-servers",
                    "description" : "",
                    "image" : "/sgdui/web/images/viewconfig/real_server.png",
                    "labelAlign" : "right",
                    "name" : "RS1",
                    "paretPanel" : "real-servers",
                    "truncatedName" : "RS1"
                  },
                "description" : "Configure application servers",
                "name" : "Real Servers",
                "permissionType" : "EDITABLE",
                "type" : "ADC_REAL_SERVERS"
              },
              { "configViewComponentList" : { "configData" : 
"{\"id\":592283,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"22\",\"description\":null,\"obj
ectCreateType\":\"TEMPLATE\",\"units\":[{\"id\":592284,\"createdBy\":\"super\",\"modifiedBy\":\"sup
er\",\"createdTime\":1416203399000,\"modifiedTime\":1416203399000,\"userOperationType\":null,\"
name\":\"IPv4-
Name\",\"description\":null,\"objectCreateType\":null,\"type\":\"IPv4\",\"address\":\"10.3.33.3\",\"moi
d\":\"net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCUnitEntity:592284\"}],\"moid\":\"net.junipe
r.jmp.sgd.configmanager.config.jpa.adc.ADCUnitHealthCheckEntity:592283\"}",
                    "configKnob" : "health-check-source",
                    "description" : "",
                    "image" : "/sgdui/web/images/viewconfig/health_check.png",
                    "labelAlign" : "right",
                    "name" : 22,
                    "paretPanel" : "health-check-source",
                    "truncatedName" : 22
                  },
                "description" : "Configure IP address to send the health checks to real servers",
                "name" : "Health Check Sources",
                "permissionType" : "EDITABLE",
                "type" : "ADC_HEALTH_CHECK_SOURCES"
              },
              { "configViewComponentList" : { "configData" : 
"{\"id\":592281,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"Script1\",\"description\":null,\
"objectCreateType\":\"TEMPLATE\",\"commandType\":\"UDP\",\"commandName\":\"1\",\"commands
\":[{\"id\":592282,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\
"modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"1\",\"description\":null,\"obj
ectCreateType\":null,\"commandType\":\"OPEN\",\"value\":\"1248\",\"wait\":null,\"offset\":null,\"dep
th\":null,\"moid\":\"net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCCommandEntity:592282\"}],\
"moid\":\"net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCCustomHealthCheckEntity:592281\"}",
                    "configKnob" : "custom-health-check",
                    "description" : "",
                    "image" : "/sgdui/web/images/viewconfig/custom_health_check.png",
                    "labelAlign" : "right",
                    "name" : "Script1",
                    "paretPanel" : "custom-health-check",
                    "truncatedName" : "Script1"
                  },
                "description" : "Configure script based health check for a group",
                "name" : "Custom Health Checks",
                "permissionType" : "EDITABLE",
                "type" : "ADC_CUSTOM_HEALTH_CHECKS"
              },
              { "configViewComponentList" : { "configData" : 
"{\"id\":592285,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"G1\",\"description\":null,\"obj
ectCreateType\":\"TEMPLATE\",\"realservers\":[\"RS1\"],\"unitHealthCheck\":\"22\",\"loadBalanceMet
hod\":\"ROUND_ROBIN\",\"healthCheck\":false,\"groupHealthCheck\":null,\"moid\":\"net.juniper.jmp.s
gd.configmanager.config.jpa.adc.ADCGroupEntity:592285\"}",
                    "configKnob" : "server-groups",
                    "description" : "",
                    "image" : "/sgdui/web/images/viewconfig/server_group.png",
                    "labelAlign" : "right",
                    "name" : "G1",
                    "paretPanel" : "server-groups",
                    "truncatedName" : "G1"
                  },
                "description" : "Associate multiple servers with same content type to one group",
                "name" : "Server Groups",
                "permissionType" : "EDITABLE",
                "type" : "ADC_SERVER_GROUPS"
              },
              { "configViewComponentList" : { "configData" : 
"{\"id\":592289,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"VS1\",\"description\":\"VS1 
Desc\",\"objectCreateType\":\"TEMPLATE\",\"address\":\"10.4.4.4\",\"type\":\"IPv4\",\"virtualServices\"
:[{\"id\":592290,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"VSvc1\",\"description\":null,\"
objectCreateType\":null,\"group\":\"G1\",\"type\":\"DNS\",\"protocol\":\"UDP\",\"serviceTimeOut\":2,
\"port\":null,\"serverListeningPort\":2,\"fastLoadBalancing\":true,\"perPacketLoadBalancing\":true,\"se
ndTrafficToVIP\":true,\"moid\":\"net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCVirtualServiceEn
tity:592290\"}],\"moid\":\"net.juniper.jmp.sgd.configmanager.config.jpa.adc.ADCVirtualServerEntity:59
2289\"}",
                    "configKnob" : "virtual-servers",
                    "description" : "",
                    "image" : "/sgdui/web/images/viewconfig/virtual_server.png",
                    "labelAlign" : "right",
                    "name" : "VS1",
                    "paretPanel" : "virtual-servers",
                    "truncatedName" : "VS1"
                  },
                "description" : "Create Virtual IP address to accept client requests",
                "name" : "Virtual Servers",
                "permissionType" : "EDITABLE",
                "type" : "ADC_VIRTUAL_SERVERS"
              },
              { "configViewComponentList" : [ { "configData" : 
"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\":null,\"userO
perationType\":null,\"name\":\"SGI-
PRIVATE\",\"description\":null,\"objectCreateType\":null,\"moid\":null}",
                      "configKnob" : "client-side-vrf",
                      "description" : "",
                      "image" : "/sgdui/web/images/viewconfig/client_facing.png",
                      "labelAlign" : "right",
                      "name" : "SGI-PRIVATE",
                      "paretPanel" : "client-side-vrf",
                      "truncatedName" : "SGI-PRIV..",
                      "type" : "ROUTINGINSTANCES"
                    },
                    { "configData" : 
"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\":null,\"userO
perationType\":null,\"name\":\"irb.411\",\"description\":null,\"objectCreateType\":null,\"interfaceNam
e\":null,\"unitNames\":null,\"moid\":null}",
                      "configKnob" : "client-facing-interfaces",
                      "description" : "",
                      "image" : "/sgdui/web/images/viewconfig/IRB_interface.png",
                      "labelAlign" : "bottom",
                      "name" : "irb.411",
                      "paretPanel" : "client-facing-interfaces",
                      "truncatedName" : "irb.411",
                      "type" : "INTERFACES"
                    },
                    { "configData" : 
"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\":null,\"userO
perationType\":null,\"name\":\"irb.400\",\"description\":null,\"objectCreateType\":null,\"interfaceNam
e\":null,\"unitNames\":null,\"moid\":null}",
                      "configKnob" : "client-facing-interfaces",
                      "description" : "",
                      "image" : "/sgdui/web/images/viewconfig/IRB_interface.png",
                      "labelAlign" : "bottom",
                      "name" : "irb.400",
                      "paretPanel" : "client-facing-interfaces",
                      "truncatedName" : "irb.400",
                      "type" : "INTERFACES"
                    }
                  ],
                "description" : "Create interface to receive client traffic",
                "name" : "Client Facing",
                "permissionType" : "DEVICE_SPECIFIC",
                "type" : "ADC_CLIENT_FACING"
              },
              { "configViewComponentList" : { "configData" : 
"{\"id\":592288,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":1416203399000,\"
modifiedTime\":1416203399000,\"userOperationType\":null,\"name\":\"ms-
0/0/0\",\"description\":null,\"objectCreateType\":null,\"interfaceName\":null,\"unitNames\":null,\"moi
d\":\"net.juniper.jmp.sgd.configmanager.config.jpa.common.SDGHostInterfaceEntity:592288\"}",
                    "configKnob" : "ms-interfaces",
                    "description" : "",
                    "image" : "/sgdui/web/images/viewconfig/service_pic.png",
                    "labelAlign" : "right",
                    "name" : "ms-0/0/0",
                    "paretPanel" : "ms-interfaces",
                    "truncatedName" : "ms-0/0/0"
                  },
                "description" : "Select MS interface for hosting the service",
                "name" : "Service Pic",
                "permissionType" : "DEVICE_SPECIFIC",
                "type" : "ADC_SERVICE_INTERFACES"
              },
              { "configViewComponentList" : [ { "configData" : 
"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\":null,\"userO
perationType\":null,\"name\":\"SGI-
PUBLIC\",\"description\":null,\"objectCreateType\":null,\"moid\":null}",
                      "configKnob" : "server-side-vrf",
                      "description" : "",
                      "image" : "/sgdui/web/images/viewconfig/server_facing.png",
                      "labelAlign" : "right",
                      "name" : "SGI-PUBLIC",
                      "paretPanel" : "server-side-vrf",
                      "truncatedName" : "SGI-PUBL..",
                      "type" : "ROUTINGINSTANCES"
                    },
                    { "configData" : 
"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\":null,\"userO
perationType\":null,\"name\":\"irb.800\",\"description\":null,\"objectCreateType\":null,\"interfaceNam
e\":null,\"unitNames\":null,\"moid\":null}",
                      "configKnob" : "service-facing-interfaces",
                      "description" : "",
                      "image" : "/sgdui/web/images/viewconfig/IRB_interface.png",
                      "labelAlign" : "right",
                      "name" : "irb.800",
                      "paretPanel" : "service-facing-interfaces",
                      "truncatedName" : "irb.800",
                      "type" : "INTERFACES"
                    },
                    { "configData" : 
"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\":null,\"userO
perationType\":null,\"name\":\"irb.410\",\"description\":null,\"objectCreateType\":null,\"interfaceNam
e\":null,\"unitNames\":null,\"moid\":null}",
                      "configKnob" : "service-facing-interfaces",
                      "description" : "",
                      "image" : "/sgdui/web/images/viewconfig/IRB_interface.png",
                      "labelAlign" : "right",
                      "name" : "irb.410",
                      "paretPanel" : "service-facing-interfaces",
                      "truncatedName" : "irb.410",
                      "type" : "INTERFACES"
                    }
                  ],
                "description" : "Create interface to connect application servers",
                "name" : "Server Facing",
                "permissionType" : "DEVICE_SPECIFIC",
                "type" : "ADC_SERVER_FACING"
              }
            ],
          "noOfPanels" : 10
        },
      "uiPermissionMap" : { "entry" : [ { "key" : "ADC_CLIENT_FACING",
                "value" : "DEVICE_SPECIFIC"
              },
              { "key" : "ADC_VIRTUAL_SERVERS",
                "value" : "EDITABLE"
              },
              { "key" : "ADC_SERVER_FACING",
                "value" : "DEVICE_SPECIFIC"
              },
              { "key" : "ADC_HEALTH_CHECK_SOURCES",
                "value" : "EDITABLE"
              },
              { "key" : "ADC_SERVICE_INTERFACES",
                "value" : "DEVICE_SPECIFIC"
              },
              { "key" : "ADC_SERVER_GROUPS",
                "value" : "EDITABLE"
              },
              { "key" : "ADC_REAL_SERVERS",
                "value" : "EDITABLE"
              },
              { "key" : "ADC_CUSTOM_HEALTH_CHECKS",
                "value" : "EDITABLE"
              }
            ] }
    } }

Prepare Basic Service Structure From Deployment Plans

This request is used to retrieve the basic service structure from deployment plans

URI

/api/sgd/configmanager/servicetemplate/preparebasicservicestructurefromdeploymentplan/{deploymentplanid}

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
servicetemplate.preparebasicservicestructurefromdeploymentplan.
{deploymentplanid}+json;version=1;charset=UTF-8

Consumes

None

Produces

Constructs the basic service structure for devices based on deployment plans

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Output

Sample JSON Output

None

Prepare Device Service Structure From Deployment Plans

This request is used to retrieve the device service structure from deployment plans

URI

/api/sgd/configmanager/servicetemplate/preparedeviceservicestructurefromdeploymentplan/{deploymentplanid}

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.configmanager.
servicetemplate.preparedeviceservicestructurefromdeploymentplan.
{deploymentplanid}+json;version=1;charset=UTF-8

Consumes

None

Produces

Constructs the service structure for devices based on deployment plans

Response Status Code

Message

Description

204 No Content

The server fulfilled the request, but does not need to return a response message body.

Output

Sample JSON Output

{
    "response":{
        "id":659945,
        
"MOID":"net.juniper.jmp.sgd.configmanager.provisioning.deploymentplan.jpa.SGDDeploymentPlanEntit
y:659945",
        "createdBy":"super",
        "modifiedBy":"super",
        "createdTime":"2014-11-18T12:40:32+05:30",
        "modifiedTime":"2014-11-18T12:40:32+05:30",
        "to":{
            "noOfPanels":0
        },
        "deviceConfigs":{
            "entry":{
                "key":33081,
                "value":{
                    "configViewComponentsTOs":[
                        {
                            "configViewComponentList":{
                                "name":"ms-0\/0\/0",
                                "configKnob":"ms-interfaces",
                                "truncatedName":"ms-0\/0\/0",
                                "labelAlign":"right",
                                "image":"\/sgdui\/web\/images\/viewconfig\/service_pic.png",
                                "paretPanel":"ms-interfaces",
                                
"configData":"{\"id\":659971,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":14162
94632000,\"modifiedTime\":1416294632000,\"userOperationType\":null,\"name\":\"ms-
0\/0\/0\",\"description\":null,\"objectCreateType\":\"DEPLOYMENT\",\"interfaceName\":null,\"unitNa
mes\":null,\"moid\":null}",
                                "description":""
                            },
                            "name":"Service Pic",
                            "type":"ADC_SERVICE_INTERFACES",
                            "permissionType":"DEVICE_SPECIFIC",
                            "description":"Select MS interface for hosting the service"
                        },
                        {
                            "configViewComponentList":[
                                {
                                    "name":"SGI-PRIVATE",
                                    "configKnob":"client-side-vrf",
                                    "truncatedName":"SGI-PRIV..",
                                    "labelAlign":"right",
                                    "image":"\/sgdui\/web\/images\/viewconfig\/client_facing.png",
                                    "paretPanel":"client-side-vrf",
                                    "type":"ROUTINGINSTANCES",
                                    
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"SGI-
PRIVATE\",\"description\":null,\"objectCreateType\":null,\"moid\":null}",
                                    "description":""
                                },
                                {
                                    "name":"irb.411",
                                    "configKnob":"client-facing-interfaces",
                                    "truncatedName":"irb.411",
                                    "labelAlign":"bottom",
                                    "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                                    "paretPanel":"client-facing-interfaces",
                                    "type":"INTERFACES",
                                    
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.411\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                                    "description":""
                                },
                                {
                                    "name":"irb.400",
                                    "configKnob":"client-facing-interfaces",
                                    "truncatedName":"irb.400",
                                    "labelAlign":"bottom",
                                    "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                                    "paretPanel":"client-facing-interfaces",
                                    "type":"INTERFACES",
                                    
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.400\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                                    "description":""
                                }
                            ],
                            "name":"Client Facing",
                            "type":"ADC_CLIENT_FACING",
                            "permissionType":"DEVICE_SPECIFIC",
                            "description":"Create interface to receive client traffic"
                        },
                        {
                            "configViewComponentList":[
                                {
                                    "name":"SGI-PUBLIC",
                                    "configKnob":"server-side-vrf",
                                    "truncatedName":"SGI-PUBL..",
                                    "labelAlign":"right",
                                    "image":"\/sgdui\/web\/images\/viewconfig\/server_facing.png",
                                    "paretPanel":"server-side-vrf",
                                    "type":"ROUTINGINSTANCES",
                                    
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"SGI-
PUBLIC\",\"description\":null,\"objectCreateType\":null,\"moid\":null}",
                                    "description":""
                                },
                                {
                                    "name":"irb.800",
                                    "configKnob":"service-facing-interfaces",
                                    "truncatedName":"irb.800",
                                    "labelAlign":"right",
                                    "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                                    "paretPanel":"service-facing-interfaces",
                                    "type":"INTERFACES",
                                    
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.800\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                                    "description":""
                                },
                                {
                                    "name":"irb.410",
                                    "configKnob":"service-facing-interfaces",
                                    "truncatedName":"irb.410",
                                    "labelAlign":"right",
                                    "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                                    "paretPanel":"service-facing-interfaces",
                                    "type":"INTERFACES",
                                    
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.410\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                                    "description":""
                                }
                            ],
                            "name":"Server Facing",
                            "type":"ADC_SERVER_FACING",
                            "permissionType":"DEVICE_SPECIFIC",
                            "description":"Create interface to connect application servers"
                        }
                    ],
                    "noOfPanels":10
                }
            }
        },
        "serviceType":"ADC",
        "description":"",
        "serviceTemplateName":"TEST_TEMPLATE",
        "serviceInstanceName":"lb1",
        "deviceSpecificStrutureViewTOs":[
            {
                "configViewComponentList":[
                    {
                        "name":"SGI-PRIVATE",
                        "configKnob":"client-side-vrf",
                        "truncatedName":"SGI-PRIV..",
                        "labelAlign":"right",
                        "image":"\/sgdui\/web\/images\/viewconfig\/client_facing.png",
                        "paretPanel":"client-side-vrf",
                        "type":"ROUTINGINSTANCES",
                        
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"SGI-
PRIVATE\",\"description\":null,\"objectCreateType\":null,\"moid\":null}",
                        "description":""
                    },
                    {
                        "name":"irb.411",
                        "configKnob":"client-facing-interfaces",
                        "truncatedName":"irb.411",
                        "labelAlign":"bottom",
                        "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                        "paretPanel":"client-facing-interfaces",
                        "type":"INTERFACES",
                        
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.411\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                        "description":""
                    },
                    {
                        "name":"irb.400",
                        "configKnob":"client-facing-interfaces",
                        "truncatedName":"irb.400",
                        "labelAlign":"bottom",
                        "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                        "paretPanel":"client-facing-interfaces",
                        "type":"INTERFACES",
                        
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.400\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                        "description":""
                    }
                ],
                "name":"Client Facing",
                "type":"ADC_CLIENT_FACING",
                "permissionType":"DEVICE_SPECIFIC",
                "description":""
            },
            {
                "configViewComponentList":{
                    "name":"ms-0\/0\/0",
                    "configKnob":"ms-interfaces",
                    "truncatedName":"ms-0\/0\/0",
                    "labelAlign":"right",
                    "image":"\/sgdui\/web\/images\/viewconfig\/service_pic.png",
                    "paretPanel":"ms-interfaces",
                    
"configData":"{\"id\":659963,\"createdBy\":\"super\",\"modifiedBy\":\"super\",\"createdTime\":14162
94632000,\"modifiedTime\":1416294632000,\"userOperationType\":null,\"name\":\"ms-
0\/0\/0\",\"description\":null,\"objectCreateType\":\"DEPLOYMENT\",\"interfaceName\":null,\"unitNa
mes\":null,\"moid\":null}",
                    "description":""
                },
                "name":"Service Pic",
                "type":"ADC_SERVICE_INTERFACES",
                "permissionType":"DEVICE_SPECIFIC",
                "description":""
            },
            {
                "configViewComponentList":[
                    {
                        "name":"SGI-PUBLIC",
                        "configKnob":"server-side-vrf",
                        "truncatedName":"SGI-PUBL..",
                        "labelAlign":"right",
                        "image":"\/sgdui\/web\/images\/viewconfig\/server_facing.png",
                        "paretPanel":"server-side-vrf",
                        "type":"ROUTINGINSTANCES",
                        
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"SGI-
PUBLIC\",\"description\":null,\"objectCreateType\":null,\"moid\":null}",
                        "description":""
                    },
                    {
                        "name":"irb.800",
                        "configKnob":"service-facing-interfaces",
                        "truncatedName":"irb.800",
                        "labelAlign":"right",
                        "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                        "paretPanel":"service-facing-interfaces",
                        "type":"INTERFACES",
                        
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.800\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                        "description":""
                    },
                    {
                        "name":"irb.410",
                        "configKnob":"service-facing-interfaces",
                        "truncatedName":"irb.410",
                        "labelAlign":"right",
                        "image":"\/sgdui\/web\/images\/viewconfig\/IRB_interface.png",
                        "paretPanel":"service-facing-interfaces",
                        "type":"INTERFACES",
                        
"configData":"{\"id\":null,\"createdBy\":null,\"modifiedBy\":null,\"createdTime\":null,\"modifiedTime\"
:null,\"userOperationType\":null,\"name\":\"irb.410\",\"description\":null,\"objectCreateType\":null,\"i
nterfaceName\":null,\"unitNames\":null,\"moid\":null}",
                        "description":""
                    }
                ],
                "name":"Server Facing",
                "type":"ADC_SERVER_FACING",
                "permissionType":"DEVICE_SPECIFIC",
                "description":""
            }
        ]
    }
}

Modified: 2016-08-02