Bulk E-Line Service Orders and Services Management RESTful Web Services
The following operations can be performed using the Connectivity Services Director Bulk E-Line Service Orders and Services Management RESTful Web Services.
Create a Bulk E-Line Service Order with ATM and TDM Interfaces
This request is used to perform a bulk creation of E-Line service orders with ATM and TDM interfaces.
URI | api/space/nsas/eline-ptp/service-management/service-orders/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk creation of E-Line service orders with ATM and TDM interfaces. |
Input
The following example contains the request for creating a Eline_QINQ_AllVLAN, ATM and TDM service orders in one single Bulk request.
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>Eline_TDM_008</Name> <Comments>TDM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262279"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_TDM_009</Name> <Comments>TDM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> </ServiceOrderParameter> <Reference> <Customer key="1015809"/> <ServiceDefinition> <ServiceDefinitionID key="262279"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_Test_007</Name> <Comments>P2P service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>360554</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>436</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>360498</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>436</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1577</MTU> <VCID>436</VCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262144"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_Test_008</Name> <Comments>P2P service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>360554</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>437</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>360498</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>437</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1577</MTU> <VCID>437</VCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262144"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_ATM_008</Name> <Comments>ATM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <CellBundleSize>10</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <CellBundleSize>10</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> <VPI>107</VPI> <VCI>107</VCI> </ServiceOrderParameter> <Reference> <Customer key="1015809"/> <ServiceDefinition> <ServiceDefinitionID key="262307"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>SaveAndDeployNow</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571763</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571770</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571777</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Job> <ID>1179845</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Create a Bulk E-Line LDP Service Order
This request is used to perform a bulk creation of E-Line LDP service orders.
URI | api/space/nsas/eline-ptp/service-management/service-orders/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management.service-order+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk creation of E-Line LDP service orders. |
Input
The following example contains the request for creating a Eline_QINQ_AllVLAN, ATM and TDM service orders in one single Bulk request.
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>Eline_TDM_008</Name> <Comments>TDM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262279"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_TDM_009</Name> <Comments>TDM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> </ServiceOrderParameter> <Reference> <Customer key="1015809"/> <ServiceDefinition> <ServiceDefinitionID key="262279"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_Test_007</Name> <Comments>P2P service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>360554</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>436</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>360498</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>436</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1577</MTU> <VCID>436</VCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262144"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_Test_008</Name> <Comments>P2P service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>360554</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>437</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>360498</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>437</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1577</MTU> <VCID>437</VCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262144"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_ATM_008</Name> <Comments>ATM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <CellBundleSize>10</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <CellBundleSize>10</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> <VPI>107</VPI> <VCI>107</VCI> </ServiceOrderParameter> <Reference> <Customer key="1015809"/> <ServiceDefinition> <ServiceDefinitionID key="262307"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>SaveAndDeployNow</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571763</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571770</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571777</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Job> <ID>1179845</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Create a Bulk E-Line BGP Service Order
This request is used to perform a bulk creation of E-Line BGP service orders.
URI | api/space/nsas/eline-ptp/service-management/service-orders/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management.service-order+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk creation of E-Line BGP service orders. |
Input
The following example contains the request for creating a Eline_QINQ_AllVLAN, ATM and TDM service orders in one single Bulk request.
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>Eline_TDM_008</Name> <Comments>TDM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262279"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_TDM_009</Name> <Comments>TDM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/2/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> </ServiceOrderParameter> <Reference> <Customer key="1015809"/> <ServiceDefinition> <ServiceDefinitionID key="262279"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_Test_007</Name> <Comments>P2P service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>360554</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>436</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>360498</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>436</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1577</MTU> <VCID>436</VCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262144"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_Test_008</Name> <Comments>P2P service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>360554</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>437</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>360498</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <VlanId>437</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1577</MTU> <VCID>437</VCID> </ServiceOrderParameter> <Reference> <Customer key="1015808"/> <ServiceDefinition> <ServiceDefinitionID key="262144"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>Eline_ATM_008</Name> <Comments>ATM service order</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>360508</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <CellBundleSize>10</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>360532</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <CellBundleSize>10</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType"> <MTU>1523</MTU> <AutoPickVCID>true</AutoPickVCID> <VPI>107</VPI> <VCI>107</VCI> </ServiceOrderParameter> <Reference> <Customer key="1015809"/> <ServiceDefinition> <ServiceDefinitionID key="262307"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>SaveAndDeployNow</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571763</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571770</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571777</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Job> <ID>1179845</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Create a Bulk E-Line Service Order
This request is used to perform a bulk creation of E-Line service orders.
URI | api/space/nsas/eline-ptp/service-management/service-orders/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk creation of E-Line service orders. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>BGP_Bulk_SO_Via_Test01</Name> <Comments>tyut</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="557096" uri="/api/space/nsas/device-roles/pe-devices/557096" href="/api/space/nsas/device-roles/pe-devices/557096"> <DeviceName>embassy</DeviceName> <DeviceID>557096</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/1/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>tyut</UNIDescription> <UnitId>16</UnitId> <VlanId>2</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557096" uri="/api/space/nsas/device-roles/pe-devices/557096" href="/api/space/nsas/device-roles/pe-devices/557096"> <DeviceName>embassy</DeviceName> <DeviceID>557096</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>tyutyu</UNIDescription> <UnitId>16</UnitId> <VlanId>3</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VlanNormalization>Normalization not required</VlanNormalization> <MTUFactor>15</MTUFactor> </ServiceOrderParameter> <Reference> <Customer uri="/api/space/nsas/customer-management/customers/851968" href="/api/space/nsas/customer-management/customers/851968" key="851968"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/589824" href="/api/space/nsas/eline-ptp/service-management/service-definitions/589824" key="589824"/> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder> <Common> <Name>BGP_Bulk_SO_Via_Test02</Name> <Comments>tyut</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="557096" uri="/api/space/nsas/device-roles/pe-devices/557096" href="/api/space/nsas/device-roles/pe-devices/557096"> <DeviceName>embassy</DeviceName> <DeviceID>557096</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/1/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>tyut</UNIDescription> <UnitId>16</UnitId> <VlanId>2</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557096" uri="/api/space/nsas/device-roles/pe-devices/557096" href="/api/space/nsas/device-roles/pe-devices/557096"> <DeviceName>embassy</DeviceName> <DeviceID>557096</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>tyutyu</UNIDescription> <UnitId>16</UnitId> <VlanId>3</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VlanNormalization>Normalization not required</VlanNormalization> <MTUFactor>15</MTUFactor> </ServiceOrderParameter> <Reference> <Customer uri="/api/space/nsas/customer-management/customers/851968" href="/api/space/nsas/customer-management/customers/851968" key="851968"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/589824" href="/api/space/nsas/eline-ptp/service-management/service-definitions/589824" key="589824"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>ServiceOrder</Type> <Value>753722</Value> </Identity> <Code>200</Code> <Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>753729</Value> </Identity> <Code>200</Code> <Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message> </Status> <Status> <Job> <ID>294953</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Bulk Force-Deploy of an E-Line Service
This request is used to forcibly deploy a previously created E-Line service in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/services/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management.services+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Forcibly deploy a previously created E-Line service in a bulk operation. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime>2012-10-16T11:50:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Job> <ID>202513</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> Service Force Deploy was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Job> <ID>202514</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> Service Force Deploy was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <Job> <ID>202515</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> Service Force Deploy was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> </Data>
Bulk Decommissioning of an E-LINE Service
This request is used to decommission a previously created E-Line service in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/services/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management.services+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Decommission previously created E-Line services in a bulk operation. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType"> <Action>DecommissionLater</Action> <ScheduledDateTime>2012-10-16T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Job> <ID>202655</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> Service Decommission was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Job> <ID>202656</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> Service Decommission was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <Job> <ID>202657</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> Service Decommission was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> </Data>
Bulk Deploy, Validation, and Partial-Deletion of an E-Line BGP Service Order
This request is used to deploy, validate, or partially delete a previously created E-Line BGP service order in a bulk process.
URI | api/space/nsas/eline-ptp/service-management/services-orders/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management.service-order+xml |
Consumes | application/vnd.net.juniper.space.service-management. The options must be specified in the Action Element inside OperationSpecificData. The various options are as follows:
|
Produces | Deploys, validates or, partially-deletes a previously created E-Line BGP service order in a bulk operation. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Identity> <Type>ServiceOrder</Type> <Value>1085688</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1085713</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1085724</Value> </Identity> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime>2012-10-16T11:50:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571763</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571770</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3571777</Value> </Identity> <Code>200</Code> <Message> Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Job> <ID>1179845</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Bulk Deletion of an E-Line BGP Service Order
This request is used to perform a bulk deletion of a previously configured E-Line LDP service order.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service-management.service-order+xml |
Produces | Bulk deletion of an E-Line BGP service order. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Identity> <Type>ServiceOrder</Type> <Value>1085976</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1085921</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1085914</Value> </Identity> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>ServiceOrder</Type> <Value>1085976</Value> </Identity> <Code>200</Code> <Message>Service order Deleted Successfully.</Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>1085921</Value> </Identity> <Code>200</Code> <Message>Service order Deleted Successfully.</Message> </Status> <Status> <Identity> <Type>ServiceOrder</Type> <Value>1085914</Value> </Identity> <Code>200</Code> <Message>Service order Deleted Successfully.</Message> </Status> </Data>
Bulk Modification of a Saved E-Line Services
This request is used to modify a saved E-Line service in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/services |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk edit of an E-Line service. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Identity>1085688</Identity> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>1179752</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/3/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <CustomerVlanIdStart>500</CustomerVlanIdStart> <CustomerVlanIdEnd>505</CustomerVlanIdEnd> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-mx80-2-space</DeviceName> <DeviceID>1194778</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/3/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <CustomerVlanIdStart>500</CustomerVlanIdStart> <CustomerVlanIdEnd>505</CustomerVlanIdEnd> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1522</MTU> </ServiceOrderParameter> </ServiceOrder> <ServiceOrder> <Common> <Identity>1085713</Identity> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>1179752</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/3/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <CustomerVlanIdStart>505</CustomerVlanIdStart> <CustomerVlanIdEnd>510</CustomerVlanIdEnd> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-mx80-2-space</DeviceName> <DeviceID>1194778</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/3/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <CustomerVlanIdStart>505</CustomerVlanIdStart> <CustomerVlanIdEnd>510</CustomerVlanIdEnd> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <MTU>1522</MTU> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType"> <Action>SaveAndDeployNow</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1085735</Value> </Identity> <Code>200</Code> <Message> The Service Order Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1085742</Value> </Identity> <Code>200</Code> <Message> The Service Order Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> <Status> <Job> <ID>202324</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Run a Bulk Configuration Audit of E-Line Services
This request is run a bulk configuration audit of E-Line LDP services.
URI | api/space/nsas/eline-ptp/service-management/services/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service- The options for AuditNow and AuditLater can be provided in the Action element within the ?OperationSpecificData?. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk configuration audit of E-Line services. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ConfigAuditCustomActionType"> <Action>AuditLater</Action> <ScheduledDateTime>2012-10-16T11:58:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Job> <ID>202576</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> The Configurational Audit was Successfully triggered.Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Job> <ID>202577</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> The Configurational Audit was Successfully triggered.Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <Job> <ID>202578</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message> The Configurational Audit was Successfully triggered.Please check the status using the JOB ID. </Message> </Status> </Data>
Run a Bulk Functional Audit of E-Line Services
This request is run a bulk configuration audit of several E-Line services.
URI | api/space/nsas/eline-ptp/service-management/services |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management.service+xml The options for AuditNow and AuditLater can be provided in the Action element within the ?OperationSpecificData?. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a bulk functional audit of E-Line LDP services. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="FunctionalAuditCustomActionType"> <Action>AuditLater</Action> <ScheduledDateTime>2012-10-16T12:03:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Job> <ID>202604</ID> <Status>SCHEDULED</Status> <AssociatedJob> <ID>202605</ID> <Status>SCHEDULED</Status> <Code>200</Code> <Message> The Monitoring Audit was Successfully triggered. Please check the status using the JOB ID. </Message> </AssociatedJob> </Job> <Code>200</Code> <Message> The Functional Audit was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Job> <ID>202606</ID> <Status>SCHEDULED</Status> <AssociatedJob> <ID>202607</ID> <Status>SCHEDULED</Status> <Code>200</Code> <Message> The Monitoring Audit was Successfully triggered. Please check the status using the JOB ID. </Message> </AssociatedJob> </Job> <Code>200</Code> <Message> The Functional Audit was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <Job> <ID>202609</ID> <Status>SCHEDULED</Status> <AssociatedJob> <ID>202612</ID> <Status>SCHEDULED</Status> <Code>200</Code> <Message> The Monitoring Audit was Successfully triggered. Please check the status using the JOB ID. </Message> </AssociatedJob> </Job> <Code>200</Code> <Message> The Functional Audit was Successfully triggered. Please check the status using the JOB ID. </Message> </Status> </Data>