E-Line BGP Services Management RESTful Web Services
The following operations can be performed using the Connectivity Services Director E-Line BGP Services Management RESTful Web Services.
Get an E-Line BGP Service with Manual Route Distinguisher and Route Target By Service ID
This request is used to retrieve the details of a particular E-Line BGP service with manually-configured route distinguisher and route target.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects the details of a specific E-Line BGP service with manually-configured route distinguisher and route target. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/eline-ptp/service-management/services/2261005" uri="/api/space/nsas/eline-ptp/service-management/services/2261005" key="2261005"> <Common> <Name>BGP_PTP</Name> <Identity>2261005</Identity> <State>Deployed</State> <Comments> </Comments> <CreatedDate>2012-12-17T01:32:09.000+05:30</CreatedDate> <LastUpdatedDate>2012-12-17T01:32:09.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/721065" uri="/api/space/nsas/device-roles/pe-devices/721065" key="721065"> <DeviceName>exora</DeviceName> <DeviceID>721065</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/1.656</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <VlanId>656</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.3</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/721075" uri="/api/space/nsas/device-roles/pe-devices/721075" key="721075"> <DeviceName>embassy</DeviceName> <DeviceID>721075</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/2.99</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <VlanId>99</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <RouteTarget>100:10</RouteTarget> <RouteDistinguisher>100:36</RouteDistinguisher> </ServiceParameters> <Reference> <ServiceOrder key="2260992" href="/api/space/nsas/eline-ptp/service-management/service-orders/2260992" uri="/api/space/nsas/eline-ptp/service-management/service-orders/2260992"/> <ServiceDefinition> <ServiceDefinitionID key="360448" href="/api/space/nsas/eline-ptp/service-management/service-definitions/360448" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/360448"/> </ServiceDefinition> <Customer key="720896" href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customer-management/customers/720896"/> </Reference> </Service> </ServiceResource> </Data>
Modify an E-Line BGP Service with Pseudowire Redundancy
This request is used to modify an E-Line BGP service with pseudowire redundancy. You cannot edit MC-LAG interface settings when you modify a service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an E-Line BGP service with pseudowire redundancy. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>REDUN_P2P_BGP_SO_Modify</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>9863222</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/3</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <BackUpSettings> <Enable>true</Enable> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>9863258</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/4</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </BackUpSettings> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>jaipur</DeviceName> <DeviceID>9863247</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <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> <VCID>1229</VCID> </ServiceOrderParameter> <Reference> <Customer key="819263" href="/api/space/nsas/customer-management/customers/819263" uri="/api/space/nsas/customer-management/customers/819263" /> <ServiceDefinition> <ServiceDefinitionID key="9371781" href="/api/space/nsas/eline-ptp/service-management/service-definitions/9371781" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/9371781" /> </ServiceDefinition> <Service key="9895979" href="/api/space/nsas/eline-ptp/service-management/services/9895979" uri="/api/space/nsas/eline-ptp/service-management/services/9895979" /> </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>Service</Type> <Value>9895979</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>10846227</Value> </Identity> <Job> <ID>3604509</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Clone an E-Line BGP Service
This request is used to clone an E-Line BGP service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Clones an E-Line BGP service. |
To clone services, for elements in <ServiceEndPoint>, the following list of elements is not allowed in <ServiceEndPoint>
TrafficType
PhysicalEncapsulation
LogicalEncapsulation
CellBundleSize
OutGoingLabel
JitterBuffer
IdlePattern
PayloadSize
ExcessivePacketLossRate
If you enter any of the preceding elements for <ServiceendPoint>, an appropriate error message is displayed.
Also, ServiceDefinition must not be provided in the <Reference> tag; this value is ignored because it must be the same as the service you are cloning.
Similarly, you cannot specify a different customer while cloning a service because the same <Reference> tag that is used for creating a service is used in cloning a service. As a result, the same customer during service creation is used and a you cannot provide different customer in the clone request.
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>Eline_Test_505_Clone_1</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"> <VlanId>238</VlanId> <Bandwidth unit="Mbps">20</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"> <VlanId>238</VlanId> <Bandwidth unit="Mbps">20</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VCID>238</VCID> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType"> <Action>Save</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3964937</Value> </Identity> <Job> <ID>1474600</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Created Successfully.</Message> </Status> </Data>
Get an E-Line BGP Service with Instance Type as evpn-vpws
This request is used to retrieve an E-Line BGP service with instance type as evpn-vpws.
URL | /api/space/nsas/eline-ptp/service-management/services/<service id> |
HTTP Method | GET |
Sample URL | https://192.0.2.10:8443/api/space/nsas/eline-ptp/service-management/services/819200 |
Accept | application/vnd.net.juniper.space.service-management.service+xml;version=2 |
Content Type | Not applicable |
Input
Not Applicable
Output
Sample
XML Output
""<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <ServiceResource> <Service key=""819200"" uri=""/api/space/nsas/eline-ptp/service-management/services/819200"" href=""/api/space/nsas/eline-ptp/service-management/services/819200""> <Common> <Name>eline-vpws-demo</Name> <Identity>819200</Identity> <State>DeploymentPending</State> <CreatedDate>2018-06-19T20:29:30.000+05:30</CreatedDate> <LastUpdatedDate>2018-06-19T20:29:30.000+05:30</LastUpdatedDate> <InstanceType>evpn-vpws</InstanceType> </Common> <ServiceType>BGP</ServiceType> <Signalling>BGP</Signalling> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <ConfigurationAudit>Pending</ConfigurationAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>0</endpointcount> <ServiceEndPointGroup> <DeviceInfo> <NA key=""131076"" uri=""/api/space/nsas/device-roles/pe-devices/131076"" href=""/api/space/nsas/device-roles/pe-devices/131076""> <DeviceName>SG3re</DeviceName> <DeviceID>131076</DeviceID> <CMPDeviceID>131076</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/3.8</InterfaceName> <InterfaceIndex>521</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPElineBGPEndPointConfigParameterServiceType""> <EndPointCategory>PTP</EndPointCategory> <TrafficType>DOT1Q Transport single vlan</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <UnitId>8</UnitId> <VlanId>8</VlanId> <MTU>1522</MTU> <Bandwidth unit=""Mbps"">0</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>0</ServiceEndpointID> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPServiceEndpointGroupParameterServiceType""> <PEDevice_LoopBackIP>128.220.11.205</PEDevice_LoopBackIP> <PEDevice_NeighborIP>128.220.11.202</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key=""131080"" uri=""/api/space/nsas/device-roles/pe-devices/131080"" href=""/api/space/nsas/device-roles/pe-devices/131080""> <DeviceName>SG4re</DeviceName> <DeviceID>131080</DeviceID> <CMPDeviceID>131082</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/9.2</InterfaceName> <InterfaceIndex>527</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPElineBGPEndPointConfigParameterServiceType""> <EndPointCategory>PTP</EndPointCategory> <TrafficType>DOT1Q Transport single vlan</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <UnitId>2</UnitId> <VlanId>2</VlanId> <MTU>1522</MTU> <Bandwidth unit=""Mbps"">0</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>0</ServiceEndpointID> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPServiceEndpointGroupParameterServiceType""> <PEDevice_LoopBackIP>128.220.11.202</PEDevice_LoopBackIP> <PEDevice_NeighborIP>128.220.11.205</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPConfigParameterServiceType""> <RouteTarget>100:3761</RouteTarget> <RouteDistinguisher>100:3416</RouteDistinguisher> <VlanNormalization>Normalize to Dot1q tag</VlanNormalization> <VlanTagToStack>27</VlanTagToStack> <MTUFactor>10</MTUFactor> </ServiceParameters> <Reference> <ServiceOrder uri=""/api/space/nsas/eline-ptp/service-management/service-orders/1114112"" href=""/api/space/nsas/eline-ptp/service-management/service-orders/1114112"" key=""1114112"" /> <ServiceDefinition> <ServiceDefinitionID uri=""/api/space/nsas/eline-ptp/service-management/service-definitions/557056"" href=""/api/space/nsas/eline-ptp/service-management/service-definitions/557056"" key=""557056""> <ServiceDefinitionName>eline-vpws-test</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Customer uri=""/api/space/nsas/customer-management/customers/1"" href=""/api/space/nsas/customer-management/customers/1"" key=""1""> <CustomerName>apple</CustomerName> </Customer> </Reference> </Service> </ServiceResource> </Data>" "
Clone an E-Line BGP Service (Version 2)
This request is used to clone an E-Line BGP service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Clones an E-Line BGP service in version 2 format. |
To clone services, for elements in <ServiceEndPoint>, the following list of elements is not allowed in <ServiceEndPoint>
TrafficType
PhysicalEncapsulation
LogicalEncapsulation
CellBundleSize
OutGoingLabel
JitterBuffer
IdlePattern
PayloadSize
ExcessivePacketLossRate
If you enter any of the preceding elements for <ServiceendPoint>, an appropriate error message is displayed.
Also, ServiceDefinition must not be provided in the <Reference> tag; this value is ignored because it must be the same as the service you are cloning.
Similarly, you cannot specify a different customer while cloning a service because the same <Reference> tag that is used for creating a service is used in cloning a service. As a result, the same customer during service creation is used and a you cannot provide different customer in the clone request.
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>TestClone_MDFSO_APIClone</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA key="786539" uri="/api/space/nsas/device-roles/pe-devices/786539" href="/api/space/nsas/device-roles/pe-devices/786539"> <DeviceName>embassy</DeviceName> <DeviceID>786539</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/7</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <UnitId>150</UnitId> <VlanId>160</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="786568" uri="/api/space/nsas/device-roles/pe-devices/786568" href="/api/space/nsas/device-roles/pe-devices/786568"> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>786568</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/3/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <UnitId>170</UnitId> <VlanId>180</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VCID>21471</VCID> </ServiceOrderParameter> </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>458992</Value> </Identity> <Code>200</Code> <Message>Service Order Created Successfully. : </Message> </Status>
Get All E-Line BGP Services
This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-Line) BGP services.
URI | api/space/nsas/eline-ptp/service-management/services |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured E-Line BGP services. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/eline-ptp/service-management/services/262378" uri="/api/space/nsas/eline-ptp/service-management/services/262378" key="262378"> <Common> <Name>Eline_QinQ_AVlan_001</Name> <Identity>262378</Identity> <State>Deployed</State> <Comments>Eline_QinQ_AVlan_001</Comments> <CreatedDate>2012-06-28T16:32:56.000+05:30</CreatedDate> <LastUpdatedDate>2012-06-28T16:32:56.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="262371" href="/api/space/nsas/eline-ptp/service-management/service-orders/262371" uri="/api/space/nsas/eline-ptp/service-management/service-orders/262371" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/eline-ptp/service-management/service-definitions/262144" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/262144" /> </ServiceDefinition> <Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customer-management/customers/327680" /> </Reference> </Service> <Service href="/api/space/nsas/eline-ptp/service-management/services/262396" uri="/api/space/nsas/eline-ptp/service-management/services/262396" key="262396"> <Common> <Name>ATM_001</Name> <Identity>262396</Identity> <State>Deployed</State> <Comments>ATM_001</Comments> <CreatedDate>2012-06-28T16:35:52.000+05:30</CreatedDate> <LastUpdatedDate>2012-06-28T16:35:52.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="262389" href="/api/space/nsas/eline-ptp/service-management/service-orders/262389" uri="/api/space/nsas/eline-ptp/service-management/service-orders/262389" /> <ServiceDefinition> <ServiceDefinitionID key="262307" href="/api/space/nsas/eline-ptp/service-management/service-definitions/262307" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/262307" /> </ServiceDefinition> <Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customer-management/customers/327680" /> </Reference> </Service> </ServiceResource> </Data>
Get All E-Line Services By Customer ID or Name
This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-Line) services based on customer name or customer ID.
URI | api/space/nsas/eline-ptp/service-management/ api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured E-Line BGP services based on the customer name or ID. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="3"> <Service href="/api/space/nsas/eline-ptp/service-management/services/262378" uri="/api/space/nsas/eline-ptp/service-management/services/262378" key="262378"> <Common> <Name>Eline_TDM_001</Name> <Identity>262378</Identity> <State>Deployed</State> <Comments>Eline_TDM_001</Comments> <CreatedDate>2012-08-09T19:21:25.000+05:30</CreatedDate> <LastUpdatedDate>2012-08-09T19:21:25.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="262371" href="/api/space/nsas/eline-ptp/service-management/service-orders/262371" uri="/api/space/nsas/eline-ptp/service-management/service-orders/262371" /> <ServiceDefinition> <ServiceDefinitionID key="262279" href="/api/space/nsas/eline-ptp/service-management/service-definitions/262279" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/262279" /> </ServiceDefinition> <Customer key="360448" href="/api/space/nsas/customer-management/customers/360448" uri="/api/space/nsas/customermanagement/ customers/360448" /> </Reference> </Service> <Service href="/api/space/nsas/eline-ptp/service-management/services/262423" uri="/api/space/nsas/eline-ptp/service-management/services/262423" key="262423"> <Common> <Name>Eline_SO_004</Name> <Identity>262423</Identity> <State>Deployed</State> <Comments>Eline_SO_004</Comments> <CreatedDate>2012-08-09T19:47:09.000+05:30</CreatedDate> <LastUpdatedDate>2012-08-09T19:47:09.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="262416" href="/api/space/nsas/eline-ptp/service-management/service-orders/262416" uri="/api/space/nsas/eline-ptp/service-management/service-orders/262416" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/eline-ptp/service-management/service-definitions/262144" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/262144" /> </ServiceDefinition> <Customer key="360448" href="/api/space/nsas/customer-management/customers/360448" uri="/api/space/nsas/customermanagement/ customers/360448" /> </Reference> </Service> <Service href="/api/space/nsas/eline-ptp/service-management/services/262441" uri="/api/space/nsas/eline-ptp/service-management/services/262441" key="262441"> <Common> <Name>ATM_001</Name> <Identity>262441</Identity> <State>Deployed</State> <Comments>ATM_001</Comments> <CreatedDate>2012-08-09T20:00:15.000+05:30</CreatedDate> <LastUpdatedDate>2012-08-09T20:00:15.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="262434" href="/api/space/nsas/eline-ptp/service-management/service-orders/262434" uri="/api/space/nsas/eline-ptp/service-management/service-orders/262434" /> <ServiceDefinition> <ServiceDefinitionID key="262307" href="/api/space/nsas/eline-ptp/service-management/service-definitions/262307" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/262307" /> </ServiceDefinition> <Customer key="360448" href="/api/space/nsas/customer-management/customers/360448" uri="/api/space/nsas/customermanagement/ customers/360448" /> </Reference> </Service> </ServiceResource> </Data>
Get All E-Line Services with Pagination, Search, and Filter
This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-Line) services with pagination, and to filter the results based on the search criteria
URI | api/space/nsas/eline-ptp/service-management/ api/space/nsas/eline-ptp/service-management/ api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured E-Line BGP services with pagination applied, and with a filtered result-set that matches the search criteria |
For service orders, you can sort with “sortedby=CreatedDate” and “sortedby=State”.
For Start and Limit attributes, you can provide integer values based on your requirement to sort and filter the API output. Sortorder can be “asc” and “desc”. The SortedBy attribute differs based on the APIs. For service orders, the SortedBy option can be “CtreatedDate”, “State”. For services, the SortedBy option can be “Name”, “LastModifiedDate”. The FilteredBy attribute differs based on the APIs. For service orders, the FilteredBy option can be “Name” and “State”. For services, the FilteredBy option can be “Name”.
If you enter “paging=(starteq 2, limit eq 3)”, which is not a single integer value, the display is according to index of records. In this case, it shows from the first indexed record to the third indexed record. If you enter "start=2&limit=3", it starts from the second record and displays the next three records in all.
You can specify multiple key:value pairs with the FilteredBy attribute. For example, to get service orders, you can use Get ServiceOrders with Name and State as “filteredby=Name::L3VPN@@State::Invalid”. Similarly, to get service orders, you can use with Name OR state “filteredby=Name::L3VPN!! State::Invalid”.
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="5"> <Service href="/api/space/nsas/eline-ptp/service-management/services/1179679" uri="/api/space/nsas/eline-ptp/service-management/services/1179679" key="1179679"> <Common> <Name>Eline</Name> <Identity>1179679</Identity> <State>Deployed</State> <Comments>Eline</Comments> <CreatedDate>2012-07-02T15:34:00.000+05:30</CreatedDate> <LastUpdatedDate>2012-07-02T15:34:00.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="1179672" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179672" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179672" /> <ServiceDefinition> <ServiceDefinitionID key="1179648" href="/api/space/nsas/eline-ptp/service-management/service-definitions/1179648" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1179648" /> </ServiceDefinition> <Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customer-management/customers/327680" /> </Reference> </Service> </ServiceResource> </Data>
Get All E-Line Services with Pagination
This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-Line) services with pagination.
URI | api/space/nsas/eline-ptp/service-management/ api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml;version=2 |
Produces | Collects all the configured E-Line BGP services with pagination applied |
For service orders, you can sort with “sortedby=CreatedDate” and “sortedby=State”.
For Start and Limit attributes, you can provide integer values based on your requirement to sort and filter the API output. Sortorder can be “asc” and “desc”. The SortedBy attribute differs based on the APIs. For service orders, the SortedBy option can be “CtreatedDate”, “State”. For services, the SortedBy option can be “Name”, “LastModifiedDate”. The FilteredBy attribute differs based on the APIs. For service orders, the FilteredBy option can be “Name” and “State”. For services, the FilteredBy option can be “Name”.
If you enter “paging=(starteq 2, limit eq 3)”, which is not a single integer value, the display is according to index of records. In this case, it shows from the first indexed record to the third indexed record. If you enter "start=2&limit=3", it starts from the second record and displays the next three records in all.
You can specify multiple key:value pairs with the FilteredBy attribute. For example, to get service orders, you can use Get ServiceOrders with Name and State as “filteredby=Name::L3VPN@@State::Invalid”. Similarly, to get service orders, you can use with Name OR state “filteredby=Name::L3VPN!! State::Invalid”.
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="5"> <Service href="/api/space/nsas/eline-ptp/service-management/services/1179679" uri="/api/space/nsas/eline-ptp/service-management/services/1179679" key="1179679"> <Common> <Name>Eline</Name> <Identity>1179679</Identity> <State>Deployed</State> <Comments>Eline</Comments> <CreatedDate>2012-07-02T15:34:00.000+05:30</CreatedDate> <LastUpdatedDate>2012-07-02T15:34:00.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> </AuditFlag> <Reference> <ServiceOrder key="1179672" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179672" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179672" /> <ServiceDefinition> <ServiceDefinitionID key="1179648" href="/api/space/nsas/eline-ptp/service-management/service-definitions/1179648" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1179648" /> </ServiceDefinition> <Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customer-management/customers/327680" /> </Reference> </Service> </ServiceResource> </Data>
Get an E-Line BGP TDM Service with MC-APS By Service ID
This request is used to retrieve the details of a particularE-Line BGP TDM service with MC-APS based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space. |
Produces | Collects the details of a specificE-Line BGP TDM service with MC-APS. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="753735" uri="/api/space/nsas/eline-ptp/service-management/services/753735" href="/api/space/nsas/eline-ptp/service-management/services/753735"> <Common> <Name>P2P_TDM_Service </Name> <Identity>753735</Identity> <State>Deployed</State> <Comments>eswrewter</Comments> <CreatedDate>2014-12-24T13:16:59.000+05:30</CreatedDate> <LastUpdatedDate>2014-12-24T13:16:59.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="558373" uri="/api/space/nsas/device-roles/pe-devices/558373" href="/api/space/nsas/device-roles/pe-devices/558373"> <DeviceName>junos-space3</DeviceName> <DeviceID>558373</DeviceID> <CMPDeviceID>131370</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/1.0</InterfaceName> <InterfaceIndex>622</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>satop</PhysicalEncapsulation> <UNIDescription>chbfhgfhgf</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> <PayloadSize>192</PayloadSize> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.9</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.14</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> <BackUpSettings> <Enable>true</Enable> <DeviceInfo> <NA key="558373" uri="/api/space/nsas/device-roles/pe-devices/558373" href="/api/space/nsas/device-roles/pe-devices/558373"> <DeviceName>junos-space3</DeviceName> <DeviceID>558373</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/0.0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <MTU>0</MTU> <Bandwidth unit="Mbps">0</Bandwidth> <RevertTime>5</RevertTime> <SwitchOverDelay>0</SwitchOverDelay> </ServiceEndpointConfiguration> </ServiceEndPoint> </BackUpSettings> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="558345" uri="/api/space/nsas/device-roles/pe-devices/558345" href="/api/space/nsas/device-roles/pe-devices/558345"> <DeviceName>fortius-f2100-b</DeviceName> <DeviceID>558345</DeviceID> <CMPDeviceID>131338</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/7.0</InterfaceName> <InterfaceIndex>512</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>satop</PhysicalEncapsulation> <UNIDescription>ghfgh</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> <PayloadSize>192</PayloadSize> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.14</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.9</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> <BackUpSettings> <Enable>true</Enable> <DeviceInfo> <NA key="558373" uri="/api/space/nsas/device-roles/pe-devices/558373" href="/api/space/nsas/device-roles/pe-devices/558373"> <DeviceName>junos-space3</DeviceName> <DeviceID>558373</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/0.0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <MTU>0</MTU> <Bandwidth unit="Mbps">0</Bandwidth> <RevertTime>5</RevertTime> <SwitchOverDelay>0</SwitchOverDelay> </ServiceEndpointConfiguration> </ServiceEndPoint> </BackUpSettings> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467285</VCID> <EnableMCAPS>true</EnableMCAPS> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/753723" href="/api/space/nsas/eline-ptp/service-management/service-orders/753723" key="753723"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" key="393544"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/558401" href="/api/space/nsas/customer-management/customers/558401" key="558401"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP Service Details for Multi-Segment Pseudowires By Service ID
This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-Line) BGP service with a multi-segment pseudowire based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with a multi-segment pseudowire. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="393574" uri="/api/space/nsas/eline-ptp/service-management/services/393574" href="/api/space/nsas/eline-ptp/service-management/services/393574"> <Common> <Name>P2P_BGP_Multiseg_SO</Name> <Identity>393574</Identity> <State>Deployed</State> <Comments>dsfdsf</Comments> <CreatedDate>2014-10-15T12:04:55.000+05:30</CreatedDate> <LastUpdatedDate>2014-10-15T12:04:55.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="524351" uri="/api/space/nsas/device-roles/pe-devices/524351" href="/api/space/nsas/device-roles/pe-devices/524351"> <DeviceName>embassy</DeviceName> <DeviceID>524351</DeviceID> <CMPDeviceID>131141</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/1.0</InterfaceName> <InterfaceIndex>513</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation> <LogicalEncapsulation>N/A</LogicalEncapsulation> <UNIDescription>safsdfsdf</UNIDescription> <VlanId>0</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.9</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406"> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> <CMPDeviceID>131145</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>iw0.10</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation> <LogicalEncapsulation>N/A</LogicalEncapsulation> <StitchingUnit>10</StitchingUnit> <UNIDescription>sdfdsf</UNIDescription> <VlanId>0</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> <StitchedPWSegment> <TPEdevice>junos-mx240-space</TPEdevice> <PeerUnitName>12</PeerUnitName> <Interface>ge-0/2/6</Interface> <VlanId>0</VlanId> <VCID>2147467278</VCID> </StitchedPWSegment> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.9</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467278</VCID> <VlanNormalization>Normalization not required</VlanNormalization> <MTUFactor>10</MTUFactor> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/393565" href="/api/space/nsas/eline-ptp/service-management/service-orders/393565" key="393565"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" key="393544"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/525426" href="/api/space/nsas/customer-management/customers/525426" key="525426"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP Service Details for Static Pseudowires By Service ID
This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-Line) BGP service with a static pseudowire based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with a static pseudowire. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="393578" uri="/api/space/nsas/eline-ptp/service-management/services/393578" href="/api/space/nsas/eline-ptp/service-management/services/393578"> <Common> <Name>P2P_BGP_E_SPW_SO</Name> <Identity>393578</Identity> <State>Deployed</State> <Comments>fdgdfgdf</Comments> <CreatedDate>2014-09-18T11:57:05.000+05:30</CreatedDate> <LastUpdatedDate>2014-09-18T15:29:22.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440"> <DeviceName>embassy</DeviceName> <DeviceID>524440</DeviceID> <CMPDeviceID>131133</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/7.512</InterfaceName> <InterfaceIndex>526</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport single vlan</TrafficType> <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>hgfh</UNIDescription> <OuterTPID>None</OuterTPID> <InnerTPID>None</InnerTPID> <UnitId>512</UnitId> <VlanId>512</VlanId> <CustomerVlanId>1</CustomerVlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">0</Bandwidth> <OutgoingLabel>1000016</OutgoingLabel> <IncomingLabel>1000016</IncomingLabel> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.1</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>524296</DeviceID> <CMPDeviceID>131117</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>em0.512</InterfaceName> <InterfaceIndex>17</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport single vlan</TrafficType> <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>rtyrtutyu</UNIDescription> <OuterTPID>None</OuterTPID> <InnerTPID>None</InnerTPID> <UnitId>512</UnitId> <VlanId>512</VlanId> <CustomerVlanId>1</CustomerVlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">0</Bandwidth> <OutgoingLabel>1000016</OutgoingLabel> <IncomingLabel>1000016</IncomingLabel> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.1</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467265</VCID> <VlanNormalization>Normalize to QinQ tags</VlanNormalization> <OuterVlanTagToStack>1</OuterVlanTagToStack> <InnerVlanTagToStack>1</InnerVlanTagToStack> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/393569" href="/api/space/nsas/eline-ptp/service-management/service-orders/393569" key="393569"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" key="393544"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/525406" href="/api/space/nsas/customer-management/customers/525406" key="525406"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP Service Details with MC-LAG Interfaces By Service ID
This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-Line) BGP service with multichassis link aggregation (MC-LAG) interfaces based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with MC-LAG interfaces. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="1540158" uri="/api/space/nsas/eline-ptp/service-management/services/1540158" href="/api/space/nsas/eline-ptp/service-management/services/1540158"> <Common> <Name>testMCLag_SO_MDFSO_2014-10-1318-55-35.878</Name> <Identity>1540158</Identity> <State>Deployed</State> <CreatedDate>2014-10-14T19:39:16.000+05:30</CreatedDate> <LastUpdatedDate>2014-10-14T19:39:16.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="1573073" uri="/api/space/nsas/device-roles/pe-devices/1573073" href="/api/space/nsas/device-roles/pe-devices/1573073"> <DeviceName>embassy</DeviceName> <DeviceID>1573073</DeviceID> <CMPDeviceID>131226</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/5.1</InterfaceName> <InterfaceIndex>523</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>DOT1Q Transport single vlan</TrafficType> <PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation> <LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <UnitId>1</UnitId> <VlanId>1</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">0</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.1</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="1572979" uri="/api/space/nsas/device-roles/pe-devices/1572979" href="/api/space/nsas/device-roles/pe-devices/1572979"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>1572979</DeviceID> <CMPDeviceID>131185</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/3/2.1</InterfaceName> <InterfaceIndex>705</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>DOT1Q Transport single vlan</TrafficType> <PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation> <LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <UnitId>1</UnitId> <VlanId>1</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">0</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.1</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467265</VCID> <VlanNormalization>Swap</VlanNormalization> <MTUFactor>10</MTUFactor> <EnableMCLAG>true</EnableMCLAG> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/1540140" href="/api/space/nsas/eline-ptp/service-management/service-orders/1540140" key="1540140" /> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1540096" href="/api/space/nsas/eline-ptp/service-management/service-definitions/1540096" key="1540096" /> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/1573103" href="/api/space/nsas/customer-management/customers/1573103" key="1573103" /> </Reference> </Service> </ServiceResource> </Data>
GetE-Line BGP Service Details By Service ID
This request is used to retrieve the details of a particularE-Line BGP service based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service by service ID. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/eline-ptp/service-management/services/9895949" uri="/api/space/nsas/eline-ptp/service-management/services/9895949" key="9895949"> <Common> <Name>REDUN_P2P_BGP_SO</Name> <Identity>9895949</Identity> <State>Deployed</State> <CreatedDate>2013-01-18T12:38:37.000+05:30</CreatedDate> <LastUpdatedDate>2013-01-18T12:38:37.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/9863222" uri="/api/space/nsas/device-roles/pe-devices/9863222" key="9863222"> <DeviceName>exora</DeviceName> <DeviceID>9863222</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/3.1350</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services </PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <VlanId>1350</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.3</PEDevice_LoopBackIP> <PEDevice_NeighborIP>10.10.10.10</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> <BackUpSettings> <Enable>true</Enable> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/9863258" uri="/api/space/nsas/device-roles/pe-devices/9863258" key="9863258"> <DeviceName>embassy</DeviceName> <DeviceID>9863258</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/4</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> <RevertTime>5</RevertTime> <SwitchOverDelay>0</SwitchOverDelay> </ServiceEndpointConfiguration> </ServiceEndPoint> </BackUpSettings> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/9863247" uri="/api/space/nsas/device-roles/pe-devices/9863247" key="9863247"> <DeviceName>jaipur</DeviceName> <DeviceID>9863247</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2.1350</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services </PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <VlanId>1350</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>10.10.10.10</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> <BackUpSettings> <Enable>true</Enable> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/9863258" uri="/api/space/nsas/device-roles/pe-devices/9863258" key="9863258"> <DeviceName>embassy</DeviceName> <DeviceID>9863258</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/4</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> <RevertTime>5</RevertTime> <SwitchOverDelay>0</SwitchOverDelay> </ServiceEndpointConfiguration> </ServiceEndPoint> </BackUpSettings> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <MTU>1522</MTU> <VCID>1220</VCID> </ServiceParameters> <Reference> <ServiceOrder key="9895936" href="/api/space/nsas/eline-ptp/service-management/serviceorders/ 9895936" uri="/api/space/nsas/eline-ptp/service-management/serviceorders/ 9895936" /> <ServiceDefinition> <ServiceDefinitionID key="9371780" href="/api/space/nsas/eline-ptp/service-management/servicedefinitions/ 9371780" uri="/api/space/nsas/eline-ptp/service-management/servicedefinitions/ 9371780" /> </ServiceDefinition> <Customer key="819263" href="/api/space/nsas/customer-management/customers/819263" uri="/api/space/nsas/customer-management/customers/819263" /> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP Service Details with Burst Size Calculation By Service ID
This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-Line) BGP service with burst size calculation based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with burst size calculation. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="917541" uri="/api/space/nsas/eline-ptp/service-management/services/917541" href="/api/space/nsas/eline-ptp/service-management/services/917541"> <Common> <Name>P2P_BGP_BurstSizeCal_SO</Name> <Identity>917541</Identity> <State>Deployed</State> <Comments>werwerew</Comments> <CreatedDate>2014-09-26T19:01:00.000+05:30</CreatedDate> <LastUpdatedDate>2014-09-26T19:01:00.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="558232" uri="/api/space/nsas/device-roles/pe-devices/558232" href="/api/space/nsas/device-roles/pe-devices/558232"> <DeviceName>embassy</DeviceName> <DeviceID>558232</DeviceID> <CMPDeviceID>131158</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/1/3.1</InterfaceName> <InterfaceIndex>534</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport single vlan</TrafficType> <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>retret</UNIDescription> <OuterTPID>None</OuterTPID> <InnerTPID>None</InnerTPID> <UnitId>1</UnitId> <VlanId>512</VlanId> <CustomerVlanId>2</CustomerVlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.1</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557067" uri="/api/space/nsas/device-roles/pe-devices/557067" href="/api/space/nsas/device-roles/pe-devices/557067"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>557067</DeviceID> <CMPDeviceID>131116</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lt-0/0/10.512</InterfaceName> <InterfaceIndex>556</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport single vlan</TrafficType> <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>erterte</UNIDescription> <OuterTPID>None</OuterTPID> <InnerTPID>None</InnerTPID> <UnitId>512</UnitId> <VlanId>512</VlanId> <CustomerVlanId>2</CustomerVlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.1</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <RouteTarget>100:5</RouteTarget> <RouteDistinguisher>100:15</RouteDistinguisher> <VlanNormalization>Normalize to QinQ tags</VlanNormalization> <OuterVlanTagToStack>1</OuterVlanTagToStack> <InnerVlanTagToStack>1</InnerVlanTagToStack> <MTUFactor>35</MTUFactor> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/917528" href="/api/space/nsas/eline-ptp/service-management/service-orders/917528" key="917528"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/917504" href="/api/space/nsas/eline-ptp/service-management/service-definitions/917504" key="917504"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/558229" href="/api/space/nsas/customer-management/customers/558229" key="558229"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line Service Details with Normalization Support By Service ID
This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-Line) service configured with normalization of VLANs and logical interface unit-handling, based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line service configured with normalization of VLANs and logical unit of interfaces. |
Output (VLAN Normalization: Normalize to Q-in-Q tags)
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/eline-ptp/service-management/services/2261005" uri="/api/space/nsas/eline-ptp/servicemanagement/ services/2261005" key="2261005"> <Common> <Name>BGP_PTP</Name> <Identity>2261005</Identity> <State>Deployed</State> <Comments> </Comments> <CreatedDate>2012-12-17T01:32:09.000+05:30</CreatedDate> <LastUpdatedDate>2012-12-17T01:32:09.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/721065" uri="/api/space/nsas/device-roles/pe-devices/721065" key="721065"> <DeviceName>exora</DeviceName> <DeviceID>721065</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/1.656</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <UnitId>13</UnitId> <VlanId>656</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.3</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/721075" uri="/api/space/nsas/device-roles/pe-devices/721075" key="721075"> <DeviceName>embassy</DeviceName> <DeviceID>721075</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/2.99</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <UnitId>13</UnitId> <VlanId>99</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <VlanNormalization>Normalize to QinQ tags</VlanNormalization> <OuterVlanTagToStack>12</OuterVlanTagToStack> <InnerVlanTagToStack>13</InnerVlanTagToStack> </ServiceParameters> <Reference> <ServiceOrder key="2260992" href="/api/space/nsas/eline-ptp/service-management/service-orders/2260992" uri="/api/space/nsas/elineptp/ service-management/service-orders/2260992"/> <ServiceDefinition> <ServiceDefinitionID key="360448" href="/api/space/nsas/eline-ptp/service-management/service-definitions/360448" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/360448"/> </ServiceDefinition> <Customer key="720896" href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customermanagement/ customers/720896"/> </Reference> </Service> </ServiceResource> </Data>
Output (VLAN Normalization: Normalize to dot1Q tags)
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/eline-ptp/service-management/services/2261005" uri="/api/space/nsas/eline-ptp/servicemanagement/ services/2261005" key="2261005"> <Common> <Name>BGP_PTP</Name> <Identity>2261005</Identity> <State>Deployed</State> <Comments> </Comments> <CreatedDate>2012-12-17T01:32:09.000+05:30</CreatedDate> <LastUpdatedDate>2012-12-17T01:32:09.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/721065" uri="/api/space/nsas/device-roles/pe-devices/721065" key="721065"> <DeviceName>exora</DeviceName> <DeviceID>721065</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/1.656</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <UnitId>456</UnitId> <VlanId>656</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.3</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/721075" uri="/api/space/nsas/device-roles/pe-devices/721075" key="721075"> <DeviceName>embassy</DeviceName> <DeviceID>721075</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/2.99</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <UnitId>456</UnitId> <VlanId>99</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <VlanNormalization>Normalize to Dot1q tag</VlanNormalization> <VlanTagToStack>1</VlanTagToStack> </ServiceParameters> <Reference> <ServiceOrder key="2260992" href="/api/space/nsas/eline-ptp/service-management/service-orders/2260992" uri="/api/space/nsas/elineptp/ service-management/service-orders/2260992"/> <ServiceDefinition> <ServiceDefinitionID key="360448" href="/api/space/nsas/eline-ptp/service-management/service-definitions/360448" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/360448"/> </ServiceDefinition> <Customer key="720896" href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customermanagement/ customers/720896"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP TDM Service Details with CESoPSN Support By Service ID
This request is used to retrieve the details of a particular EPL or E-Line BGP service configured with time division multiplexed (TDM) Circuit Emulation Service over Packet-Switched Network (CESoPSN), based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with TDM CESoPSN configured. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/eline-ptp/service-management/services/393589" uri="/api/space/nsas/eline-ptp/service-management/services/393589" key="393589"> <Common> <Name>CESoPSN_SO_Test_Via_API</Name> <Identity>393589</Identity> <State>Deployed</State> <CreatedDate>2014-03-25T11:31:33.000+05:30</CreatedDate> <LastUpdatedDate>2014-03-25T11:31:33.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/590135" uri="/api/space/nsas/device-roles/pe-devices/590135" key="590135"> <DeviceName>junos-space2</DeviceName> <DeviceID>590135</DeviceID> <CMPDeviceID>131150</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ds-0/0/3:3.0</InterfaceName> <InterfaceIndex>768</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>cesopsn</PhysicalEncapsulation> <UNIDescription>dgfgfdg</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.8</PEDevice_LoopBackIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/590135" uri="/api/space/nsas/device-roles/pe-devices/590135" key="590135"> <DeviceName>junos-space2</DeviceName> <DeviceID>590135</DeviceID> <CMPDeviceID>131150</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ds-0/0/7:3.0</InterfaceName> <InterfaceIndex>803</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>cesopsn</PhysicalEncapsulation> <UNIDescription>fghhghf</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.8</PEDevice_LoopBackIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterServiceType"/> <Reference> <ServiceOrder key="393581" href="/api/space/nsas/eline-ptp/service-management/service-orders/393581" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393581"/> <ServiceDefinition> <ServiceDefinitionID key="393544" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393544"/> </ServiceDefinition> <Customer key="589824" href="/api/space/nsas/customer-management/customers/589824" uri="/api/space/nsas/customer-management/customers/589824"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP TDM Service Details with Multi-Segment Pseudowire By Service ID
This request is used to retrieve the details of a particular E-Line BGP service configured that contains TDM interfaces with multi-segment pseudowires for P2P BGP TDM, based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with TDM interfaces and a multi-segment pseudowire. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="3604602" uri="/api/space/nsas/eline-ptp/service-management/services/3604602" href="/api/space/nsas/eline-ptp/service-management/services/3604602"> <Common> <Name>TDM_SO</Name> <Identity>3604602</Identity> <State>Deployed</State> <Comments>dgfdgdfgfd</Comments> <CreatedDate>2014-10-21T10:41:19.000+05:30</CreatedDate> <LastUpdatedDate>2014-10-21T10:41:19.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348"> <DeviceName>junos-space5</DeviceName> <DeviceID>525348</DeviceID> <CMPDeviceID>131125</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/1.0</InterfaceName> <InterfaceIndex>591</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>satop</PhysicalEncapsulation> <UNIDescription>N/A</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> <PayloadSize>192</PayloadSize> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>2.3.3.3</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.9</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406"> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> <CMPDeviceID>131145</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>iw0.23</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>satop</PhysicalEncapsulation> <StitchingUnit>23</StitchingUnit> <UNIDescription>N/A</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> <PayloadSize>192</PayloadSize> <StitchedPWSegment> <TPEdevice>junos-space5</TPEdevice> <PeerUnitName>46</PeerUnitName> <Interface>t1-0/0/3</Interface> <VlanId>0</VlanId> <VCID>2147467288</VCID> </StitchedPWSegment> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.9</PEDevice_LoopBackIP> <PEDevice_NeighborIP>2.3.3.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406"> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> <CMPDeviceID>131145</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.9</PEDevice_LoopBackIP> <PEDevice_NeighborIP>2.3.3.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467288</VCID> <VlanNormalization>Swap</VlanNormalization> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/3604584" href="/api/space/nsas/eline-ptp/service-management/service-orders/3604584" key="3604584"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/3407971" href="/api/space/nsas/eline-ptp/service-management/service-definitions/3407971" key="3407971"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/525426" href="/api/space/nsas/customer-management/customers/525426" key="525426"/> </Reference> </Service> </ServiceResource> </Data>
Get E-Line BGP ATM Service Details with Multi-Segment Pseudowire By Service ID
This request is used to retrieve the details of a particular E-Line BGP service configured that contains ATM interfaces with multi-segment pseudowires forE-Line BGP ATM, based on the service ID.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line BGP service with ATM interfaces and a multi-segment pseudowire. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="3604613" uri="/api/space/nsas/eline-ptp/service-management/services/3604613" href="/api/space/nsas/eline-ptp/service-management/services/3604613"> <Common> <Name>ATM_SO</Name> <Identity>3604613</Identity> <State>Deployed</State> <Comments>dgfgd</Comments> <CreatedDate>2014-10-21T10:41:32.000+05:30</CreatedDate> <LastUpdatedDate>2014-10-21T10:41:32.000+05:30</LastUpdatedDate> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348"> <DeviceName>junos-space5</DeviceName> <DeviceID>525348</DeviceID> <CMPDeviceID>131125</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-0/0/7.1531</InterfaceName> <InterfaceIndex>616</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <PhysicalEncapsulation>atm-ccc-cell-relay</PhysicalEncapsulation> <LogicalEncapsulation>N/A</LogicalEncapsulation> <UNIDescription>dfgfgfdgfd</UNIDescription> <VPI>34</VPI> <VCI>45</VCI> <CellBundleSize>1</CellBundleSize> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>2.3.3.3</PEDevice_LoopBackIP> <PEDevice_NeighborIP>30.1.2.9</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406"> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> <CMPDeviceID>131145</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>iw0.56</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <PhysicalEncapsulation>atm-ccc-cell-relay</PhysicalEncapsulation> <LogicalEncapsulation>N/A</LogicalEncapsulation> <StitchingUnit>56</StitchingUnit> <UNIDescription>dsfdsgfg</UNIDescription> <VPI>34</VPI> <VCI>45</VCI> <CellBundleSize>1</CellBundleSize> <StitchedPWSegment> <TPEdevice>fortius-f4000-a</TPEdevice> <PeerUnitName>67</PeerUnitName> <Interface>at-1/1/2:1</Interface> <VlanId>0</VlanId> <VCID>2147467290</VCID> </StitchedPWSegment> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.9</PEDevice_LoopBackIP> <PEDevice_NeighborIP>2.3.3.3</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467290</VCID> <VlanNormalization>Swap</VlanNormalization> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/3604593" href="/api/space/nsas/eline-ptp/service-management/service-orders/3604593" key="3604593"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/3407991" href="/api/space/nsas/eline-ptp/service-management/service-definitions/3407991" key="3407991"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/525426" href="/api/space/nsas/customer-management/customers/525426" key="525426"/> </Reference> </Service> </ServiceResource> </Data>
Stitch an E-Line BGP Service with Multi-Segment Pseudowire
This request is used to stitch an E-Line BGP service with multi-segment pseudowires.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Stitches an E-Line BGP service with multi-segment pseudowires. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>P2P_PortToport_Stitch_API</Name> <Comments>werwer</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>iw0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <PEDevLoopBackIP>30.1.2.9</PEDevLoopBackIP> <StitchingUnit>17</StitchingUnit> <PeerStitchingUnit>38</PeerStitchingUnit> <UNIDescription>dgfdfg</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>524381</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/1/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP> <UNIDescription>sdfdfg</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VlanNormalization>Normalization not required</VlanNormalization> </ServiceOrderParameter> <Reference> <Customer key="525426"/> <ServiceDefinition> <ServiceDefinitionID key="393544"/> </ServiceDefinition> <Service key="393574"/> </Reference> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>3407938</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>3932249</Value> </Identity> <Job> <ID>1081452</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Stitched Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Stitch an E-Line BGP TDM Service with Multi-Segment Pseudowire
This request is used to stitch an E-Line BGP TDM service with multi-segment pseudowires.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Stitches an E-Line BGP TDM service with multi-segment pseudowires. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>TDM_Stitching_API</Name> <Comments>fdgfdgdfgd</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406"> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>iw0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>SATOP</PhysicalEncapsulation> <StitchingUnit>157</StitchingUnit> <PeerStitchingUnit>169</PeerStitchingUnit> <UNIDescription>N/A</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> <PayloadSize>192</PayloadSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348"> <DeviceName>junos-space5</DeviceName> <DeviceID>525348</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>SATOP</PhysicalEncapsulation> <UNIDescription>sdtgfdgfhfd</UNIDescription> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> <PayloadSize>192</PayloadSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <VlanNormalization>Swap</VlanNormalization> </ServiceOrderParameter> <Reference> <Customer key="525426"/> <ServiceDefinition> <ServiceDefinitionID key="3407971"/> </ServiceDefinition> <Service key="3604633"/> </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>Service</Type> <Value>3604602</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>3932271</Value> </Identity> <Job> <ID>1081461</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Stitched Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Stitch an E-Line BGP ATM Service with Multi-Segment Pseudowire
This request is used to stitch an E-Line BGP ATM service with multi-segment pseudowires.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Stitches an E-Line BGP ATM service with multi-segment pseudowires. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>ATM_Stitching_API</Name> <Comments>dfg</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406"> <DeviceName>junos-space3</DeviceName> <DeviceID>525406</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>iw0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <PhysicalEncapsulation>atm-ccc-cell-relay</PhysicalEncapsulation> <StitchingUnit>196</StitchingUnit> <PeerStitchingUnit>199</PeerStitchingUnit> <UNIDescription>dsfdsgfg</UNIDescription> <CellBundleSize>1</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="525378" uri="/api/space/nsas/device-roles/pe-devices/525378" href="/api/space/nsas/device-roles/pe-devices/525378"> <DeviceName>fortius-f4000-a</DeviceName> <DeviceID>525378</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>at-1/1/3:1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <PhysicalEncapsulation>atm-ccc-cell-relay</PhysicalEncapsulation> <UNIDescription>erteter</UNIDescription> <CellBundleSize>1</CellBundleSize> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType"> <VlanNormalization>Swap</VlanNormalization> </ServiceOrderParameter> <Reference> <Customer key="525426"/> <ServiceDefinition> <ServiceDefinitionID key="3407991"/> </ServiceDefinition> <Service key="3604655"/> </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>Service</Type> <Value>3604613</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>3932280</Value> </Identity> <Job> <ID>1081467</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Stitched Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an E-Line BGP TDM Service with CESoPSN Support forE-Line
This request is used to modify an E-Line BGP TDM service configured with CESoPSN forE-Line.
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 | Modifies an E-Line BGP TDM service with CESoPSN forE-Line. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>CESoPSN_SO_Modify_Test_Via_API</Name> </Common> <ServiceType>BGP</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/590135" uri="/api/space/nsas/device-roles/pe-devices/590135" key="590135"> <DeviceName>junos-space2</DeviceName> <DeviceID>590135</DeviceID> <CMPDeviceID>131150</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ds-0/0/3:3.0</InterfaceName> <InterfaceIndex>768</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.8</PEDevice_LoopBackIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/device-roles/pe-devices/590135" uri="/api/space/nsas/device-roles/pe-devices/590135" key="590135"> <DeviceName>junos-space2</DeviceName> <DeviceID>590135</DeviceID> <CMPDeviceID>131150</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ds-0/0/7:3.0</InterfaceName> <InterfaceIndex>803</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <JitterBuffer>5</JitterBuffer> <IdlePattern>255</IdlePattern> <ExcessPacketLossRate>20</ExcessPacketLossRate> </ServiceEndpointConfiguration> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>30.1.2.8</PEDevice_LoopBackIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"/> </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>Service</Type> <Value>393589</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>393599</Value> </Identity> <Job> <ID>131119</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an E-Line BGP Service
This request is used to modify an E-Line BGP service. You cannot modify MC-LAG settings while you modify a service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an E-Line BGP service. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>P2PSERVICE_modified</Name> <Comments>New Schema</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>2392175</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/2/8</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <Bandwidth unit="Mbps">70</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>exora</DeviceName> <DeviceID>2392220</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/2/8</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <Bandwidth unit="Mbps">90</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </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 xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>3964937</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>3964948</Value> </Identity> <Job> <ID>1474600</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an E-Line BGP Service with Static Pseudowire
This request is used to modify an E-Line BGP service with static pseudowires.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an E-Line BGP service with static pseudowires. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>P2P_BGP_E_SPW_Modify_Service_08</Name> <Comments>fdgdfgdf</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440"> <DeviceName>embassy</DeviceName> <DeviceID>524440</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/7</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <UNIDescription>hgfh</UNIDescription> <CustomerVlanId>1</CustomerVlanId> <OutgoingLabel>1000016</OutgoingLabel> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>524296</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>em0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <UNIDescription>rtyrtutyu</UNIDescription> <CustomerVlanId>1</CustomerVlanId> <OutgoingLabel>1000016</OutgoingLabel> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VlanNormalization>Normalize to QinQ tags</VlanNormalization> </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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>393578</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>852094</Value> </Identity> <Job> <ID>294935</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Order Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an E-Line BGP Service
This request is used to modify an E-Line BGP service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an E-Line BGP service. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>BGP_QinQ_API</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA key="786568" uri="/api/space/nsas/device-roles/pe-devices/786568" href="/api/space/nsas/device-roles/pe-devices/786568"> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>786568</DeviceID> <CMPDeviceID>622660</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/1/0</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <UNIDescription>A</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="786568" uri="/api/space/nsas/device-roles/pe-devices/786568" href="/api/space/nsas/device-roles/pe-devices/786568"> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>786568</DeviceID> <CMPDeviceID>622660</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/3/0</InterfaceName> <InterfaceIndex>542</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <UNIDescription>B</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </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>Service</Type> <Value>950332</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1245196</Value> </Identity> <Job> <ID>458781</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify anE-Line BGP TDM Service with MC-APS
This request is used to modify a previously configured E-Line BGP TDM service with multichassis automatic protection switching (MC-APS) specified.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an E-Line BGP service with ATM interfaces and multi-segment pseudowires. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>P2P_BGP_TDM_ModifyService_API</Name> <Comments>dfsdf</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264"> <DeviceName>junos-space3</DeviceName> <DeviceID>558264</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>dfgdgfd</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> <BackUpSettings> <Enable>true</Enable> <DeviceInfo> <NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264"> <DeviceName>junos-space3</DeviceName> <DeviceID>558264</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> </ServiceEndpointConfiguration> <Description>dfgdgfd</Description> </ServiceEndPoint> </BackUpSettings> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="558202" uri="/api/space/nsas/device-roles/pe-devices/558202" href="/api/space/nsas/device-roles/pe-devices/558202"> <DeviceName>fortius-f2100-b</DeviceName> <DeviceID>558202</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>t1-0/0/7</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>adsafds</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"> <EnableMCAPS>true</EnableMCAPS> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>2064425</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2064589</Value> </Identity> <Job> <ID>524544</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Clone an E-Line BGP Service with Static Pseudowire for E-Line
This request is used to clone an E-Line BGP service with static pseudowires for E-Line.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Clones an E-Line BGP service with static pseudowires for E-Line. |
To clone services, for elements in <ServiceEndPoint>, the following list of elements is not allowed in <ServiceEndPoint>
TrafficType
PhysicalEncapsulation
LogicalEncapsulation
CellBundleSize
OutGoingLabel
JitterBuffer
IdlePattern
PayloadSize
ExcessivePacketLossRate
If you enter any of the preceding elements for <ServiceendPoint>, an appropriate error message is displayed.
Also, ServiceDefinition must not be provided in the <Reference> tag; this value is ignored because it must be the same as the service you are cloning.
Similarly, you cannot specify a different customer while cloning a service because the same <Reference> tag that is used for creating a service is used in cloning a service. As a result, the same customer during service creation is used and a you cannot provide different customer in the clone request.
The following example illustrates a service that is created and then cloned. The following is the sample input for creating an E-Line BGP service with pseudowires:
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>TestP2P_001</Name> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-space2</DeviceName> <DeviceID>1343535</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>N/A</UNIDescription> <UnitId>3</UnitId> <VlanId>3</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-space3</DeviceName> <DeviceID>589988</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>N/A</UNIDescription> <UnitId>3</UnitId> <VlanId>3</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"> <RouteTarget>69:34</RouteTarget> <RouteDistinguisher>69:214746762</RouteDistinguisher> <VlanNormalization>Swap</VlanNormalization> <MTUFactor>10</MTUFactor> </ServiceOrderParameter> <Reference> <Customer uri="/api/space/nsas/customer-management/customers/590004" href="/api/space/nsas/customer-management/customers/590004" key="590004"/> <ServiceDefinition> <ServiceDefinitionID key="9437234"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
The following is the sample input for cloning the same E-Line BGP service with pseudwories created in the aforementioned example:
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>TestP2P_001_clone</Name> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-space2</DeviceName> <DeviceID>1343535</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>N/A</UNIDescription> <UnitId>4</UnitId> <VlanId>4</VlanId> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junos-space3</DeviceName> <DeviceID>589988</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> <UNIDescription>N/A</UNIDescription> <UnitId>4</UnitId> <VlanId>4</VlanId> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <RouteTarget>69:35</RouteTarget> <RouteDistinguisher>69:214746765</RouteDistinguisher> <VlanNormalization>Swap</VlanNormalization> <MTUFactor>10</MTUFactor> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> </Data>
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>P2P_BGP_E_SPW_Clone_Service_API</Name> <Comments>fdgdfgdf</Comments> </Common> <ServiceType>Point-to-Point Pseudowire</ServiceType> <Signaling>BGP</Signaling> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440"> <DeviceName>embassy</DeviceName> <DeviceID>524440</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-1/0/7</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <UNIDescription>hgfh</UNIDescription> <VlanId>540</VlanId> <CustomerVlanId>1</CustomerVlanId> <OutgoingLabel>1000020</OutgoingLabel> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>524296</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>em0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <UNIDescription>rtyrtutyu</UNIDescription> <VlanId>540</VlanId> <CustomerVlanId>1</CustomerVlanId> <OutgoingLabel>1000020</OutgoingLabel> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VCID>235613</VCID> <VlanNormalization>Normalize to QinQ tags</VlanNormalization> <OuterVlanTagToStack>1</OuterVlanTagToStack> <InnerVlanTagToStack>1</InnerVlanTagToStack> </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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>ServiceOrder</Type> <Value>852111</Value> </Identity> <Code>200</Code> <Message>The Service Order was created Successfully and Deployment is in Progress. Please check the status using the JOB ID. :</Message> </Status> <Status> <Job> <ID>294943</ID> <Status>INPROGRESS</Status> </Job> </Status> </Data>
Clone an E-Line Service
This request is used to clone an E-Line service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Clones an E-Line service. |
To clone services, for elements in <ServiceEndPoint>, the following list of elements is not allowed in <ServiceEndPoint>
TrafficType
PhysicalEncapsulation
LogicalEncapsulation
CellBundleSize
OutGoingLabel
JitterBuffer
IdlePattern
PayloadSize
ExcessivePacketLossRate
If you enter any of the preceding elements for <ServiceendPoint>, an appropriate error message is displayed.
Also, ServiceDefinition must not be provided in the <Reference> tag; this value is ignored because it must be the same as the service you are cloning.
Similarly, you cannot specify a different customer while cloning a service because the same <Reference> tag that is used for creating a service is used in cloning a service. As a result, the same customer during service creation is used and a you cannot provide different customer in the clone request.
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>Eline_Test_505_Clone_1</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"> <VlanId>238</VlanId> <Bandwidth unit="Mbps">20</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"> <VlanId>238</VlanId> <Bandwidth unit="Mbps">20</Bandwidth> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> <VCID>238</VCID> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType"> <Action>Save</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>ServiceOrder</Type> <Value>3964937</Value> </Identity> <Job> <ID>1474600</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Created Successfully.</Message> </Status> </Data>
Force-Deploy an E-Line Service
This request is used to forcibly deploy a previously created E-Line service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
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 | Forcibly deploys a previously created E-Line service. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi=?http://www.w3.org/2001/XMLSchema-instance"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>3964937</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>3964948</Value> </Identity> <Job> <ID>1474600</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Force-Deploy an E-Line BGP Service
This request is used to forcibly deploy a previously created E-Line BGP service.
URI | api/space/nsas/eline-ptp/service-management/services/{serviceId} |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management.modify-service+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 | Forcibly deploys a previously created E-Line BGP service. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi=?http://www.w3.org/2001/XMLSchema-instance"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>3964937</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>3964948</Value> </Identity> <Job> <ID>1474600</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Decommission an E-Line Service Immediately
This request is used to decommission a previously created E-Line service immediately.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management.service+xml |
Produces | Decommissions a previously created E-Line service immediately. |
Input
Sample XML Input
No payload is supported or required
Output
Sample XML Output
<RESTOperation xmlns="services.schema.networkapi.jmp.juniper.net"> <Response> <Job> <ID>1540110</ID> <Status>INPROGRESS</Status> </Job> <Identity> <Type>Service</Type> <Value>2850823</Value> </Identity> <Data> <OperationSpecificData> <ResponseMessage> <HTTPResponseCode>200</HTTPResponseCode> <ResponseMessage>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</ResponseMessage> </ResponseMessage> </OperationSpecificData> </Data> </Response> </RESTOperation>
Decommission an E-Line BGP Service Immediately
This request is used to decommission a previously created E-Line BGP service immediately.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management.service+xml |
Produces | Decommissions a previously created E-Line BGP service immediately. |
Input
Sample XML Input
No payload is supported or required
Output
Sample XML Output
<RESTOperation xmlns="services.schema.networkapi.jmp.juniper.net"> <Response> <Job> <ID>1540110</ID> <Status>INPROGRESS</Status> </Job> <Identity> <Type>Service</Type> <Value>2850823</Value> </Identity> <Data> <OperationSpecificData> <ResponseMessage> <HTTPResponseCode>200</HTTPResponseCode> <ResponseMessage>Service Decommission was Successfully triggered.Please check the status using the JOB ID.</ResponseMessage> </ResponseMessage> </OperationSpecificData> </Data> </Response> </RESTOperation>
Decommission an E-Line Service Later
This request is used to decommission a previously created E-Line service at a defined later time.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management.service+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Decommissions a previously created E-Line service at a scheduled later time. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identity> <Type>Service</Type> <Value>1540110</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DecommissionLater</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1179679</Value> </Identity> <Job> <ID>1998906</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Force-Deploy an E-Line Service
This request is used to forcibly deploy previously created services in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
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 | Forcibly deploys previously created services in a bulk operation. |
Input (Bulk Force-Deploy Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <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 xsi:type="ServiceCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Input (Bulk Force-Deploy Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <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 xsi:type="ServiceCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime> 2014-11-12T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622725</ID> <Status>INPROGRESS</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>1638634</Value> </Identity> <Job> <ID>622730</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Decommission E-Line Services
This request is used to decommission previously created services in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management.service+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a single-step, wholesale decommissioning of previously created services. |
Input (Bulk Decommission Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <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 xsi:type="ServiceCustomActionType"> <Action>DecommissionNow</Action> </CustomAction> </Data>
Input (Bulk Decommission Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <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 xsi:type="ServiceCustomActionType"> <Action>DecommissionLater</Action> <ScheduledDateTime> 2014-11-12T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622760</ID> <Status>INPROGRESS</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>1638634</Value> </Identity> <Job> <ID>622761</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Deactivation of an E-Line Service
This request is used to deactivate a previously created service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deactivates a previously created service. |
Input ( Deactivation Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeActivateNow </Action> </CustomAction> </Data>
Input (Deactivation Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeActivateLater</Action> <ScheduledDateTime>2014-11-12T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622698</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message>Service DeActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Deactivation of E-Line Services
This request is used to deactivate previously created services in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a single-step deactivation of previously created services. |
Input (Bulk Deactivation Immediately)
Sample XML Input
<Data xmlns=”services.schema.networkapi.jmp.juniper.net” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd”> <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 xsi:type=”ServiceCustomActionType”> <Action>DeActivateNow </Action> </CustomAction> </Data>
Input (Bulk Deactivation Later)
Sample XML Input
<Data xmlns=”services.schema.networkapi.jmp.juniper.net” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd”> <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 xsi:type=”ServiceCustomActionType”> <Action>DeActivateLater</Action> <ScheduledDateTime> 2014-11-12T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622735</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service DeActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622740</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service DeActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Reactivation of an E-Line Service
This request is used to reactivate a previously created service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Reactivates a previously created service. |
Input (Reactivation Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>ReActivateNow </Action> </CustomAction> </Data>
Input (Reactivation Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>ReActivateLater</Action> <ScheduledDateTime></ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622718</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message>Service ReActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Reactivation of E-Line Services
This request is used to reactivate previously created services in a bulk operation.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a single-step reactivation of previously created services. |
Input (Bulk Reactivation Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <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 xsi:type="ServiceCustomActionType"> <Action>ReActivateNow </Action> </CustomAction> </Data>
Input (Bulk Reactivation Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <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 xsi:type="ServiceCustomActionType"> <Action>ReActivateLater</Action> <ScheduledDateTime> 2014-11-12T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622745</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service ReActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622750</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service ReActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Delete an E-Line BGP Service
This request is used to delete a previously configured E-Line BGP service.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deletes an E-Line BGP service. |
Output
Sample XML Output
View the Pending Configuration of an E-Line Service
This request is used to view the details of a E-Line service that are pending to be applied to a device.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Displays the configuration details of a service pending to be applied to a device. |
Output
Sample XML Output
Get an E-Line Service to Associate an LSP
This request is used to retrieve an E-Line service definition for associating it with an LSP.
URL | /api/space/nsas/eline-ptp/service-management/services/<orderID> |
HTTP Method | GET |
Sample URL | https://192.0.2.10:8443/api/space/nsas/eline-ptp/service-management/services/196608 |
Accept | application/vnd.net.juniper.space.service-management.service+xml;version=2 |
Content Type | application/vnd.net.juniper.space.service-management.service+xml;version=2 |
Input
Not Applicable
Output
Sample
XML Output
<?xml version="1.0" encoding="UTF-8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="196608" uri="/api/space/nsas/eline-ptp/service-management/services/196608" href="/api/space/nsas/eline-ptp/service-management/services/196608"> <Common> <Name>ELine_CreateLSP</Name> <Identity>196608</Identity> <State>Deployed</State> <CreatedDate>2018-06-21T00:49:48.000+05:30</CreatedDate> <LastUpdatedDate>2018-06-21T00:49:48.000+05:30</LastUpdatedDate> <InstanceType>l2vpn</InstanceType> </Common> <ServiceType>BGP</ServiceType> <Signalling>BGP</Signalling> <LSPPattern href="/api/space/nsas/lsp-pattern/service-management/service-patterns/2" uri="/api/space/nsas/lsp-pattern/service-management/service-patterns/2" key="2"> <PatternName>Full Mesh Default Pattern</PatternName> <PatternID>2</PatternID> </LSPPattern> <LspServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/163841" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/163841" key="163841"> <ServiceDefinitionName>ns_test1</ServiceDefinitionName> </ServiceDefinitionID> </LspServiceDefinition> <LspId>131075</LspId> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <ConfigurationAudit>Pending</ConfigurationAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>0</endpointcount> <ServiceEndPointGroup> <DeviceInfo> <NA key="2" uri="/api/space/nsas/device-roles/pe-devices/2" href="/api/space/nsas/device-roles/pe-devices/2"> <DeviceName>SG2re</DeviceName> <DeviceID>2</DeviceID> <CMPDeviceID>2</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/6.123</InterfaceName> <InterfaceIndex>524</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <UnitId>123</UnitId> <VlanId>123</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>0</ServiceEndpointID> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>128.220.11.209</PEDevice_LoopBackIP> <PEDevice_NeighborIP>128.220.11.202</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="3" uri="/api/space/nsas/device-roles/pe-devices/3" href="/api/space/nsas/device-roles/pe-devices/3"> <DeviceName>SG4re</DeviceName> <DeviceID>3</DeviceID> <CMPDeviceID>1</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/7.1</InterfaceName> <InterfaceIndex>525</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>QINQ Transport all traffic</TrafficType> <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation> <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <OuterTPID>None</OuterTPID> <UnitId>1</UnitId> <VlanId>1</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>0</ServiceEndpointID> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>128.220.11.202</PEDevice_LoopBackIP> <PEDevice_NeighborIP>128.220.11.209</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterServiceType"> <RouteTarget>100:13</RouteTarget> <RouteDistinguisher>100:16</RouteDistinguisher> <VlanNormalization>Swap</VlanNormalization> <MTUFactor>10</MTUFactor> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/eline-ptp/service-management/service-orders/131073" href="/api/space/nsas/eline-ptp/service-management/service-orders/131073" key="131073" /> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/98304" href="/api/space/nsas/eline-ptp/service-management/service-definitions/98304" key="98304"> <ServiceDefinitionName>ELine-BGP-QinQ-AllVLAN</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Customer uri="/api/space/nsas/customer-management/customers/1" href="/api/space/nsas/customer-management/customers/1" key="1"> <CustomerName>Juniper</CustomerName> </Customer> </Reference> </Service> </ServiceResource> </Data>