Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Modified and New REST APIs for Migrating from Services Activation Director to Connectivity Services Director

    If you have already deployed Services Activation Director in your network for configuring, managing, and administering a large number of devices, and if you migrate to Connectivity Services Director, it is essential to be familiar with the different REST Web Services that are enhanced or newly introduced in Connectivity Services Director. This topic contains the following sections that describe the REST API calls that are modified or newly added in Connectivity Services Director. For the REST APIs that are modified from Services Activation Director, the parameters that are added are highlighted and their significance is also mentioned. Examples of request and response XML calls are also included.

    Modified REST APIs in Connectivity Services Director

    This section describes the REST APIs that were present in Services Activation Director and are modified in Connectivity Services Director. The parameters that are updated or newly added in the APIs are listed.

    Modify an LSP Service Order

    This request is used to modify a particular LSP service order.

    New Parameters

    "RSVPLSPConfigOrderParameterType

    SetupPriority (Integer)

    HoldPriority (Integer)

    ClassOfService (Integer) "

    Description of the Changes

    The three new parameters are sent in request payload to configure them at root LSP level. In Services Activation Director, you could configure these parameters at Primary and Secondary LSP paths only. In the old version of API, these parameters are not used and therefore, they are not sent in the request payload). A value of -1 indicates that parameter must be deleted from the service order

    URI

    api/space/nsas/rsvp-lsp/service-management/service-
    orders/{service_order_id})

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.modify-service-order+xml

    Content Type

    application/vnd.net.juniper.space.service-
    management.modify-service-order+xml

    Produces

    Modifies an existing LSP service order.

    Mandatory Parameters

    "<?xml version=""1.0"" encoding=""UTF-8""?>
    <Data xmlns=""services.schema.networkapi.jmp.juniper.net"">
      <ServiceResource>
        <ServiceOrder>
          <Common>
            <Name>lsp2</Name>
          </Common>
          <LSPPattern key=""134""/>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <TA>
                <Source>
                  <DeviceName>960R1_EN_Alok_re</DeviceName>
                  <DeviceID>65560</DeviceID>
                </Source>
                <Destination>
                  <DeviceName>960R2_EN_Alok_re</DeviceName>
                  <DeviceID>65539</DeviceID>
                </Destination>
              </TA>
            </DeviceInfo>
            <ServiceEndPoint>
              <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDEndPointParameterOrderType"">
                <PrimaryPath>
                  <PathName>primary</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>-1</Bandwidth>
                  <Paths>
                    <Path>
                      <PathName>primary</PathName>
                      <IPAddress>40.1.3.2</IPAddress>
                      <Connection>Strict</Connection>
                    </Path>
                    <Path>
                      <PathName>primary</PathName>
                      <IPAddress>40.3.4.1</IPAddress>
                      <Connection>Strict</Connection>
                    </Path>
                  </Paths>
                </PrimaryPath>
                <SecondaryPath>
                  <PathName>secondary</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>1</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>-1</Bandwidth>
                  <StandBy>undefined</StandBy>
                  <Paths>
                    <Path>
                      <PathName>secondary</PathName>
                      <IPAddress>40.1.2.2</IPAddress>
                      <Connection>Loose</Connection>
                    </Path>
                    <Path>
                      <PathName>secondary</PathName>
                      <IPAddress>40.2.4.2</IPAddress>
                      <Connection>Loose</Connection>
                    </Path>
                  </Paths>
                </SecondaryPath>
              </ServiceEndpointConfiguration>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceOrderParameter xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDConfigParameterOrderType"">
            <ClassOfService>-1</ClassOfService>
            <HopLimit>255</HopLimit>
            <HoldPriority>0</HoldPriority>
            <SetupPriority>7</SetupPriority>
            <StandBy>false</StandBy>
            <Adaptive>Disabled</Adaptive>
            <RetryLimit>0</RetryLimit>
            <RetryTimer>30</RetryTimer>
            <BandWidth>-1</BandWidth>
            <LDPTunneling>Disabled</LDPTunneling>
            <ProtectionSetting>
              <LSPProtectionType>Path Protection</LSPProtectionType>
              <EnableFR>Disabled</EnableFR>
            </ProtectionSetting>
            <BFD>
              <BFDdetection>This LSP</BFDdetection>
              <MinInterval>300</MinInterval>
              <MinReceiveInterval>50</MinReceiveInterval>
              <Multiplier>3</Multiplier>
              <NoAdaption>false</NoAdaption>
              <TransmitMinInterval>50</TransmitMinInterval>
              <FailureAction>Teardown</FailureAction>
            </BFD>
          </ServiceOrderParameter>
        </ServiceOrder>
      </ServiceResource>
      <CustomAction xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""ServiceOrderCustomActionType"">
        <Action>SaveAndValidate</Action>
      </CustomAction>
    </Data>
    "
    

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceDefinition>
             <Common>
                <Name>lsp2</Name>
             </Common>
             <ServiceType>RSVP</ServiceType>
             <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType" />
             <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType" />
             <TransportActivate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPType">
                <Topology>P2P</Topology>
                <PathSelectionType>CSPF</PathSelectionType>
                <LSPProtectionType Editable="true">Path Protection</LSPProtectionType>
                <Advanced>
                   <HopLimit Editable="true">255</HopLimit>
                   <ClassofService Editable="true">-1</ClassofService>
                   <Bandwidth Editable="true">-1</Bandwidth>
                   <HoldPriority Editable="true">0</HoldPriority>
                   <SetupPriority Editable="true">7</SetupPriority>
                   <RetryLimit Editable="true">0</RetryLimit>
                   <RetryTimer Editable="true">30</RetryTimer>
                   <FastReroute Editable="true">false</FastReroute>
                   <LDPTunneling Editable="true">false</LDPTunneling>
                   <Standby Editable="true">false</Standby>
                   <Adaptive Editable="true">false</Adaptive>
                </Advanced>
                <Autobandwidth>
                   <AutoBWidth Editable="true">false</AutoBWidth>
                </Autobandwidth>
                <BFD>
                   <BFDdetection>This LSP</BFDdetection>
                   <MinimumInterval Editable="true">300</MinimumInterval>
                   <MiniRecieveInterval Editable="true">50</MiniRecieveInterval>
                   <Multiplier Editable="true">3</Multiplier>
                   <TransmitMinInterval Editable="true">50</TransmitMinInterval>
                   <TransmitThreshold Editable="true" />
                   <DetectionThreshold Editable="true" />
                   <NoAdaption Editable="true">false</NoAdaption>
                   <FailureAction Editable="true">Teardown</FailureAction>
                </BFD>
             </TransportActivate>
          </ServiceDefinition>
          <ServiceOrder>
             <Common>
                <Name>lsp2</Name>
             </Common>
             <LSPPattern key="134" />
             <ServiceEndPointGroup>
                <DeviceInfo>
                   <TA>
                      <Source>
                         <DeviceName>960R1_EN_Alok_re</DeviceName>
                         <DeviceID>65560</DeviceID>
                      </Source>
                      <Destination>
                         <DeviceName>960R2_EN_Alok_re</DeviceName>
                         <DeviceID>65539</DeviceID>
                      </Destination>
                   </TA>
                </DeviceInfo>
                <ServiceEndPoint>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
                      <PrimaryPath>
                         <PathName>primary</PathName>
                         <SetupPriority>7</SetupPriority>
                         <Adaptive>Disabled</Adaptive>
                         <HoldPriority>0</HoldPriority>
                         <ClassOfService>0</ClassOfService>
                         <HopLimit>255</HopLimit>
                         <Bandwidth>-1</Bandwidth>
                         <Paths>
                            <Path>
                               <PathName>primary</PathName>
                               <IPAddress>40.1.3.2</IPAddress>
                               <Connection>Strict</Connection>
                            </Path>
                            <Path>
                               <PathName>primary</PathName>
                               <IPAddress>40.3.4.1</IPAddress>
                               <Connection>Strict</Connection>
                            </Path>
                         </Paths>
                      </PrimaryPath>
                      <SecondaryPath>
                         <PathName>secondary</PathName>
                         <SetupPriority>7</SetupPriority>
                         <Adaptive>Disabled</Adaptive>
                         <HoldPriority>0</HoldPriority>
                         <ClassOfService>1</ClassOfService>
                         <HopLimit>255</HopLimit>
                         <Bandwidth>-1</Bandwidth>
                         <StandBy>undefined</StandBy>
                         <Paths>
                            <Path>
                               <PathName>secondary</PathName>
                               <IPAddress>40.1.2.2</IPAddress>
                               <Connection>Loose</Connection>
                            </Path>
                            <Path>
                               <PathName>secondary</PathName>
                               <IPAddress>40.2.4.2</IPAddress>
                               <Connection>Loose</Connection>
                            </Path>
                         </Paths>
                      </SecondaryPath>
                   </ServiceEndpointConfiguration>
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDConfigParameterOrderType">
                <ClassOfService>-1</ClassOfService>
                <HopLimit>255</HopLimit>
                <HoldPriority>0</HoldPriority>
                <SetupPriority>7</SetupPriority>
                <StandBy>false</StandBy>
                <Adaptive>Disabled</Adaptive>
                <RetryLimit>0</RetryLimit>
                <RetryTimer>30</RetryTimer>
                <BandWidth>-1</BandWidth>
                <LDPTunneling>Disabled</LDPTunneling>
                <ProtectionSetting>
                   <LSPProtectionType>Path Protection</LSPProtectionType>
                   <EnableFR>Disabled</EnableFR>
                </ProtectionSetting>
                <BFD>
                   <BFDdetection>This LSP</BFDdetection>
                   <MinInterval>300</MinInterval>
                   <MinReceiveInterval>50</MinReceiveInterval>
                   <Multiplier>3</Multiplier>
                   <NoAdaption>false</NoAdaption>
                   <TransmitMinInterval>50</TransmitMinInterval>
                   <FailureAction>Teardown</FailureAction>
                </BFD>
             </ServiceOrderParameter>
          </ServiceOrder>
       </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
          <Action>SaveAndValidate</Action>
       </CustomAction>
    </Data>

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <Status>
          <Identity>
             <Type>ServiceOrder</Type>
             <Value>221</Value>
          </Identity>
          <Job>
             <ID>196641</ID>
             <Status>INPROGRESS</Status>
          </Job>
          <Code>200</Code>
          <Message>The Service Order Created Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
       </Status>
    </Data>

    Get an LSP Service Order By Order ID

    This request is used to retrieve a particular LSP service order

    New Parameters

    "RSVPLSPConfigOrderParameterType

    SetupPriority (Integer)

    HoldPriority (Integer)

    ClassOfService (Integer) "

    Description of the Changes

    The three new parameters are returned in the response XML under parent tag RSVPLSPConfigOrderParameterType. These are the values configured at root level for LSP which will be inherited at primary and secondary path. If required, they can be overridden in the primary and secondary paths.

    URI

    /api/space/nsas/rsvp-lsp/service-management/
    service-orders/{service_order_id}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order+xml

    Produces

    Collects a particular LSP service order.

    Output

    Sample XML Output

    
        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
          <ServiceResource>
            <ServiceOrder key="262206" uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/262206" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/262206">
              <Common>
                <Name>p2p32</Name>
                <Identity>262206</Identity>
                <State>Validated</State>
                <CreatedDate>2015-11-19T11:30:14.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-19T11:30:14.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
              </Common>
              <ServiceType>LSP</ServiceType>
              <LSPPattern href="/api/space/nsas/lsp-pattern/service-management/service-patterns/196902" uri="/api/space/nsas/lsp-pattern/service-management/service-patterns/196902" key="196902">
                <PatternName>abcdd_transmit</PatternName>
                <PatternID>196902</PatternID>
                <PatternTemplate>$TransmitThreshold_dd</PatternTemplate>
              </LSPPattern>
              <Action>Provisioning</Action>
              <ServiceEndPointGroup>
                <DeviceInfo>
                  <TA>
                    <Source key="65565" uri="/api/space/nsas/prestage-ta-device/manage-devices/devices/65565" href="/api/space/nsas/prestage-ta-device/manage-devices/devices/65565">
                      <DeviceName>960R1_EN_Alok_re</DeviceName>
                      <DeviceID>65565</DeviceID>
                      <CMPDeviceID>131094</CMPDeviceID>
                    </Source>
                    <Destination key="65540" uri="/api/space/nsas/prestage-ta-device/manage-devices/devices/65540" href="/api/space/nsas/prestage-ta-device/manage-devices/devices/65540">
                      <DeviceName>960R2_EN_Alok_re</DeviceName>
                      <DeviceID>65540</DeviceID>
                      <CMPDeviceID>131090</CMPDeviceID>
                    </Destination>
                    <LSPName>0_dd_20</LSPName>
                  </TA>
                </DeviceInfo>
                <ServiceEndPoint>
                  <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
                    <PrimaryPath>
                      <PathName>My1</PathName>
                      <SetupPriority>7</SetupPriority>
                      <Adaptive>Disabled</Adaptive>
                      <HoldPriority>0</HoldPriority>
                      <ClassOfService>0</ClassOfService>
                      <HopLimit>255</HopLimit>
                      <Bandwidth>222</Bandwidth>
                      <AdminGroups/>
                    </PrimaryPath>
                    <SecondaryPath>
                      <PathName>My2</PathName>
                      <SetupPriority>7</SetupPriority>
                      <Adaptive>Disabled</Adaptive>
                      <HoldPriority>0</HoldPriority>
                      <ClassOfService>0</ClassOfService>
                      <HopLimit>255</HopLimit>
                      <StandBy>false</StandBy>
                      <Bandwidth>222</Bandwidth>
                      <AdminGroups/>
                    </SecondaryPath>
                  </ServiceEndpointConfiguration>
                </ServiceEndPoint>
              </ServiceEndPointGroup>
              <ServiceTemplates/>
              <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDConfigParameterOrderType">
                <RetryLimit>2</RetryLimit>
                <RetryTimer>22</RetryTimer>
                <BandWidth>222</BandWidth>
                <LDPTunneling>Enabled</LDPTunneling>
                <AutoBandWidth>
                  <AutoBandwidth>false</AutoBandwidth>
                  <AdjustInterval>0</AdjustInterval>
                  <MaxBandwidth>0</MaxBandwidth>
                  <MinBandwidth>0</MinBandwidth>
                </AutoBandWidth>
                <ProtectionSetting>
                  <LSPProtectionType>Path Protection</LSPProtectionType>
                  <LocalProtection>N/A</LocalProtection>
                </ProtectionSetting>
                <HopLimit>255</HopLimit>
                <StandBy>false</StandBy>
                <Adaptive>Disabled</Adaptive>
                <SetupPriority>7</SetupPriority>
                <HoldPriority>0</HoldPriority>
                <ClassOfService>0</ClassOfService>
                <BFD>
                  <BFDdetection>Primary Path</BFDdetection>
                  <MinInterval>300</MinInterval>
                  <MinReceiveInterval>50</MinReceiveInterval>
                  <Multiplier>3</Multiplier>
                  <NoAdaption>false</NoAdaption>
                  <TransmitMinInterval>50</TransmitMinInterval>
                  <TransmitThreshold>0</TransmitThreshold>
                  <DetectionThreshold>0</DetectionThreshold>
                  <FailureAction>Teardown</FailureAction>
                </BFD>
              </ServiceOrderParameter>
              <Reference>
                <ServiceDefinition>
                  <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/262177" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/262177" key="262177"/>
                </ServiceDefinition>
                <Service uri="/api/space/nsas/rsvp-lsp/service-management/services/262211" href="/api/space/nsas/rsvp-lsp/service-management/services/262211" key="262211"/>
              </Reference>
            </ServiceOrder>
          </ServiceResource>
        </Data>
    
    

    Get All ELAN VPLS Service Definitions

    This request is used to retrieve all the configured ELAN VPLS service definitions.

    New Parameters

    ServiceType

    Signalling (String)

    Description of the Changes

    The Signalling value ( LDP or BGP) was being shown wrongly in the UI for VPLS Service Definitions. Therefore, this attribute is added to the xsd file to enable the appropriate values to be populated and sent to the REST layer.

    URI

    api/space/nsas/service-management/service-definitions

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-definitions+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-definitions+xml;version="2"

    Produces

    Collects all configured ELAN VPLS service definitions.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource size="50">
          <ServiceDefinition key="3440713" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/3440713" href="/api/space/nsas/elan-vpls/service-management/service-definitions/3440713">
             <Common>
                <Name>SeenAgain</Name>
                <Identity>3440713</Identity>
                <State>Published</State>
                <CreatedDate>2015-11-20T08:49:24.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-20T08:49:24.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (Point-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="2622064" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2622064" href="/api/space/nsas/elan-vpls/service-management/service-definitions/2622064">
             <Common>
                <Name>LDPVPLS</Name>
                <Identity>2622064</Identity>
                <State>Published</State>
                <CreatedDate>2015-11-19T10:40:35.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-19T10:40:35.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(LDP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
       </ServiceResource>
    </Data>

    Create an L3VPN Service Definition

    This request is used to create an L3VPN service definition.

    New Parameters

    "ServiceDefinitionType

    IsStandard (Boolean)

    DecoupleStatus (Boolean)"


    "L3VPNEndPointParameterDefType
    MTU (L3VPNCommonDefType)
    EnableRateLimiting (L3VPNCommonDefType)
    DefaultBandwidth (L3VPNCommonDefType)
    MinBandwidth (L3VPNCommonDefType)
    MaxBandwidth (L3VPNCommonDefType)
    Increment (L3VPNCommonDefType)
    CalculateBurstSizeType (String)
    BurstPeriod (L3VPNCommonDefType)
    MTUFactor (L3VPNCommonDefType)"

    Description of the Changes

    The IsStandard parameter enables you to identify whether the definition is created by a user or already existing in the system. Previously, DecoupleStatus was not handled as part of the REST API call.

    Note: You cannot create a service definition with 'isStandard' as true. The 'isStandard' parameter is set as true only for service definitions that are already present in the database. The other service definitions that are user-created contain the 'isStandard' parameter as false.

    All the parameters of L3VPNEndPointParameterDefType enable in allocation of bandwidth and rate limit the service. Rate-limiting parameters were already available in other service definitions except L3VPN.

    Note: MTUFactor and Burst Period are mutually exclusive.

    URI

    /api/space/nsas/l3vpn/service-management/
    service-definitions

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-definition-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-definition+xml;version=2;charset=UTF-8"

    Produces

    Creates an L3VPN service definition.

    Input

    Sample XML Input (With ServiceDefinitionType)

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceDefinition>
             <Common>
                <Name>SampleDefinition</Name>
                <Comments />
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <DecoupleStatus>true</DecoupleStatus>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
                <RouteTarget selection="Auto pick" editable="true" />
                <RouteDistinguisher selection="Auto pick" editable="true" />
                <VRFTabelLabel editable="true">true</VRFTabelLabel>
                <ExportDirectRoutes>true</ExportDirectRoutes>
                <RoutingProtocol>OSPF/Static Route</RoutingProtocol>
                <PEInterfaceIP selection="Auto pick" editable="true" />
                <IPPoolType editable="false">Global</IPPoolType>
                <AddressBlockSize editable="true">28</AddressBlockSize>
             </ServiceElementConfigurationDefinition>
             <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
                <VlanIdSelection selection="Auto pick" editable="true" />
                <VlanIdManual max="4094" min="1" />
                <VlanIdAuto max="4094" min="1" />
                <MTU editable="true" min="1522" max="9192" default="1522" />
                <EnableRateLimiting>Enabled</EnableRateLimiting>
                <DefaultBandwidth editable="true">10</DefaultBandwidth>
                <MinBandwidth>1000</MinBandwidth>
                <MaxBandwidth>100</MaxBandwidth>
                <Increment>1000</Increment>
                <CalculateBurstSizeType>MTU Based</CalculateBurstSizeType>
                <MTUFactor editable="true">10</MTUFactor>
             </ServiceEndPointConfigurationDefinition>
          </ServiceDefinition>
       </ServiceResource>
    </Data>

    Sample XML Input (With L3VPNEndPointParameterDefType)

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceDefinition>
             <Common>
                <Name>SampleDefinition</Name>
                <Comments />
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <DecoupleStatus>true</DecoupleStatus>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
                <RouteTarget selection="Auto pick" editable="true" />
                <RouteDistinguisher selection="Auto pick" editable="true" />
                <VRFTabelLabel editable="true">true</VRFTabelLabel>
                <ExportDirectRoutes>true</ExportDirectRoutes>
                <RoutingProtocol>OSPF/Static Route</RoutingProtocol>
                <PEInterfaceIP selection="Auto pick" editable="true" />
                <IPPoolType editable="false">Global</IPPoolType>
                <AddressBlockSize editable="true">28</AddressBlockSize>
             </ServiceElementConfigurationDefinition>
             <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
                <VlanIdSelection selection="Auto pick" editable="true" />
                <VlanIdManual max="4094" min="1" />
                <VlanIdAuto max="4094" min="1" />
                <MTU editable="true" min="1522" max="9192" default="1522" />
                <EnableRateLimiting>Enabled</EnableRateLimiting>
                <DefaultBandwidth editable="true">10</DefaultBandwidth>
                <MinBandwidth>1000</MinBandwidth>
                <MaxBandwidth>100</MaxBandwidth>
                <Increment>1000</Increment>
                <CalculateBurstSizeType>MTU Based</CalculateBurstSizeType>
                <MTUFactor editable="true">10</MTUFactor>
             </ServiceEndPointConfigurationDefinition>
          </ServiceDefinition>
       </ServiceResource>
    </Data>

    Get All L3VPN Service Definitions

    This request is used to retrieve all the configured L3VPN service definitions.

    New Parameters

    "ServiceDefinitionType

    IsStandard (Boolean)

    DecoupleStatus (Boolean)"

    Description of the Changes

    The IsStandard parameter enables you to identify whether the definition is created by a user or already existing in the system. Previously, DecoupleStatus was not handled as part of the REST API call.

    URI

    api/space/nsas/service-management/service-definitions

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-definitions+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-definitions+xml;version="2"

    Produces

    Collects all the L3VPN service definitions.

    Mandatory Parameters

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource size="37">
          <ServiceDefinition key="4128846" uri="/api/space/nsas/l3vpn/service-management/service-definitions/4128846" href="/api/space/nsas/l3vpn/service-management/service-definitions/4128846">
             <Common>
                <Name>SampleDefinition</Name>
                <Identity>4128846</Identity>
                <State>Unpublished</State>
                <CreatedDate>2015-11-26T08:46:01.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-26T08:46:01.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="3342841" uri="/api/space/nsas/l3vpn/service-management/service-definitions/3342841" href="/api/space/nsas/l3vpn/service-management/service-definitions/3342841">
             <Common>
                <Name>TestDefn</Name>
                <Identity>3342841</Identity>
                <State>Published</State>
                <CreatedDate>2015-11-24T18:01:03.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-24T18:01:03.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="3342336" uri="/api/space/nsas/l3vpn/service-management/service-definitions/3342336" href="/api/space/nsas/l3vpn/service-management/service-definitions/3342336">
             <Common>
                <Name>sfasdfs</Name>
                <Identity>3342336</Identity>
                <State>Published</State>
                <CreatedDate>2015-11-23T16:04:28.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-23T16:04:28.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <UseCount>1</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="491592" uri="/api/space/nsas/l3vpn/service-management/service-definitions/491592" href="/api/space/nsas/l3vpn/service-management/service-definitions/491592">
             <Common>
                <Name>BGPTemplate</Name>
                <Identity>491592</Identity>
                <State>Published</State>
                <CreatedDate>2015-11-17T14:53:35.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T14:53:35.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <UseCount>1</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="524288" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/524288" href="/api/space/nsas/eline-ptp/service-management/service-definitions/524288">
             <Common>
                <Name>ELine-BGP-QinQ-AllVLAN</Name>
                <Identity>524288</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(BGP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="491520" uri="/api/space/nsas/l3vpn/service-management/service-definitions/491520" href="/api/space/nsas/l3vpn/service-management/service-definitions/491520">
             <Common>
                <Name>L3VPN-BGP-Static</Name>
                <Identity>491520</Identity>
                <State>Published</State>
                <Comments>L3VPN with BGP/Static as PE-CE routing protocol</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="459016" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/459016" href="/api/space/nsas/eline-ptp/service-management/service-definitions/459016">
             <Common>
                <Name>Static ATM pseudowire</Name>
                <Identity>459016</Identity>
                <State>Published</State>
                <Comments>ATM Point to point Static pseudowire</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>ATM</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="491538" uri="/api/space/nsas/l3vpn/service-management/service-definitions/491538" href="/api/space/nsas/l3vpn/service-management/service-definitions/491538">
             <Common>
                <Name>L3VPN-OSPF-Static</Name>
                <Identity>491538</Identity>
                <State>Published</State>
                <Comments>L3VPN with OSPF/Static as PE-CE routing protocol</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <UseCount>7</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="524314" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/524314" href="/api/space/nsas/eline-ptp/service-management/service-definitions/524314">
             <Common>
                <Name>ELine-BGP-Dot1q-SingleVLAN</Name>
                <Identity>524314</Identity>
                <State>Published</State>
                <Comments>Used to transport a single VLAN in a point-to-point service between two remote sites.</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(BGP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="459041" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/459041" href="/api/space/nsas/eline-ptp/service-management/service-definitions/459041">
             <Common>
                <Name>Static ATM-AAL5 pseudowire</Name>
                <Identity>459041</Identity>
                <State>Published</State>
                <Comments>ATM-AAL5 Point to point Static pseudowire</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>ATM</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="491556" uri="/api/space/nsas/l3vpn/service-management/service-definitions/491556" href="/api/space/nsas/l3vpn/service-management/service-definitions/491556">
             <Common>
                <Name>L3VPN-OSPF-Static(Hub-Spoke-1-Interface)</Name>
                <Identity>491556</Identity>
                <State>Published</State>
                <Comments>L3VPN Hub and Spoke 1 interface with OSPF/Static as PE-CE routing protocol</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Hub-Spoke 1 Interface)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="524339" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/524339" href="/api/space/nsas/eline-ptp/service-management/service-definitions/524339">
             <Common>
                <Name>ELine-BGP-PortBased</Name>
                <Identity>524339</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, using dedicated ports.</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(BGP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="491574" uri="/api/space/nsas/l3vpn/service-management/service-definitions/491574" href="/api/space/nsas/l3vpn/service-management/service-definitions/491574">
             <Common>
                <Name>L3VPN-BGP-Static(Hub-Spoke-1-Interface)</Name>
                <Identity>491574</Identity>
                <State>Published</State>
                <Comments>L3VPN Hub and Spoke 1 interface with BGP/Static as PE-CE routing protocol</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <InterfaceType>L3 VPN (Hub-Spoke 1 Interface)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="459066" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/459066" href="/api/space/nsas/eline-ptp/service-management/service-definitions/459066">
             <Common>
                <Name>ELine-QinQALL-10G</Name>
                <Identity>459066</Identity>
                <State>Published</State>
                <Comments>QinQ pseudowire with up to 10G rate limit</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458926" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458926" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458926">
             <Common>
                <Name>TDM Interface</Name>
                <Identity>458926</Identity>
                <State>Published</State>
                <Comments>TDM Point to point pseudowire</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>TDM</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458947" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458947" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458947">
             <Common>
                <Name>Static TDM pseudowire</Name>
                <Identity>458947</Identity>
                <State>Published</State>
                <Comments>TDM Point to point Static pseudowire</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>TDM</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458970" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458970" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458970">
             <Common>
                <Name>ATM pseudowire</Name>
                <Identity>458970</Identity>
                <State>Published</State>
                <Comments>ATM Point to point pseudowire</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>ATM</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458993" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458993" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458993">
             <Common>
                <Name>ATM-AAL5 pseudowire</Name>
                <Identity>458993</Identity>
                <State>Published</State>
                <Comments>ATM-AAL5 Point to point pseudowire</Comments>
                <CreatedDate>2015-11-17T12:07:47.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:47.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>ATM</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458841" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458841" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458841">
             <Common>
                <Name>ELine-QinQ-VLANRange-Ext-CCC</Name>
                <Identity>458841</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:46.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:46.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458860" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458860" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458860">
             <Common>
                <Name>ELine-Dot1q-SingleVLAN</Name>
                <Identity>458860</Identity>
                <State>Published</State>
                <Comments>Used to transport a single VLAN in a point-to-point service between two remote sites.</Comments>
                <CreatedDate>2015-11-17T12:07:46.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:46.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458877" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458877" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458877">
             <Common>
                <Name>ELine-Dot1q-SingleVLAN-CCC</Name>
                <Identity>458877</Identity>
                <State>Published</State>
                <Comments>Used to transport a single VLAN in a point-to-point service between two remote sites.</Comments>
                <CreatedDate>2015-11-17T12:07:46.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:46.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458894" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458894" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458894">
             <Common>
                <Name>ELine-Dot1q-SingleVLAN-Ext-CCC</Name>
                <Identity>458894</Identity>
                <State>Published</State>
                <Comments>Used to transport a single VLAN in a point-to-point service between two remote sites.</Comments>
                <CreatedDate>2015-11-17T12:07:46.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:46.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458911" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458911" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458911">
             <Common>
                <Name>ELine-PortBased</Name>
                <Identity>458911</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, using dedicated ports.</Comments>
                <CreatedDate>2015-11-17T12:07:46.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:46.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458752" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458752" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458752">
             <Common>
                <Name>ELine-QinQ-AllVLAN</Name>
                <Identity>458752</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:45.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:45.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458769" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458769" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458769">
             <Common>
                <Name>ELine-QinQ-AllVLAN-CCC</Name>
                <Identity>458769</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:45.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:45.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458786" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458786" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458786">
             <Common>
                <Name>ELine-QinQ-AllVLAN-Ext-CCC</Name>
                <Identity>458786</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:45.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:45.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458803" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458803" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458803">
             <Common>
                <Name>ELine-QinQ-VLANRange</Name>
                <Identity>458803</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites, with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:45.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:45.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="458822" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458822" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458822">
             <Common>
                <Name>ELine-QinQ-VLANRange-CCC</Name>
                <Identity>458822</Identity>
                <State>Published</State>
                <Comments>Used to deliver a point-to-point service between two remote sites,with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:45.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:45.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426156" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426156" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426156">
             <Common>
                <Name>ELAN-Hub-Spoke-QinQ-AllVLAN-Normalized-All</Name>
                <Identity>426156</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity, with VLAN normalization.</Comments>
                <CreatedDate>2015-11-17T12:07:44.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:44.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (Point-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426181" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426181" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426181">
             <Common>
                <Name>ELAN-Hub-Spoke-QinQ-AllVLAN</Name>
                <Identity>426181</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity</Comments>
                <CreatedDate>2015-11-17T12:07:44.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:44.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (Point-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426008" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426008" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426008">
             <Common>
                <Name>ELAN-BGP-Dot1Q-SingleVLAN</Name>
                <Identity>426008</Identity>
                <State>Published</State>
                <Comments>Used to transport single VLAN between multiple sites.</Comments>
                <CreatedDate>2015-11-17T12:07:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426032" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426032" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426032">
             <Common>
                <Name>ELAN-BGP-PortBased-10-100M</Name>
                <Identity>426032</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity with high BW requirements using dedicated ports.</Comments>
                <CreatedDate>2015-11-17T12:07:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426054" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426054" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426054">
             <Common>
                <Name>ELAN-BGP-QinQ-Range-Normalized-VLAN</Name>
                <Identity>426054</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity, with VLAN normalization.</Comments>
                <CreatedDate>2015-11-17T12:07:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426081" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426081" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426081">
             <Common>
                <Name>ELAN-BGP-QinQ-AllVLAN-Normalized-All</Name>
                <Identity>426081</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity, with VLAN normalization.</Comments>
                <CreatedDate>2015-11-17T12:07:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426106" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426106" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426106">
             <Common>
                <Name>ELAN-BGP-QinQ-AllVLAN-Normalized-None</Name>
                <Identity>426106</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity, with no VLAN normalization.</Comments>
                <CreatedDate>2015-11-17T12:07:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="426131" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426131" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426131">
             <Common>
                <Name>ELAN-BGP-Dot1q-Normalized-VLAN-None</Name>
                <Identity>426131</Identity>
                <State>Published</State>
                <Comments>Used to transport single VLAN between multiple sites, with no VLAN normalization.</Comments>
                <CreatedDate>2015-11-17T12:07:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
          <ServiceDefinition key="425984" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/425984" href="/api/space/nsas/elan-vpls/service-management/service-definitions/425984">
             <Common>
                <Name>ELAN-BGP-QinQ-AllVLAN</Name>
                <Identity>425984</Identity>
                <State>Published</State>
                <Comments>Used for multisite LAN connectivity with high BW requirements.</Comments>
                <CreatedDate>2015-11-17T12:07:42.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-17T12:07:42.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>VPLS(BGP)</ServiceType>
             <InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>true</IsStandard>
          </ServiceDefinition>
       </ServiceResource>
    </Data>

    Get an L3VPN Service Definition By Definition ID

    This request is used to retrieve the details of a configured L3VPN service definition, based on the service definition ID.

    New Parameters

    "ServiceDefinitionType

    IsStandard (Boolean)

    DecoupleStatus (Boolean)"

    Description of the Changes

    The IsStandard parameter enables you to identify whether the definition is created by a user or already existing in the system. Previously, DecoupleStatus was not handled as part of the REST API call

    URI

    api/space/nsas/service-management/service-definitions/<definitionID>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-definition+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-definition+xml;version="2"

    Produces

    Retrieves a specific L3VPN service definition.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceDefinition key="4128846" uri="/api/space/nsas/l3vpn/service-management/service-definitions/4128846" href="/api/space/nsas/l3vpn/service-management/service-definitions/4128846">
             <Common>
                <Name>SampleDefinition</Name>
                <Identity>4128846</Identity>
                <State>Unpublished</State>
                <CreatedDate>2015-11-26T08:46:01.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-26T08:46:01.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>L3VPN</ServiceType>
             <EnableMVPN>false</EnableMVPN>
             <InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
             <QosEnabled>false</QosEnabled>
             <DecoupleStatus>true</DecoupleStatus>
             <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
                <RouteTarget editable="true" selection="Auto pick" />
                <RouteDistinguisher editable="true" selection="Auto pick" />
                <VRFTabelLabel editable="true">true</VRFTabelLabel>
                <ExportDirectRoutes>true</ExportDirectRoutes>
                <RoutingProtocol>OSPF/Static Route</RoutingProtocol>
                <PEInterfaceIP editable="true" selection="Auto pick" />
                <IPPoolType editable="false">Global</IPPoolType>
                <AddressBlockSize editable="true">28</AddressBlockSize>
             </ServiceElementConfigurationDefinition>
             <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
                <VlanIdSelection editable="true" selection="Auto pick" />
                <VlanIdAuto max="4094" min="1" />
                <VlanIdManual max="4094" min="1" />
                <MTU max="9192" min="1522" editable="true" default="1522" />
                <EnableRateLimiting>Enabled</EnableRateLimiting>
                <DefaultBandwidth unit="Mbps" max="100" min="1" editable="true" default="1">10</DefaultBandwidth>
                <MinBandwidth unit="Kbps" max="100000" min="64">1000</MinBandwidth>
                <MaxBandwidth unit="Mbps" max="100000" min="1">100</MaxBandwidth>
                <Increment unit="Kbps" max="100000" min="64" default="64">1000</Increment>
                <CalculateBurstSizeType>MTU Based</CalculateBurstSizeType>
                <MTUFactor editable="true">10</MTUFactor>
             </ServiceEndPointConfigurationDefinition>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
       </ServiceResource>
    </Data>

    Create an L3VPN Service Order

    This request is used to configure an L3VPN service order.

    New Parameters

    "L3VPNEndPointParameterOrderType
    MTURangeValues
    BandwidthParamRangeType
    COSProfileId (Integer)
    ShapingRate (Integer)"


    "L3VPNConfigParameterOrderType
    MTUFactor (Integer)
    BurstPeriod (Integer)"

    Description of the Changes

    The parameters enable you to rate limit the service and also help user to enable quality of service.

    URI

    api/space/nsas/l3vpn/service-management/
    service-orders

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;charset=UTF-8

    Produces

    Creates an L3VPN service order.

    Input (With L3VPNEndPointParameterOrderType and L3VPNConfigParameterOrderType)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceOrder>
             <Reference>
                <Customer key="688299" />
                <ServiceDefinition>
                   <ServiceDefinitionID key="4128903" />
                </ServiceDefinition>
                <Service key="undefined" />
             </Reference>
             <Common>
                <Name>SampleOrder</Name>
                <CustomerName>Juniper</CustomerName>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNConfigParameterOrderType">
                <OSPFDomainID>0.0.0.0</OSPFDomainID>
                <OSPFVersion>Ver 2</OSPFVersion>
                <VRFTabelLabel>true</VRFTabelLabel>
                <BurstPeriod>10</BurstPeriod>
             </ServiceOrderParameter>
             <ServiceEndPointGroup>
                <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
                <DeviceInfo>
                   <NA>
                      <DeviceName>UG1re</DeviceName>
                      <DeviceID>688140</DeviceID>
                   </NA>
                </DeviceInfo>
                <EnableStitchingPoint>false</EnableStitchingPoint>
                <ServiceEndPoint>
                   <InterfaceName>ge-0/0/7</InterfaceName>
                   <InterfaceID>688150</InterfaceID>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
                      <OSPFAreaId>0.0.0.0</OSPFAreaId>
                      <OSPFVersion>Ver 2</OSPFVersion>
                      <EthernetOption>Dot1Q</EthernetOption>
                      <AutoPickUnitID>true</AutoPickUnitID>
                      <AutoPickVlanID>true</AutoPickVlanID>
                      <InterfaceIP AutoPick="true" />
                      <IPAddressPool>10.0.88.0/24</IPAddressPool>
                      <IPBlockSize>28</IPBlockSize>
                      <COSProfileId>393280</COSProfileId>
                      <ShapingRate>15</ShapingRate>
                      <Bandwidth unit="Mbps">10</Bandwidth>
                      <MTU>1522</MTU>
                   </ServiceEndpointConfiguration>
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceEndPointGroup>
                <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
                <DeviceInfo>
                   <NA>
                      <DeviceName>UG2re</DeviceName>
                      <DeviceID>688141</DeviceID>
                   </NA>
                </DeviceInfo>
                <EnableStitchingPoint>false</EnableStitchingPoint>
                <ServiceEndPoint>
                   <InterfaceName>ge-0/0/8</InterfaceName>
                   <InterfaceID>688175</InterfaceID>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
                      <OSPFAreaId>0.0.0.0</OSPFAreaId>
                      <OSPFVersion>Ver 2</OSPFVersion>
                      <EthernetOption>Dot1Q</EthernetOption>
                      <AutoPickUnitID>true</AutoPickUnitID>
                      <AutoPickVlanID>true</AutoPickVlanID>
                      <InterfaceIP AutoPick="true" />
                      <IPAddressPool>10.0.88.0/24</IPAddressPool>
                      <IPBlockSize>28</IPBlockSize>
                      <COSProfileId>393258</COSProfileId>
                      <ShapingRate>16</ShapingRate>
                      <Bandwidth unit="Mbps">10</Bandwidth>
                      <MTU>1522</MTU>
                   </ServiceEndpointConfiguration>
                </ServiceEndPoint>
             </ServiceEndPointGroup>
          </ServiceOrder>
       </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
          <Action>SaveAndValidate</Action>
       </CustomAction>
    </Data>

    Get an L3VPN Service Order By Order ID

    This request is used to retrieve a specific L3VPN service order.

    New Parameters

    "L3VPNEndPointParameterOrderType
    MTURangeValues
    BandwidthParamRangeType
    COSProfileId (Integer)
    ShapingRate (Integer)"


    "L3VPNConfigParameterOrderType
    MTUFactor (Integer)
    BurstPeriod (Integer)"

    Description of the Changes

    The parameters enable you to rate limit the service and also help user to enable quality of service.

    URI

    api/space/nsas/l3vpn/service-management/service-
    orders/4128932

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2

    Produces

    Retrieves the details of a particular L3VPN service order.

    Output (With L3VPNEndPointParameterOrderType and L3VPNConfigParameterOrderType)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data
        xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
            <ServiceOrder key="4128932" uri="/api/space/nsas/l3vpn/service-management/service-orders/4128932" 
    href="/api/space/nsas/l3vpn/service-management/service-orders/4128932">
                <Common>
                    <Name>SampleOrder</Name>
                    <Identity>4128932</Identity>
                    <State>Invalid</State>
                    <ScheduledState>Invalid</ScheduledState>
                    <CreatedDate>2015-11-26T09:37:41.000+05:30</CreatedDate>
                    <LastUpdatedDate>2015-11-26T09:37:40.000+05:30</LastUpdatedDate>
                    <CreatedBy>super</CreatedBy>
                </Common>
                <ServiceType>l3vpn</ServiceType>
                <JobIdsList>1769494</JobIdsList>
                <EnableMVPN>false</EnableMVPN>
                <EnableMCLAG>false</EnableMCLAG>
                <Action>Provisioning</Action>
                <ServiceEndPointGroup>
                    <DeviceInfo>
                        <NA key="688140" uri="/api/space/nsas/device-roles/pe-devices/688140" href="/api/space/nsas/device-roles/pe-devices/688140">
                            <DeviceName>UG1re</DeviceName>
                            <DeviceID>688140</DeviceID>
                        </NA>
                    </DeviceInfo>
                    <ServiceEndPoint>
                        <InterfaceName>ge-0/0/7</InterfaceName>
                        <InterfaceIndex>522</InterfaceIndex>
                        <ServiceEndpointConfiguration
                            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
                            <COSProfileId>393280</COSProfileId>
                            <RoutingProtocol>OSPF</RoutingProtocol>
                            <EthernetOption>Dot1Q</EthernetOption>
                            <UnitID>6</UnitID>
                            <VlanId>6</VlanId>
                            <InterfaceIP>10.0.88.65/28</InterfaceIP>
                            <MTU>1522</MTU>
                            <Bandwidth unit="Mbps">10</Bandwidth>
                            <RouteDistinguisher>50:20</RouteDistinguisher>
                            <OSPFAreaId>0.0.0.0</OSPFAreaId>
                            <OSPFVersion>Ver 2</OSPFVersion>
                        </ServiceEndpointConfiguration>
                        <ServiceTemplates/>
                    </ServiceEndPoint>
                    <EnableLoopback>false</EnableLoopback>
                    <EnableStitchingPoint>false</EnableStitchingPoint>
                </ServiceEndPointGroup>
                <ServiceEndPointGroup>
                    <DeviceInfo>
                        <NA key="688141" uri="/api/space/nsas/device-roles/pe-devices/688141" href="/api/space/nsas/device-roles/pe-devices/688141">
                            <DeviceName>UG2re</DeviceName>
                            <DeviceID>688141</DeviceID>
                        </NA>
                    </DeviceInfo>
                    <ServiceEndPoint>
                        <InterfaceName>ge-0/0/8</InterfaceName>
                        <InterfaceIndex>523</InterfaceIndex>
                        <ServiceEndpointConfiguration
                            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
                            <COSProfileId>393258</COSProfileId>
                            <RoutingProtocol>OSPF</RoutingProtocol>
                            <EthernetOption>Dot1Q</EthernetOption>
                            <UnitID>3</UnitID>
                            <VlanId>3</VlanId>
                            <InterfaceIP>10.0.88.81/28</InterfaceIP>
                            <MTU>1522</MTU>
                            <Bandwidth unit="Mbps">10</Bandwidth>
                            <RouteDistinguisher>50:21</RouteDistinguisher>
                            <OSPFAreaId>0.0.0.0</OSPFAreaId>
                            <OSPFVersion>Ver 2</OSPFVersion>
                        </ServiceEndpointConfiguration>
                        <ServiceTemplates/>
                    </ServiceEndPoint>
                    <EnableLoopback>false</EnableLoopback>
                    <EnableStitchingPoint>false</EnableStitchingPoint>
                </ServiceEndPointGroup>
                <ServiceOrderParameter
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNConfigParameterOrderType">
                    <RouteTarget>50:10</RouteTarget>
                    <VRFTabelLabel>true</VRFTabelLabel>
                    <ExportDirectRoutes>true</ExportDirectRoutes>
                    <OSPFDomainID>0.0.0.0</OSPFDomainID>
                    <BurstPeriod>10</BurstPeriod>
                </ServiceOrderParameter>
                <Reference>
                    <Customer uri="/api/space/nsas/customer-management/customers/688299" href="/api/space/nsas/customer-management/customers/688299" key="688299">
                        <CustomerName>Juniper</CustomerName>
                    </Customer>
                    <ServiceDefinition>
                        <ServiceDefinitionID uri="/api/space/nsas/l3vpn/service-management/service-definitions/4128903" 
    href="/api/space/nsas/l3vpn/service-management/service-definitions/4128903" key="4128903">
                            <ServiceDefinitionName>SampleDefinition</ServiceDefinitionName>
                        </ServiceDefinitionID>
                    </ServiceDefinition>
                    <Service uri="/api/space/nsas/l3vpn/service-management/services/4128945" href="/api/space/nsas/l3vpn/service-management/services/4128945" key="4128945"/>
                </Reference>
            </ServiceOrder>
        </ServiceResource>
    </Data>

    Get All RSVP LSP Services

    This request is used to retrieve all the configured RSVP LSP services.

    New Parameters

    "RSVPLSPConfigParameterServiceType
    SetupPriority (Integer)
    HoldPriority (Integer)
    ClassOfService (Integer)"

    Description of the Changes

    The new parameters are returned in the response XML under the parent tag ServiceParameters. These are the values configured at root level for LSP that are inherited at primary and secondary path. If required, they can be overridden in the primary and secondary paths.

    URI

    api/space/nsas/rsvp-lsp/service-management/services/

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.services+xml;version=2

    Produces

    Collects all the configures RSVP LSP services.

    Mandatory Parameters

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
      <ServiceResource size="6">
        <Service key="328366" uri="/api/space/nsas/rsvp-lsp/service-management/services/328366" href="/api/space/nsas/rsvp-lsp/service-management/services/328366">
          <Common>
            <Name>p2p_cspf_pathprot</Name>
            <Identity>328366</Identity>
            <State>Deployed</State>
            <CreatedDate>2015-11-27T10:33:31.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-27T10:33:31.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Pending</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/328361" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/328361" key="328361"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328337" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328337" key="328337"/>
            </ServiceDefinition>
          </Reference>
        </Service>
        <Service key="328169" uri="/api/space/nsas/rsvp-lsp/service-management/services/328169" href="/api/space/nsas/rsvp-lsp/service-management/services/328169">
          <Common>
            <Name>P2P-Sevice111</Name>
            <Identity>328169</Identity>
            <State>Deployed</State>
            <CreatedDate>2015-11-25T17:22:25.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-25T17:47:33.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Pending</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/328176" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/328176" key="328176"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328146" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328146" key="328146"/>
            </ServiceDefinition>
          </Reference>
        </Service>
        <Service key="328070" uri="/api/space/nsas/rsvp-lsp/service-management/services/328070" href="/api/space/nsas/rsvp-lsp/service-management/services/328070">
          <Common>
            <Name>p2p_path_protection</Name>
            <Identity>328070</Identity>
            <State>Deployed</State>
            <CreatedDate>2015-11-25T14:10:55.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-25T16:59:06.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Pending</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/328065" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/328065" key="328065"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328047" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328047" key="328047"/>
            </ServiceDefinition>
          </Reference>
        </Service>
        <Service key="163863" uri="/api/space/nsas/rsvp-lsp/service-management/services/163863" href="/api/space/nsas/rsvp-lsp/service-management/services/163863">
          <Common>
            <Name>p2p_2</Name>
            <Identity>163863</Identity>
            <State>Deployed</State>
            <CreatedDate>2015-11-25T13:53:56.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-25T13:53:56.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Pending</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/163858" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/163858" key="163858"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/163840" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/163840" key="163840"/>
            </ServiceDefinition>
          </Reference>
        </Service>
        <Service key="201" uri="/api/space/nsas/rsvp-lsp/service-management/services/201" href="/api/space/nsas/rsvp-lsp/service-management/services/201">
          <Common>
            <Name>p2mp_1</Name>
            <Identity>201</Identity>
            <State>ReActivated</State>
            <CreatedDate>2015-11-24T12:20:41.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-25T12:39:58.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Down</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/306" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/306" key="306"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/170" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/170" key="170"/>
            </ServiceDefinition>
          </Reference>
        </Service>
        <Service key="248" uri="/api/space/nsas/rsvp-lsp/service-management/services/248" href="/api/space/nsas/rsvp-lsp/service-management/services/248">
          <Common>
            <Name>fm_1</Name>
            <Identity>248</Identity>
            <State>ReActivated</State>
            <CreatedDate>2015-11-24T12:13:37.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-25T12:19:31.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Pending</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/229" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/229" key="229"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/211" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/211" key="211"/>
            </ServiceDefinition>
          </Reference>
        </Service>
      </ServiceResource>
    </Data>
    

    Get an RSVP LSP Service By Service ID

    This request is used to retrieve a particular RSVP LSP service.

    New Parameters

    "RSVPLSPConfigParameterServiceType
    SetupPriority (Integer)
    HoldPriority (Integer)
    ClassOfService (Integer)"

    Description of the Changes

    The new parameters are returned in the response XML under the parent tag ServiceParameters. These are the values configured at root level for LSP that are inherited at primary and secondary path. If required, they can be overridden in the primary and secondary paths.

    URI

    api/space/nsas/rsvp-lsp/service-
    management/services/{Service-Id}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.services+xml;version=2

    Produces

    Obtains a particular RSVP LSP service.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
      <ServiceResource size="1">
        <Service key="328366" uri="/api/space/nsas/rsvp-lsp/service-management/services/328366" href="/api/space/nsas/rsvp-lsp/service-management/services/328366">
          <Common>
            <Name>p2p_cspf_pathprot</Name>
            <Identity>328366</Identity>
            <State>Deployed</State>
            <CreatedDate>2015-11-27T10:33:31.000+05:30</CreatedDate>
            <LastUpdatedDate>2015-11-27T10:33:31.000+05:30</LastUpdatedDate>
          </Common>
          <ServiceType>LSP</ServiceType>
          <AuditFlag>
            <FunctionalAudit>Pending</FunctionalAudit>
            <FaultStatus>None</FaultStatus>
          </AuditFlag>
          <Reference>
            <ServiceOrder uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/328361" href="/api/space/nsas/rsvp-lsp/service-management/service-orders/328361" key="328361"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328337" href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/328337" key="328337"/>
            </ServiceDefinition>
          </Reference>
        </Service>
      </ServiceResource>
    </Data>
    

    Modify an RSVP LSP Service

    This request is used to modify an RSVP LSP service.

    New Parameters

    "RSVPLSPConfigParameterServiceType
    SetupPriority (Integer)
    HoldPriority (Integer)
    ClassOfService (Integer)"

    Description of the Changes

    The new parameters are returned in the response XML under the parent tag ServiceParameters. These are the values configured at root level for LSP that are inherited at primary and secondary path. If required, they can be overridden in the primary and secondary paths.

    URI

    /api/space/nsas/rsvp-lsp/service-management/
    services/{Service-Id}

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-management.service-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.modify-service+xml

    Produces

    Modifies an RSVP LSP service.

    Mandatory Parameters

    "<?xml version=""1.0"" encoding=""UTF-8""?>
    <Data xmlns=""services.schema.networkapi.jmp.juniper.net"">
      <ServiceResource>
        <ServiceOrder>
          <Common>
            <Name>p2p_cspf_pathprot_Modify_2015-11-27_11-39-35</Name>
          </Common>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <TA>
                <Source>
                  <DeviceName>MAC15re</DeviceName>
                  <DeviceID>65548</DeviceID>
                </Source>
                <Destination>
                  <DeviceName>MAC13re</DeviceName>
                  <DeviceID>65541</DeviceID>
                </Destination>
              </TA>
            </DeviceInfo>
            <ServiceEndPoint>
              <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDEndPointParameterOrderType"">
                <PrimaryPath>
                  <PathName>Path1</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>-1</Bandwidth>
                  <Paths>
                    <Path>
                      <PathName>Path1</PathName>
                      <Connection>Loose</Connection>
                    </Path>
                  </Paths>
                </PrimaryPath>
                <SecondaryPath>
                  <PathName>Path2</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>-1</Bandwidth>
                  <StandBy>false</StandBy>
                  <Paths>
                    <Path>
                      <PathName>Path2</PathName>
                      <Connection>Loose</Connection>
                    </Path>
                  </Paths>
                </SecondaryPath>
              </ServiceEndpointConfiguration>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceOrderParameter xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDConfigParameterOrderType"">
            <ClassOfService>1</ClassOfService>
            <HopLimit>255</HopLimit>
            <HoldPriority>1</HoldPriority>
            <SetupPriority>5</SetupPriority>
            <StandBy>false</StandBy>
            <Adaptive>Disabled</Adaptive>
            <RetryLimit>0</RetryLimit>
            <RetryTimer>30</RetryTimer>
            <BandWidth>-1</BandWidth>
            <LDPTunneling>Disabled</LDPTunneling>
            <ProtectionSetting>
              <EnableFR>Disabled</EnableFR>
            </ProtectionSetting>
            <BFD>
              <BFDdetection>None</BFDdetection>
            </BFD>
          </ServiceOrderParameter>
        </ServiceOrder>
      </ServiceResource>
      <CustomAction xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""ServiceCustomActionType"">
        <Action>SaveAndValidate</Action>
      </CustomAction>
    </Data>
    "
    

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
      <ServiceResource>
        <ServiceOrder>
          <Common>
            <Name>p2p_cspf_pathprot_Modify_2015-11-27_11-39-35</Name>
          </Common>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <TA>
                <Source>
                  <DeviceName>MAC15re</DeviceName>
                  <DeviceID>65548</DeviceID>
                </Source>
                <Destination>
                  <DeviceName>MAC13re</DeviceName>
                  <DeviceID>65541</DeviceID>
                </Destination>
              </TA>
            </DeviceInfo>
            <ServiceEndPoint>
              <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
                <PrimaryPath>
                  <PathName>Path1</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>-1</Bandwidth>
                  <Paths>
                    <Path>
                      <PathName>Path1</PathName>
                      <Connection>Loose</Connection>
                    </Path>
                  </Paths>
                </PrimaryPath>
                <SecondaryPath>
                  <PathName>Path2</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>-1</Bandwidth>
                  <StandBy>false</StandBy>
                  <Paths>
                    <Path>
                      <PathName>Path2</PathName>
                      <Connection>Loose</Connection>
                    </Path>
                  </Paths>
                </SecondaryPath>
              </ServiceEndpointConfiguration>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDConfigParameterOrderType">
            <ClassOfService>1</ClassOfService>
            <HopLimit>255</HopLimit>
            <HoldPriority>1</HoldPriority>
            <SetupPriority>5</SetupPriority>
            <StandBy>false</StandBy>
            <Adaptive>Disabled</Adaptive>
            <RetryLimit>0</RetryLimit>
            <RetryTimer>30</RetryTimer>
            <BandWidth>-1</BandWidth>
            <LDPTunneling>Disabled</LDPTunneling>
            <ProtectionSetting>
              <EnableFR>Disabled</EnableFR>
            </ProtectionSetting>
            <BFD>
              <BFDdetection>None</BFDdetection>
            </BFD>
          </ServiceOrderParameter>
        </ServiceOrder>
      </ServiceResource>
      <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType">
        <Action>SaveAndValidate</Action>
      </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>328366</Value>
        </Identity>
        <Identity>
          <Type>ServiceOrder</Type>
          <Value>328404</Value>
        </Identity>
        <Job>
          <ID>721023</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>
    

    Create an E-LINE P2P Service Order with Ethernet Interfaces

    This request is used to create an E-LINE P2P service order with Ethernet interfaces.

    New Parameters

    "PTPElineLDPEndPointConfigParameterOrderType
    EnableSendOam (String)
    OutgoingLabelRes (Integer)
    IncomingLabelRes (String)"

    Description of the Changes

    For P2PLDP-Ethernet ServiceOrder, the SendOEM option is provided. Also, if the static pseudowire option is enabled, , you must provide OutgoingLabel for BackupEndpoint in P2P Resillency.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.servicemanagement.
    service-order+xml;version=2;charset=UTF-8

    Produces

    Creates an E-LINE P2P service order with Ethernet interfaces

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>SO_outgoingLabel</Name>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA >
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>557067</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>N/A</UNIDescription>
    						<OutgoingLabel>1000000</OutgoingLabel>
    						<EnableSendOam>true</EnableSendOam>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="557113" uri="/api/space/nsas/device-roles/pe-devices/557113" href="/api/space/nsas/device-roles/pe-devices/557113">
    							<DeviceName>fortius-f4000-a</DeviceName>
    							<DeviceID>557179</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>ge-0/0/1</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    							<OutgoingLabelRes>1000004</OutgoingLabelRes>
    						</ServiceEndpointConfiguration>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="557154" uri="/api/space/nsas/device-roles/pe-devices/557154" href="/api/space/nsas/device-roles/pe-devices/557154">
    						<DeviceName>fortius-f2100-b</DeviceName>
    						<DeviceID>557154</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    				<InterfaceName>ge-1/1/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.14</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>N/A</UNIDescription>
    						<OutgoingLabel>1000001</OutgoingLabel>
    						<EnableSendOam>true</EnableSendOam>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
    				<VlanNormalization>Normalization not required</VlanNormalization>
    				<EnableMCLAG>false</EnableMCLAG>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="557227"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393570"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>Save</Action>
    	</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>328366</Value>
        </Identity>
        <Identity>
          <Type>ServiceOrder</Type>
          <Value>328404</Value>
        </Identity>
        <Job>
          <ID>721023</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>
    

    Create an E-LINE P2P Service Order with TDM Interfaces

    This request is used to create an E-LINE P2P service order with TDM interfaces.

    New Parameters

    "PTPTDMEndPointConfigParameterOrderType
    EnableSendOam (String)
    OutgoingLabelRes (Integer)
    IncomingLabelRes (String)"

    Description of the Changes

    For P2PLDP-TDM ServiceOrder, the SendOEM option is provided. Also, if the static pseudowire option is enabled, , you must provide OutgoingLabel for BackupEndpoint in P2P Resillency.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.servicemanagement.
    service-order+xml;version=2;charset=UTF-8

    Produces

    Creates an E-LINE P2P service order with TDM interfaces

    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_TDM_API </Name>
    </Common>
    <ServiceType>Point-to-Point Pseudowire</ServiceType>
    <Signaling>BGP</Signaling>
    <Action>Provisioning</Action>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>junos-space1</DeviceName>
    <DeviceID>393414</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>t1-0/0/2</InterfaceName>
    <ServiceEndpointConfiguration
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPTDMEndPointConfigParameterOrderType">
    <EnableSendOam>true</EnableSendOam>                                                                                                                                
     <OutgoingLabelRes>1000004</OutgoingLabelRes>
           <IncomingLabelRes>1000001</IncomingLabelRes> 
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>Unmanaged device</DeviceName>
    <DeviceID>0</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/0/9</InterfaceName>
    <LoopbackIP>30.1.2.7</LoopbackIP>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPTDMConfigParameterOrderType">
    <RouteTarget>69:144410</RouteTarget>
    <RouteDistinguisher>69:1444</RouteDistinguisher>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="393216"/>
    <ServiceDefinition>
    <ServiceDefinitionID key="3506205"/>
    </ServiceDefinition>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
    

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    <Identity>
    <Type>ServiceOrder</Type>
    <Value>2424838</Value>
    </Identity>
    <Job>
    <ID>688205</ID>
    <Status>INPROGRESS</Status>
    </Job>
    <Code>200</Code>
    <Message>The Service Order Created Successfully and Validation is in Progress. Please
    check the status using the JOB ID.</Message>
    </Status>
    </Data>

    Create an E-LINE P2P Service Order with ATM Interfaces

    This request is used to create an E-LINE P2P service order with ATM interfaces.

    New Parameters

    "PTPATMEndPointConfigParameterOrderType
    EnableSendOam (String)
    OutgoingLabelRes (Integer)
    IncomingLabelRes (String)"

    Description of the Changes

    For P2PLDP-ATM ServiceOrder, the SendOEM option is provided. Also, if the static pseudowire option is enabled, , you must provide OutgoingLabel for BackupEndpoint in P2P Resillency.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.servicemanagement.
    service-order+xml;version=2;charset=UTF-8

    Produces

    Creates an E-LINE P2P service order with ATM interfaces

    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_ATM_API</Name>
    </Common>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA >
    <DeviceName>junos-m10-1-space</DeviceName>
    <DeviceID>393269</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-1/1/0</InterfaceName>
    <ServiceEndpointConfiguration
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPATMEndPointConfigParameterOrderType">
    <VPI>2</VPI>
    <VCI>3</VCI>
    <EnableSendOam>true</EnableSendOam>                                                                                                                                       
          <OutgoingLabelRes>1000004</OutgoingLabelRes>
           <IncomingLabelRes>1000001</IncomingLabelRes>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA >
    <DeviceName>Unmanaged device</DeviceName>
    <DeviceID>0</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/2/3</InterfaceName>
    <LoopbackIP>30.1.2.4</LoopbackIP>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPATMConfigParameterOrderType">
    <RouteTarget>10:13</RouteTarget>
    <RouteDistinguisher>10:76</RouteDistinguisher>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="393216"/>
    <ServiceDefinition>
    <ServiceDefinitionID key="1441819"/>
    </ServiceDefinition>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data> 
    

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    <Identity>
    <Type>ServiceOrder</Type>
    <Value>2424838</Value>
    </Identity>
    <Job>
    <ID>688205</ID>
    <Status>INPROGRESS</Status>
    </Job>
    <Code>200</Code>
    <Message>The Service Order Created Successfully and Validation is in Progress. Please
    check the status using the JOB ID.</Message>
    </Status>
    </Data>

    Get a P2P Service Order with Ethernet Interfaces

    This request is used to retrieve P2P service orders configured with Ethernet interfaces.

    New Parameters

    "PTPElineLDPEndPointConfigParameterServiceType
    EnableSendOam (String)"

    Description of the Changes

    For Get P2P-ElineLDP service orders, you can retrieve the value of EnableSendOam tag.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-orders+xml

    Produces

    Retrieves P2P service orders with Ethernet interfaces.

    Output

    Sample XML Output

       <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="819200" uri="/api/space/nsas/eline-ptp/service-management/service-orders/819200" href="/api/space/nsas/eline-ptp/service-management/service-orders/819200">
    			<Common>
    				<Name>Test_SO_outgoingLabel_1</Name>
    				<Identity>819200</Identity>
    				<State>Requested</State>
    				<CreatedDate>2015-03-17T17:07:13.000+05:30</CreatedDate>
    				<LastUpdatedDate>2015-03-17T17:07:11.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<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>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>Transport using port</TrafficType>
    						<PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>0</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    						<OutgoingLabel>1000000</OutgoingLabel>
    						<EnableSendOam>true</EnableSendOam>
    						<IncomingLabel>1000001</IncomingLabel>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="557179" uri="/api/space/nsas/device-roles/pe-devices/557179" href="/api/space/nsas/device-roles/pe-devices/557179">
    							<DeviceName>fortius-f4000-a</DeviceName>
    							<DeviceID>557179</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>ge-0/0/7</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    							<MTU>1522</MTU>
    							<RevertTime>5</RevertTime>
    							<SwitchOverDelay>0</SwitchOverDelay>
    							<OutgoingLabelRes>1000004</OutgoingLabelRes>
    							<IncomingLabelRes>1000001</IncomingLabelRes>
    						</ServiceEndpointConfiguration>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="557154" uri="/api/space/nsas/device-roles/pe-devices/557154" href="/api/space/nsas/device-roles/pe-devices/557154">
    						<DeviceName>fortius-f2100-b</DeviceName>
    						<DeviceID>557154</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.14</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>Transport using port</TrafficType>
    						<PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>0</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    						<OutgoingLabel>1000001</OutgoingLabel>
    						<EnableSendOam>false</EnableSendOam>
    						<IncomingLabel>1000000</IncomingLabel>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>2147467337</VCID>
    				<VlanNormalization>Normalization not required</VlanNormalization>
    				<MTUFactor>10</MTUFactor>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/557227" href="/api/space/nsas/customer-management/customers/557227" key="557227"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393570" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393570" key="393570"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    

    Get a P2P Service Order with TDM Interfaces

    This request is used to retrieve P2P service orders configured with TDM interfaces.

    New Parameters

    "PTPTDMEndPointConfigParameterServiceType
    EnableSendOam (String)"

    Description of the Changes

    For Get P2P-TDM service orders, you can retrieve the value of EnableSendOam tag.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-orders+xml

    Produces

    Retrieves P2P service orders with TDM interfaces.

    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>
    <EnableSendOam>true</EnableSendOam>
    </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>
    <EnableSendOam>true</EnableSendOam>
    </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 a P2P Service Order with ATM Interfaces

    This request is used to retrieve P2P service orders configured with ATM interfaces.

    New Parameters

    "PTPATMEndPointConfigParameterServiceType
    EnableSendOam (String)"

    Description of the Changes

    For Get P2P-ATM service orders, you can retrieve the value of EnableSendOam tag.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-orders+xml

    Produces

    Retrieves P2P service orders with ATM 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="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>
    <EnableSendOam>true</EnableSendOam> 
    </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>
    <EnableSendOam>true</EnableSendOam> 
    <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>

    Create a VPLS BGP Service Definition

    This request is used to create a VPLS BGP service definition.

    New Parameters

    "VPLSHSEndPointParameterOrderType

    AutoPickVCID (Boolean)"

    Description of the Changes

    If PWExtension is Enabled, for VCId, Edit in Service Order option is provided.

    URI

    api/space/nsas/elan-vpls/service-management/
    service-definitions

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-definition-status+xml

    Content Type

    application/vnd.net.juniper.space.
    service-management.service-definition+xml

    Produces

    Creates an ELAN VPLS BGP service definition.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition>
    			<Common>
    				<Name>APISD_BGP_HS_001</Name>
    			</Common>
    			<ServiceType>VPLS(BGP)</ServiceType>
    			<InterfaceType>VPLS (Point-MultiPoint)</InterfaceType>
    			<EnableL3Access>false</EnableL3Access>
    			<PWExtension>Enabled</PWExtension>
    			<PWResiliency>Enabled</PWResiliency>
    			<ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSServiceEndpointGroupParameterDefType">
    				<RouteTarget editable="false" selection="Auto Pick"/>
    				<RouteDistinguisher selection="Auto pick"/>
    				<MACLearning editable="false">Enabled</MACLearning>
    				<MACInterfaceLimit editable="false">1024</MACInterfaceLimit>
    				<MACStatistics editable="false">Not enabled</MACStatistics>
    				<MACTableSize editable="false">5120</MACTableSize>
    				<VlanNormalization>Normalize to Dot1q tag</VlanNormalization>
    				<AllowMH>Not enabled</AllowMH>
    				<VCID editable="true">Select manually</VCID>
    				<RevertTime editable="false">5</RevertTime>
    				<SwitchOverDelay editable="false">5</SwitchOverDelay>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSEndPointParameterDefType">
    				<EthernetOption>port-port</EthernetOption>
    				<VlanIdSelection editable="false" selection="N/A"/>
    				<TrafficType>N/A</TrafficType>
    				<VlanIdAuto max="0" min="0" default="0"/>
    				<VlanIdManual max="0" min="0" default="0"/>
    				<PhysicalEncapsulation>ethernet-vpls</PhysicalEncapsulation>
    				<LogicalEncapsulation>N/A</LogicalEncapsulation>
    				<LDPPwExtensionSettings>
    					<PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
    					<LogicalEncapsulation>N/A</LogicalEncapsulation>
    				</LDPPwExtensionSettings>
    				<MTU max="9192" min="1522" editable="false" default="1522"/>
    				<EnableRateLimiting>Not enabled</EnableRateLimiting>
    				<DefaultBandwidth unit="Mbps" max="100" min="1" editable="false" default="1">N/A</DefaultBandwidth>
    				<MinBandwidth unit="Kbps" max="100000" min="64">0</MinBandwidth>
    				<MaxBandwidth unit="Mbps" max="100000" min="1">0</MaxBandwidth>
    				<Increment unit="Kbps" max="100000" min="64" default="64">0</Increment>
    				<CalculateBurstSizeType>MTU Based</CalculateBurstSizeType>
    				<MTUFactor editable="false">10</MTUFactor>
    			</ServiceEndPointConfigurationDefinition>
    			<AdvancedSettings/>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
    

    Output

    Sample XML Output

    <Data>
    	<Status>
    		<Identity>
    			<Type>Service Definition</Type>
    			<Value>361108</Value>
    		</Identity>
    		<Code>200</Code>
    		<Message>
    			ServiceDefinition Created Successfully
    		</Message>
    	</Status>
    </Data>

    Create a VPLS BGP Service Order

    This request is used to create a VPLS BGP service order.

    New Parameters

    "VPLSHSEndPointParameterOrderType

    AutoPickVCID (Boolean)"

    Description of the Changes

    For VCID, if ‘Edit in SO’ is enabled in the service definition, user can edit VCID in the service order with the help of <AutoPickVCID> tag based on requirement.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.servicemanagement.
    service-order+xml;version=2;charset=UTF-8

    Produces

    Creates an ELAN VPLS BGP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>Test_VPLS_BGP_SO</Name>
     			</Common>
    			 <ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
     			<Signaling>BGP</Signaling>
    			 <Action>Provisioning</Action>
     			<ServiceEndPointGroup>
    				<DeviceInfo>
    					 <NA>
    						<DeviceName>R1_neethu</DeviceName>
     						<DeviceID>557361</DeviceID>
    					</NA>
    				 </DeviceInfo>
    				<ServiceEndPoint>
     					<InterfaceName>ge-0/1/7</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>			
    						<UnitId>0</UnitId>
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
                                                    <AutoPickVCID>false</AutoPickVCID>
                                                    <VCID>100</VCID>
    						<HubConnectivityName>MG_Default</HubConnectivityName>
    						 <NeighbourHub>junos-space3</NeighbourHub>
    						<BackupNeighbourHub>junos-space2</BackupNeighbourHub>
     					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				 </ServiceEndPoint>
     			</ServiceEndPointGroup>
    			 <ServiceEndPointGroup>
     				<DeviceInfo>
    					 <NA key="557113" uri="/api/space/nsas/device-roles/pe-devices/557113" href="/api/space/nsas/device-roles/pe-devices/557113">
    						<DeviceName>junos-space2</DeviceName>
     						<DeviceID>557113</DeviceID>
    					 </NA>
    				</DeviceInfo>
     				<ServiceEndPoint>
    					<InterfaceName>ae9</InterfaceName>
    					 <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>			
    						<UnitId>0</UnitId>
     						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="557209" uri="/api/space/nsas/device-roles/pe-devices/557209" href="/api/space/nsas/device-roles/pe-devices/557209">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>557209</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>em0</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>						
    						<UnitId>0</UnitId>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>123</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="557227"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="950272"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>2752560</Value>
    		</Identity>
    		<Job>
    			<ID>950303</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Created Successfully and Deployment is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
     
    

    Get P2P Service Template Details of a Service Definition

    This request is used to retrieve the template details associated with a passed service definition.

    New Parameters

    "ServiceTemplateType DynamicAttributesPresent (Boolean)
    ConfigParamType DynamicAttribute (Boolean)"

    Description of the Changes

    Under ServiceTemplate, <Default>false</Default> indicates if this template is marked as default for this service definition.

    <DynamicAttributesPresent>true</DynamicAttributesPresent> denotes if this templates has at least one config param that has dynamic attributes

    The presence of the User <ConfigParams> <DynamicAttribute>true</DynamicAttribute> tag, with a value of true, indicates this parameter is a dynamic attribute, and value may be fetched from associated device at runtime.

    URI

    api/space/nsas/eline-ptp/service-management/service-
    definitions/2162688/serviceTemplates?_dc=1448974490650&
    page=1&start=0&limit=25

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-template+xml;version=2;

    application/vnd.net.juniper.space.service-management.service-
    template+json;version=2

    Produces

    Retrieves the template details associated with a service definition.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    	<Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
          <ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/2129932" uri="/api/space/nsas/eline-ptp/service-management/service-templates/2129932" key="2129932">
             <Common>
                <Name>P2PTemplate</Name>
                <Identity>2129932</Identity>
                <State>Published</State>
                <CreatedDate>2015-12-01T07:42:25.861-05:00</CreatedDate>
                <LastUpdatedDate>2015-12-01T07:42:25.861-05:00</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ConfigParams>
                <Name>Description</Name>
                <DataType>Enumeration</DataType>
                <Description>Text description of interface</Description>
                <OperatorVisibility>Editable</OperatorVisibility>
                <Value>ServiceEndPoint As Name</Value>
                <SetofValues>
                   <Value>DefaultDescription</Value>
                   <Value>l2vpn interface</Value>
                </SetofValues>
                <Xpath>/configuration/cp1/interface/description</Xpath>
                <Decommission>false</Decommission>
                <SvcSpecificValue>false</SvcSpecificValue>
                <DynamicAttribute>true</DynamicAttribute>
                <ConfigPageName>cp1</ConfigPageName>
                <Validation />
             </ConfigParams>
             <Default>false</Default>
             <DynamicAttributesPresent>true</DynamicAttributesPresent>
          </ServiceTemplate>
          <ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/2129938" uri="/api/space/nsas/eline-ptp/service-management/service-templates/2129938" key="2129938">
             <Common>
                <Name>TestTemplate2</Name>
                <Identity>2129938</Identity>
                <State>Published</State>
                <CreatedDate>2015-12-01T07:41:33.689-05:00</CreatedDate>
                <LastUpdatedDate>2015-12-01T07:41:33.689-05:00</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ConfigParams>
                <Name>Description</Name>
                <DataType>String</DataType>
                <Description>Text description of interface</Description>
                <OperatorVisibility>Editable</OperatorVisibility>
                <Value>ServiceSpecifcName</Value>
                <SetofValues />
                <Xpath>/configuration/cp1/interface/description</Xpath>
                <Decommission>false</Decommission>
                <SvcSpecificValue>false</SvcSpecificValue>
                <ConfigPageName>cp1</ConfigPageName>
                <Validation>
                   <MinOccurrence>0</MinOccurrence>
                   <MaxOccurrence>2147483647</MaxOccurrence>
                </Validation>
             </ConfigParams>
             <Default>true</Default>
             <DynamicAttributesPresent>false</DynamicAttributesPresent>
          </ServiceTemplate>
       </ServiceResource>
    </Data>

    Get a Service Definition With a Default Service Template

    This request is used to retrieve all the service definitions that contain a service template as the default template.

    New Parameters

    "ServiceTemplateType

    Default (Boolean)"

    Description of the Changes

    The <Default> tag under <ServiceTemplate> indicates if this template is marked as a default template in the service definition.

    URI

    /api/space/nsas/eline-ptp/service-management/service-
    definitions/2162688?_dc=1448973954913&id=2162688

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-definition+xml;version=2;

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-definition+xml;version=2;
    charset=UTF-8;

    Produces

    Retrieves service definitions that are attached with service templates labeled as the default template.

    Output

    Sample XML Output

    	<?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceDefinition key="2162688" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/2162688" href="/api/space/nsas/eline-ptp/service-management/service-definitions/2162688">
             <Common>
                <Name>P2P_SD_WithTemplates</Name>
                <Identity>2162688</Identity>
                <State>Published</State>
                <CreatedDate>2015-12-01T07:45:38.000-05:00</CreatedDate>
                <LastUpdatedDate>2015-12-01T07:45:38.000-05:00</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
             <InterfaceType>Ethernet</InterfaceType>
             <StaticpseudoWire>false</StaticpseudoWire>
             <EnableL3Access>false</EnableL3Access>
             <QosEnabled>false</QosEnabled>
             <MultiSegmentPseudowire>false</MultiSegmentPseudowire>
             <PWResiliency>false</PWResiliency>
             <DecoupleStatus>false</DecoupleStatus>
             <ServiceTemplates>
                <ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/2129932" uri="/api/space/nsas/eline-ptp/service-management/service-templates/2129932" key="/api/space/nsas/eline-ptp/service-management/service-templates/2129932">
                   <ID>2129932</ID>
                   <Name>P2PTemplate</Name>
                   <Default>false</Default>
                </ServiceTemplate>
                <ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/2129938" uri="/api/space/nsas/eline-ptp/service-management/service-templates/2129938" key="/api/space/nsas/eline-ptp/service-management/service-templates/2129938">
                   <ID>2129938</ID>
                   <Name>TestTemplate2</Name>
                   <Default>true</Default>
                </ServiceTemplate>
             </ServiceTemplates>
             <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType">
                <VCID max="4294967296" min="1" editable="false" selection="Auto pick" default="1" />
                <MTU max="" min="" editable="false" default="1522" />
                <VlanNormalization>Swap</VlanNormalization>
                <OutGoingLabel />
             </ServiceElementConfigurationDefinition>
             <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType">
                <EthernetOption>dot1q</EthernetOption>
                <VlanIdSelection editable="false" selection="Auto pick" />
                <TrafficType>Transport single vlan</TrafficType>
                <VlanIdAuto max="4094" min="1" default="1" />
                <VlanIdManual max="4094" min="1" default="1" />
                <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
                <MTU max="0" min="0" editable="false" default="1522" />
                <EnableRateLimiting>Not enabled</EnableRateLimiting>
                <DefaultBandwidth unit="Mbps" max="100" min="1" editable="false" default="1">N/A</DefaultBandwidth>
                <MinBandwidth unit="Kbps" max="100000" min="64">0</MinBandwidth>
                <MaxBandwidth unit="Mbps" max="100000" min="1">0</MaxBandwidth>
                <Increment unit="Kbps" max="100000" min="64" default="64">0</Increment>
                <CalculateBurstSizeType>MTU Based</CalculateBurstSizeType>
                <MTUFactor editable="false">0</MTUFactor>
             </ServiceEndPointConfigurationDefinition>
             <UseCount>0</UseCount>
             <UsedBy />
             <IsStandard>false</IsStandard>
          </ServiceDefinition>
       </ServiceResource>
    </Data>
    	
    
    

    Create Service Order with a Service Definition Attached with Default Templates

    This request is used to create a service order that contains a service definition attached with default service templates.

    New Parameters

    "ServiceEndPointGroupType

    DonotApplyDefaultTemplatesOfSD"

    Description of the Changes

    During the service order creation, as a rule, all default templates of service definition are applied to all end points of a service order. If you want to skip all default templates for specific service endpoints, per ServiceEndPointGroupType, use the tag DonotApplyDefaultTemplatesOfSD with a value of true <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>

    In the following example, for the endpoint 1, the default templates are skipped, because of <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>

    URI

    /api/space/nsas/eline-ptp/service-management/service-orders

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;charset=UTF-8

    Produces

    Creates a service order with a service definition that contains default service templates.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResources>
          <ServiceOrder>
             <Common>
                <Name>helo1</Name>
                <CustomerName>Airtel</CustomerName>
             </Common>
             <ServiceType>Point-to-Point Pseudowire</ServiceType>
             <Signaling>LDP</Signaling>
             <Action>Provisioning</Action>
             <ServiceEndPointGroup>
                <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
                <DeviceInfo>
                   <NA>
                      <DeviceName>960R2_EL_Alok_re</DeviceName>
                      <DeviceID>917510</DeviceID>
                   </NA>
                </DeviceInfo>
                <ServiceEndPoint>
                   <InterfaceName>ge-0/0/2</InterfaceName>
                   <InterfaceID>917562</InterfaceID>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                      <EndPointCategory>PTP</EndPointCategory>
                   </ServiceEndpointConfiguration>
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceEndPointGroup>
                <DeviceInfo>
                   <NA>
                      <DeviceName>960R1_EL_Alok_re</DeviceName>
                      <DeviceID>917509</DeviceID>
                   </NA>
                </DeviceInfo>
                <ServiceEndPoint>
                   <InterfaceName>ge-0/0/2</InterfaceName>
                   <InterfaceID>917515</InterfaceID>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                      <EndPointCategory>PTP</EndPointCategory>
                   </ServiceEndpointConfiguration>
                   <ServiceTemplates>
                      <ServiceTemplate>
                         <Name>Set Family CCC</Name>
                         <ID>491606</ID>
                      </ServiceTemplate>
                      <ServiceTemplate>
                         <Name>P2P_LDP_TraceOptions</Name>
                         <ID>491618</ID>
                         <ConfigParams>
                            <Name>Filename</Name>
                            <Value>TraceFileName</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/file/filename</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Size</Name>
                            <Value>10240</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/file/size</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Detail</Name>
                            <Value>true</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/flag/detail</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Disable</Name>
                            <Value>true</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/flag/disable</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Name</Name>
                            <Value>all</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/flag/name</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Receive</Name>
                            <Value>true</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/flag/receive</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Send</Name>
                            <Value>true</Value>
                            <Xpath>/configuration/cp1/l2circuit/traceoptions/flag/send</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                      </ServiceTemplate>
                      <ServiceTemplate>
                         <Name>P2P_LDP_L2curcuitOptions</Name>
                         <ID>491612</ID>
                         <ConfigParams>
                            <Name>Members[@rowId="1"]</Name>
                            <Value>69:100</Value>
                            <Xpath>/configuration/cp1/policy-options/community/members</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Name</Name>
                            <Value>CommunityFromTemplate</Value>
                            <Xpath>/configuration/cp1/policy-options/community/name</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Community</Name>
                            <Value>CommunityFromTemplate</Value>
                            <Xpath>/configuration/cp1/protocols/l2circuit/neighbor/interface/community</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Description</Name>
                            <Value>Description fromTemplate</Value>
                            <Xpath>/configuration/cp1/protocols/l2circuit/neighbor/interface/description</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Ignore-mtu-mismatch</Name>
                            <Value>true</Value>
                            <Xpath>/configuration/cp1/protocols/l2circuit/neighbor/interface/ignore-mtu-mismatch</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                         <ConfigParams>
                            <Name>Pseudowire-status-tlv</Name>
                            <Value>true</Value>
                            <Xpath>/configuration/cp1/protocols/l2circuit/neighbor/interface/pseudowire-status-tlv</Xpath>
                            <ConfigPageName>cp1</ConfigPageName>
                         </ConfigParams>
                      </ServiceTemplate>
                   </ServiceTemplates>
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType" />
             <Reference>
                <Customer key="917585" />
                <ServiceDefinition>
                   <ServiceDefinitionID key="688463" />
                </ServiceDefinition>
                <Service key="undefined" />
             </Reference>
          </ServiceOrder>
       </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
          <Action>SaveAndValidate</Action>
       </CustomAction>
    </Data>

    Get All Services

    This request is used to retrieve all the services.

    New Parameters

    "ServiceType
    OverallStatus (String)"

    Description of the Changes

    The new parameter is returned in the response XML under parent tag basic-service.

    URI

    api/space/nsas/basic-services/?_dc=1448982057002
    &srvNodeType=serviceType&srvNodeValue
    =&orderby=[{”property”:”activationDate”,”direction”:”DESC”}]
    &page=1&start=0&limit=25

    HTTP Method

    GET

    Consumes

    application/vnd.juniper.api.space.nsas.basic-
    services+xml;version=2;q=0.02;

    Content Type

    application/vnd.juniper.api.space.nsas.basic-
    services+xml;charset=UTF-8"

    Produces

    Retrieves all the services.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <basic-services uri="/api/space/nsas/basic-services/" total="20">
       <basic-service>
          <customer-name>Neutrona</customer-name>
          <fault-status>None</fault-status>
          <definition>test-p2p-TPID</definition>
          <status>Pending</status>
          <state>Deployed</state>
          <topo-type>POINT2POINT</topo-type>
          <_policy-name>test-p2p-TPID</_policy-name>
          <overall-status>N/A</overall-status>
          <service-id>4194361</service-id>
          <signaling>BGP</signaling>
          <activation-date>2015-12-01T20:30:02.000+0530</activation-date>
          <service-type>ELINEKompella</service-type>
          <sla-status>None</sla-status>
          <customer-id>Neutrona</customer-id>
          <name>p2p-tpid-so-3</name>
          <last-modified-date>2015-12-01T20:30:02.000+0530</last-modified-date>
          <definition-id>test-p2p-TPID</definition-id>
          <pm-status>None</pm-status>
       </basic-service>
       <basic-service>
          <customer-name>Neutrona</customer-name>
          <fault-status>None</fault-status>
          <definition>p2p-sd-pw-access</definition>
          <status>Pending</status>
          <state>DeploymentPending</state>
          <topo-type>POINT2POINT</topo-type>
          <_policy-name>p2p-sd-pw-access</_policy-name>
          <overall-status>N/A</overall-status>
          <service-id>4718622</service-id>
          <signaling>LDP</signaling>
          <service-type>ELINEMartini</service-type>
          <sla-status>None</sla-status>
          <customer-id>Neutrona</customer-id>
          <name>sada</name>
          <last-modified-date>2015-12-01T14:39:43.000+0530</last-modified-date>
          <definition-id>p2p-sd-pw-access</definition-id>
          <pm-status>None</pm-status>
       </basic-service>
    </basic-services>

    Get All Service Orders

    This request is used to retrieve all the service orders.

    New Parameters

    "CommonType

    ScheduledState (String)"

    <ScheduledState>Deployment Scheduled</ScheduledState>

    <ScheduledState>Validation Scheduled</ScheduledState>

    <ScheduledState>DeActivate Scheduled</ScheduledState>

    <ScheduledState>ReActivate Scheduled</ScheduledState>

    <ScheduledState>Decommissioned Scheduled</ScheduledState>

    <ScheduledState>Force Deployment Scheduled</ScheduledState>

    Description of the Changes

    The new parameter is returned in the response XML under parent tag ServiceResource -> ServiceOrder -> Common.

    URI

    api/space/nsas/elan-vpls/service-management/
    service-orders/ordersforservice?_dc=1448983779127
    &serviceId=4685837&page=1&start=0&limit=25

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-orders+xml

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;charset=UTF-8

    Produces

    Retrieves all of the service orders.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource size="1">
          <ServiceOrder key="4718615" uri="/api/space/nsas/eline-ptp/service-management/service-orders/4718615" href="/api/space/nsas/eline-ptp/service-management/service-orders/4718615">
             <Common>
                <Name>sada</Name>
                <Identity>4718615</Identity>
                <State>Scheduled</State>
                <ScheduledState>Deployment Scheduled</ScheduledState>
                <CreatedDate>2015-12-01T14:39:43.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-12-01T14:39:43.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>ELINEMartini</ServiceType>
             <JobIdsList>2134901</JobIdsList>
             <Signaling>LDP</Signaling>
             <Action>Provisioning</Action>
             <Reference>
                <Customer uri="/api/space/nsas/customer-management/customers/688556" href="/api/space/nsas/customer-management/customers/688556" key="688556">
                   <CustomerName>Neutrona</CustomerName>
                </Customer>
                <ServiceDefinition>
                   <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/4718592" href="/api/space/nsas/eline-ptp/service-management/service-definitions/4718592" key="4718592">
                      <ServiceDefinitionName>p2p-sd-pw-access</ServiceDefinitionName>
                   </ServiceDefinitionID>
                </ServiceDefinition>
                <Service uri="/api/space/nsas/eline-ptp/service-management/services/4718622" href="/api/space/nsas/eline-ptp/service-management/services/4718622" key="4718622" />
             </Reference>
          </ServiceOrder>
       </ServiceResource>
    </Data>

    Get Service Order by ID (For All Services Types)

    This request is used to retrieve a particular service order by the order ID.

    New Parameters

    "ServiceOrderType
    JobIdsList"

    Description of the Changes

    This parameter is added to check job history of the service order.

    URI

    api/space/nsas/elan-vpls/service-management/
    service-orders/{orderID}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;

    Content Type

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;"

    Produces

    Retrieve a particular service order by the order ID.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceOrder key="426229" uri="/api/space/nsas/elan-vpls/service-management/service-orders/426229" href="/api/space/nsas/elan-vpls/service-management/service-orders/426229">
             <Common>
                <Name>vpls_ravi</Name>
                <Identity>426229</Identity>
                <State>Invalid</State>
                <ScheduledState>Invalid</ScheduledState>
                <CreatedDate>2015-11-24T15:40:54.000+05:30</CreatedDate>
                <LastUpdatedDate>2015-11-24T15:40:54.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
             </Common>
             <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
             <JobIdsList>196652, 720905</JobIdsList>
             <Signaling>BGP</Signaling>
             <Action>Provisioning</Action>
             <ServiceEndPointGroup>
                <DeviceInfo>
                   <NA key="688216" uri="/api/space/nsas/device-roles/pe-devices/688216" href="/api/space/nsas/device-roles/pe-devices/688216">
                      <DeviceName>960R2_EN_Alok_re</DeviceName>
                      <DeviceID>688216</DeviceID>
                   </NA>
                </DeviceInfo>
                <ServiceEndPoint>
                   <InterfaceName>ge-0/0/4</InterfaceName>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
                      <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                      <EthernetOption>dot1q</EthernetOption>
                      <UNIDescription>N/A</UNIDescription>
                      <VlanId>2</VlanId>
                      <MTU>1522</MTU>
                      <Bandwidth unit="Mbps">10</Bandwidth>
                      <MACLearning>true</MACLearning>
                      <InterfaceMACLimit>1024</InterfaceMACLimit>
                      <MACStatistics>false</MACStatistics>
                      <MACTableSize>5120</MACTableSize>
                      <OuterTPID>None</OuterTPID>
                      <UnitId>2</UnitId>
                   </ServiceEndpointConfiguration>
                   <ServiceTemplates />
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceEndPointGroup>
                <DeviceInfo>
                   <NA key="688131" uri="/api/space/nsas/device-roles/pe-devices/688131" href="/api/space/nsas/device-roles/pe-devices/688131">
                      <DeviceName>960R1_EN_Alok_re</DeviceName>
                      <DeviceID>688131</DeviceID>
                   </NA>
                </DeviceInfo>
                <ServiceEndPoint>
                   <InterfaceName>ge-0/0/8</InterfaceName>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
                      <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                      <EthernetOption>dot1q</EthernetOption>
                      <UNIDescription>N/A</UNIDescription>
                      <VlanId>2</VlanId>
                      <MTU>1522</MTU>
                      <Bandwidth unit="Mbps">10</Bandwidth>
                      <MACLearning>true</MACLearning>
                      <InterfaceMACLimit>1024</InterfaceMACLimit>
                      <MACStatistics>false</MACStatistics>
                      <MACTableSize>5120</MACTableSize>
                      <OuterTPID>None</OuterTPID>
                      <UnitId>2</UnitId>
                   </ServiceEndpointConfiguration>
                   <ServiceTemplates />
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
                <TrafficType>Transport single vlan</TrafficType>
                <RouteTarget>100:11</RouteTarget>
                <VLANNormalization>Not Normalized</VLANNormalization>
                <RouteDistinguisher>36000:2</RouteDistinguisher>
                <MTUFactor>10</MTUFactor>
             </ServiceOrderParameter>
             <Reference>
                <Customer uri="/api/space/nsas/customer-management/customers/688213" href="/api/space/nsas/customer-management/customers/688213" key="688213">
                   <CustomerName>Juniper01</CustomerName>
                </Customer>
                <ServiceDefinition>
                   <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/426008" href="/api/space/nsas/elan-vpls/service-management/service-definitions/426008" key="426008">
                      <ServiceDefinitionName>ELAN-BGP-Dot1Q-SingleVLAN</ServiceDefinitionName>
                   </ServiceDefinitionID>
                </ServiceDefinition>
                <Service uri="/api/space/nsas/elan-vpls/service-management/services/426216" href="/api/space/nsas/elan-vpls/service-management/services/426216" key="426216" />
             </Reference>
          </ServiceOrder>
       </ServiceResource>
    </Data>
    

    Get CFM Profiles with Attached SLA Profile and Action Profile

    This request is used to retrieve all the CFM profile details together with SLA profiles and action profiles.

    New Parameters

    "ActionProfile
    Name
    SLAProfileDetails
    SLAProfile
    Name
    DataTlvSize
    IterationCount
    Priority"

    Description of the Changes

    If the CFM profile has Action Profile/SLA profile associated, the tags ActionProfile, and SLAProfileDetails under RemoteMEPSettings/IteratorProfileSettings show the assoociated pofile details

    URI

    /api/space/nsas/cfm-profiles/service-management/service-
    definitions/163861?_dc=1449054951793

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.service-definition+xml

    Produces

    Retrieves all the CFM profile details together with SLA profiles and action profiles.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <OAMDesign>
             <OAMProfile key="163861" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/163861" 
    href="/api/space/nsas/cfm-profiles/service-management/service-definitions/163861">
                <Common>
                   <Name>CFMProfile</Name>
                   <Identity>163861</Identity>
                   <State>Published</State>
                   <CreatedDate>2015-12-02T04:45:53.000+05:30</CreatedDate>
                   <LastUpdatedDate>2015-12-02T04:45:53.000+05:30</LastUpdatedDate>
                   <CreatedBy>super</CreatedBy>
                </Common>
                <CFMDomain>
                   <DomainName>JNPR</DomainName>
                   <DomainLevel>1</DomainLevel>
                   <RemoteMEP>true</RemoteMEP>
                   <DefinitionType>MEP</DefinitionType>
                </CFMDomain>
                <CCSettings>
                   <HoldInterval Editable="false">1</HoldInterval>
                   <MessageInterval Editable="false">1s</MessageInterval>
                   <LossThreshold Editable="false">3</LossThreshold>
                   <InterfaceStatus Editable="false">false</InterfaceStatus>
                   <PortStatusTLV Editable="false">false</PortStatusTLV>
                   <ProtectionOuiTLV Editable="false">false</ProtectionOuiTLV>
                </CCSettings>
                <MEPSettings>
                   <MEPId>Select manually</MEPId>
                   <Direction Editable="false">Up</Direction>
                   <Priority Editable="false">0</Priority>
                   <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP>
                </MEPSettings>
                <RemoteMEPSettings>
                   <IteratorProfileSettings>
                      <ActionProfile key="65536" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536" 
    href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536">
                         <Name>StdDef-ActionProfile</Name>
                      </ActionProfile>
                      <SLAProfileDetails>
                         <SLAProfile key="98315" uri="/api/space/nsas/sla-iteratorprofiles/service-management/service-definitions/98315"
     href="/api/space/nsas/sla-iteratorprofiles/service-management/service-definitions/98315">
                            <Name>StdDef-SFL</Name>
                         </SLAProfile>
                         <DataTlvSize>0</DataTlvSize>
                         <IterationCount>0</IterationCount>
                         <Priority>0</Priority>
                      </SLAProfileDetails>
                   </IteratorProfileSettings>
                </RemoteMEPSettings>
             </OAMProfile>
          </OAMDesign>
       </ServiceResource>
    </Data>

    Get TA Device Details by Device Name

    This request is used to retrieve all the details of a particular TA device.

    New Parameters

    "DeviceType
    Version (String)
    Platform (String)
    Connection (String)"

    Description of the Changes

    URI

    /api/space/nsas/prestage-ta-device/manage-devices/devices/by-
    device-name/{peDeviceName}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.manage-devices.ta-
    device-by-name+xml

    Produces

    Retrieves a specific TA device configuration.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <Devices>
          <Device key="1409114" uri="/api/space/nsas/prestage-ta-device/manage-devices/devices/1409114" href="/api/space/nsas/prestage-ta-device/manage-devices/devices/1409114">
             <Common>
                <Name>junos-mx480-space</Name>
                <Identity>1409114</Identity>
             </Common>
             <LoopBackAddress>30.1.2.6</LoopBackAddress>
             <Admins />
             <Ports>
                <Port>
                   <Name>gr-0/0/0</Name>
                   <Id>1409115</Id>
                </Port>
             </Ports>
             <IPAddress>10.216.114.100</IPAddress>
             <Version>14.1X50-D130</Version>
             <Platform>MX480</Platform>
             <Connection>up</Connection>
          </Device>
       </Devices>
    </Data>
    

    Get an NNI Interface Details by Device Name

    This request is used to retrieve the details of a particular network-to-network (NNI) or egress interface.

    New Parameters

    "PortsType size
    (Integer)"

    Description of the Changes

    This API is used to get all NNI details by device name.

    URI

    /api/space/nsas/prestage-ta-device/manage-devices/devices/nni/{peDeviceName}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.manage-devices.ta-device-nni+xml

    Produces

    Retrieves all NNI details by device name.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <Devices>
          <Device>
             <Ports size="16">
                <Port>
                   <Name>ge-0/0/0</Name>
                   <Id>1441885</Id>
                </Port>
                <Port>
                   <Name>ge-0/0/1</Name>
                   <Id>1441886</Id>
                </Port>
             </Ports>
          </Device>
       </Devices>
    </Data>

    New REST APIs in Connectivity Services Director

    This section describes the REST APIs that are newly introduced in Connectivity Services Director.

    Create an LSP Service Order

    This request is used to create an LSP service order.

    New Parameters

    "RSVPLSPConfigOrderParameterType

    SetupPriority (Integer)

    HoldPriority (Integer)

    ClassOfService (Integer) "

    Description of the Changes

    The three new parameters are sent in request payload to configure them at root LSP level. In Services Activation Director, you could configure these parameters at Primary and Secondary LSP paths only. In the old version of API, these parameters are not used and therefore, they are not sent in the request payload). A value of -1 indicates that parameter must be deleted from the service order

    URI

    /api/space/nsas/rsvp-lsp/service-management/
    service-orders)

    HTTP Method

    POST

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-order-status+xml;version=2

    Content Type

    application/vnd.net.juniper.space.service-management
    .service-order+xml;version=2;charset=UTF-8

    Produces

    Creates an LSP service order.

    Mandatory Parameters

    "<?xml version=""1.0"" encoding=""UTF-8""?>
    <Data xmlns=""services.schema.networkapi.jmp.juniper.net"">
      <ServiceResource>
        <ServiceDefinition>
          <Common>
            <Name>p2p32</Name>
          </Common>
          <ServiceType>RSVP</ServiceType>
          <ServiceElementConfigurationDefinition xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPServiceEndpointGroupParameterDefType""/>
          <ServiceEndPointConfigurationDefinition xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""PTPEndPointParameterDefType""/>
          <TransportActivate xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPType"">
            <Topology>P2P</Topology>
            <PathSelectionType>CSPF</PathSelectionType>
            <LSPProtectionType Editable=""true"">Path Protection</LSPProtectionType>
            <Advanced>
              <HopLimit Editable=""true"">255</HopLimit>
              <ClassofService Editable=""true"">0</ClassofService>
              <Bandwidth Editable=""true"">222</Bandwidth>
              <HoldPriority Editable=""true"">0</HoldPriority>
              <SetupPriority Editable=""true"">7</SetupPriority>
              <RetryLimit Editable=""true"">2</RetryLimit>
              <RetryTimer Editable=""true"">22</RetryTimer>
              <FastReroute Editable=""true"">true</FastReroute>
              <LDPTunneling Editable=""true"">true</LDPTunneling>
              <Standby Editable=""true"">false</Standby>
              <Adaptive Editable=""true"">false</Adaptive>
            </Advanced>
            <Autobandwidth>
              <AutoBWidth Editable=""true"">false</AutoBWidth>
            </Autobandwidth>
            <BFD>
              <BFDdetection>Primary Path</BFDdetection>
              <MinimumInterval Editable=""true"">300</MinimumInterval>
              <MiniRecieveInterval Editable=""true"">50</MiniRecieveInterval>
              <Multiplier Editable=""true"">3</Multiplier>
              <TransmitMinInterval Editable=""true"">50</TransmitMinInterval>
              <TransmitThreshold Editable=""true""/>
              <DetectionThreshold Editable=""true""/>
              <NoAdaption Editable=""true"">false</NoAdaption>
              <FailureAction Editable=""true"">Teardown</FailureAction>
            </BFD>
          </TransportActivate>
        </ServiceDefinition>
        <ServiceOrder>
          <Common>
            <Name>p2p32</Name>
          </Common>
          <LSPPattern key=""196902""/>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <TA>
                <Source>
                  <DeviceName>960R1_EN_Alok_re</DeviceName>
                  <DeviceID>65565</DeviceID>
                </Source>
                <Destination>
                  <DeviceName>960R2_EN_Alok_re</DeviceName>
                  <DeviceID>65540</DeviceID>
                </Destination>
              </TA>
            </DeviceInfo>
            <ServiceEndPoint>
              <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDEndPointParameterOrderType"">
                <PrimaryPath>
                  <PathName>My1</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>222</Bandwidth>
                  <Paths>
                    <Path>
                      <PathName>My1</PathName>
                      <IPAddress>40.1.3.2</IPAddress>
                      <Connection>Strict</Connection>
                    </Path>
                    <Path>
                      <PathName>My1</PathName>
                      <IPAddress>40.3.4.1</IPAddress>
                      <Connection>Strict</Connection>
                    </Path>
                  </Paths>
                </PrimaryPath>
                <SecondaryPath>
                  <PathName>My2</PathName>
                  <SetupPriority>7</SetupPriority>
                  <Adaptive>Disabled</Adaptive>
                  <HoldPriority>0</HoldPriority>
                  <ClassOfService>0</ClassOfService>
                  <HopLimit>255</HopLimit>
                  <Bandwidth>222</Bandwidth>
                  <StandBy>undefined</StandBy>
                  <Paths>
                    <Path>
                      <PathName>My2</PathName>
                      <IPAddress>40.1.2.2</IPAddress>
                      <Connection>Loose</Connection>
                    </Path>
                    <Path>
                      <PathName>My2</PathName>
                      <IPAddress>40.2.4.2</IPAddress>
                      <Connection>Loose</Connection>
                    </Path>
                  </Paths>
                </SecondaryPath>
              </ServiceEndpointConfiguration>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceOrderParameter xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDConfigParameterOrderType"">
            <ClassOfService>0</ClassOfService>
            <HopLimit>255</HopLimit>
            <HoldPriority>0</HoldPriority>
            <SetupPriority>7</SetupPriority>
            <StandBy>false</StandBy>
            <Adaptive>Disabled</Adaptive>
            <RetryLimit>2</RetryLimit>
            <RetryTimer>22</RetryTimer>
            <BandWidth>222</BandWidth>
            <LDPTunneling>Enabled</LDPTunneling>
            <ProtectionSetting>
              <LSPProtectionType>Path Protection</LSPProtectionType>
              <EnableFR>Enabled</EnableFR>
            </ProtectionSetting>
            <BFD>
              <BFDdetection>Primary Path</BFDdetection>
              <MinInterval>300</MinInterval>
              <MinReceiveInterval>50</MinReceiveInterval>
              <Multiplier>3</Multiplier>
              <NoAdaption>false</NoAdaption>
              <TransmitMinInterval>50</TransmitMinInterval>
              <FailureAction>Teardown</FailureAction>
            </BFD>
          </ServiceOrderParameter>
        </ServiceOrder>
      </ServiceResource>
      <CustomAction xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""ServiceOrderCustomActionType"">
        <Action>SaveAndValidate</Action>
      </CustomAction>
    </Data>
    "
    

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <ServiceResource>
          <ServiceDefinition>
             <Common>
                <Name>p2p32</Name>
             </Common>
             <ServiceType>RSVP</ServiceType>
             <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType" />
             <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType" />
             <TransportActivate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPType">
                <Topology>P2P</Topology>
                <PathSelectionType>CSPF</PathSelectionType>
                <LSPProtectionType Editable="true">Path Protection</LSPProtectionType>
                <Advanced>
                   <HopLimit Editable="true">255</HopLimit>
                   <ClassofService Editable="true">0</ClassofService>
                   <Bandwidth Editable="true">222</Bandwidth>
                   <HoldPriority Editable="true">0</HoldPriority>
                   <SetupPriority Editable="true">7</SetupPriority>
                   <RetryLimit Editable="true">2</RetryLimit>
                   <RetryTimer Editable="true">22</RetryTimer>
                   <FastReroute Editable="true">true</FastReroute>
                   <LDPTunneling Editable="true">true</LDPTunneling>
                   <Standby Editable="true">false</Standby>
                   <Adaptive Editable="true">false</Adaptive>
                </Advanced>
                <Autobandwidth>
                   <AutoBWidth Editable="true">false</AutoBWidth>
                </Autobandwidth>
                <BFD>
                   <BFDdetection>Primary Path</BFDdetection>
                   <MinimumInterval Editable="true">300</MinimumInterval>
                   <MiniRecieveInterval Editable="true">50</MiniRecieveInterval>
                   <Multiplier Editable="true">3</Multiplier>
                   <TransmitMinInterval Editable="true">50</TransmitMinInterval>
                   <TransmitThreshold Editable="true" />
                   <DetectionThreshold Editable="true" />
                   <NoAdaption Editable="true">false</NoAdaption>
                   <FailureAction Editable="true">Teardown</FailureAction>
                </BFD>
             </TransportActivate>
          </ServiceDefinition>
          <ServiceOrder>
             <Common>
                <Name>p2p32</Name>
             </Common>
             <LSPPattern key="196902" />
             <ServiceEndPointGroup>
                <DeviceInfo>
                   <TA>
                      <Source>
                         <DeviceName>960R1_EN_Alok_re</DeviceName>
                         <DeviceID>65565</DeviceID>
                      </Source>
                      <Destination>
                         <DeviceName>960R2_EN_Alok_re</DeviceName>
                         <DeviceID>65540</DeviceID>
                      </Destination>
                   </TA>
                </DeviceInfo>
                <ServiceEndPoint>
                   <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
                      <PrimaryPath>
                         <PathName>My1</PathName>
                         <SetupPriority>7</SetupPriority>
                         <Adaptive>Disabled</Adaptive>
                         <HoldPriority>0</HoldPriority>
                         <ClassOfService>0</ClassOfService>
                         <HopLimit>255</HopLimit>
                         <Bandwidth>222</Bandwidth>
                         <Paths>
                            <Path>
                               <PathName>My1</PathName>
                               <IPAddress>40.1.3.2</IPAddress>
                               <Connection>Strict</Connection>
                            </Path>
                            <Path>
                               <PathName>My1</PathName>
                               <IPAddress>40.3.4.1</IPAddress>
                               <Connection>Strict</Connection>
                            </Path>
                         </Paths>
                      </PrimaryPath>
                      <SecondaryPath>
                         <PathName>My2</PathName>
                         <SetupPriority>7</SetupPriority>
                         <Adaptive>Disabled</Adaptive>
                         <HoldPriority>0</HoldPriority>
                         <ClassOfService>0</ClassOfService>
                         <HopLimit>255</HopLimit>
                         <Bandwidth>222</Bandwidth>
                         <StandBy>undefined</StandBy>
                         <Paths>
                            <Path>
                               <PathName>My2</PathName>
                               <IPAddress>40.1.2.2</IPAddress>
                               <Connection>Loose</Connection>
                            </Path>
                            <Path>
                               <PathName>My2</PathName>
                               <IPAddress>40.2.4.2</IPAddress>
                               <Connection>Loose</Connection>
                            </Path>
                         </Paths>
                      </SecondaryPath>
                   </ServiceEndpointConfiguration>
                </ServiceEndPoint>
             </ServiceEndPointGroup>
             <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDConfigParameterOrderType">
                <ClassOfService>0</ClassOfService>
                <HopLimit>255</HopLimit>
                <HoldPriority>0</HoldPriority>
                <SetupPriority>7</SetupPriority>
                <StandBy>false</StandBy>
                <Adaptive>Disabled</Adaptive>
                <RetryLimit>2</RetryLimit>
                <RetryTimer>22</RetryTimer>
                <BandWidth>222</BandWidth>
                <LDPTunneling>Enabled</LDPTunneling>
                <ProtectionSetting>
                   <LSPProtectionType>Path Protection</LSPProtectionType>
                   <EnableFR>Enabled</EnableFR>
                </ProtectionSetting>
                <BFD>
                   <BFDdetection>Primary Path</BFDdetection>
                   <MinInterval>300</MinInterval>
                   <MinReceiveInterval>50</MinReceiveInterval>
                   <Multiplier>3</Multiplier>
                   <NoAdaption>false</NoAdaption>
                   <TransmitMinInterval>50</TransmitMinInterval>
                   <FailureAction>Teardown</FailureAction>
                </BFD>
             </ServiceOrderParameter>
          </ServiceOrder>
       </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
          <Action>SaveAndValidate</Action>
       </CustomAction>
    </Data>

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <Status>
          <Identity>
             <Type>ServiceOrder</Type>
             <Value>262206</Value>
          </Identity>
          <Job>
             <ID>753685</ID>
             <Status>INPROGRESS</Status>
          </Job>
          <Code>200</Code>
          <Message>The Service Order Created Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
       </Status>
    </Data>

    Get All Resource Pools Available in Junos Space

    This request is used to retrieve the configured resource pool details.

    New Parameters

    "DataType
    ResourcePools (ResourcePoolsType)"

    Description of the Changes

    This request retrieves all the resource pools available in Junos Space.

    URI

    api/space/nsas/resource-utilization/resource-pools

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.resource-pools+xml

    Produces

    Collects all the resource pool details available in Junos Space.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ResourcePools size="200">
    		<ResourcePool>
    			<PoolName>global-vcid-pool</PoolName>
    			<PoolID>1</PoolID>
    			<PoolType>Virtual Circuit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Global pool of VC-Ids</PoolDescription>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>IPV4 Resource Pool:10.0.77.0/24</PoolName>
    			<PoolID>4</PoolID>
    			<PoolType>IPV4 Address</PoolType>
    			<SubType>Global</SubType>
    			<PoolDescription>Pool of IPV4 Addresses:10.0.77.0/24, (10.0.77.0/24)</PoolDescription>
    			<ManagingElement>Global Pool</ManagingElement>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>IPV4 Resource Pool:10.0.88.0/24</PoolName>
    			<PoolID>7</PoolID>
    			<PoolType>IPV4 Address</PoolType>
    			<SubType>Global</SubType>
    			<PoolDescription>Pool of IPV4 Addresses:10.0.88.0/24, (10.0.88.0/24)</PoolDescription>
    			<ManagingElement>Global Pool</ManagingElement>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>IPV4 Resource Pool:10.0.99.0/24</PoolName>
    			<PoolID>10</PoolID>
    			<PoolType>IPV4 Address</PoolType>
    			<SubType>Global</SubType>
    			<PoolDescription>Pool of IPV4 Addresses:10.0.99.0/24, (10.0.99.0/24)</PoolDescription>
    			<ManagingElement>Global Pool</ManagingElement>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>AsRTPool50</PoolName>
    			<PoolID>32770</PoolID>
    			<PoolType>Route Target</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>RT Pool for AS50</PoolDescription>
    			<PoolSize>-</PoolSize>
    			<Allocations size="6"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>AsRDPool50</PoolName>
    			<PoolID>32772</PoolID>
    			<PoolType>Route Distinguisher</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>RD Pool for AS50</PoolDescription>
    			<PoolSize>-</PoolSize>
    			<Allocations size="29"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/3</PoolName>
    			<PoolID>33356</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/3 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/3</PoolName>
    			<PoolID>33360</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/3 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/4</PoolName>
    			<PoolID>33364</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/4 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/4</PoolName>
    			<PoolID>33368</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/4 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/5</PoolName>
    			<PoolID>33372</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/5 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/5</PoolName>
    			<PoolID>33376</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/5 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/6</PoolName>
    			<PoolID>33380</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/6 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/6</PoolName>
    			<PoolID>33384</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/6 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/7</PoolName>
    			<PoolID>33388</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/7 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/7</PoolName>
    			<PoolID>33392</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/7 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/8</PoolName>
    			<PoolID>33396</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/8 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/8</PoolName>
    			<PoolID>33400</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/8 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/9</PoolName>
    			<PoolID>33404</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/9 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/9</PoolName>
    			<PoolID>33408</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/9 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:lt-0/0/10</PoolName>
    			<PoolID>33412</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : lt-0/0/10 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:lt-0/0/10</PoolName>
    			<PoolID>33416</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : lt-0/0/10 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/1/0</PoolName>
    			<PoolID>33420</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/1/0 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/1/0</PoolName>
    			<PoolID>33424</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/1/0 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/1/1</PoolName>
    			<PoolID>33428</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/1/1 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    	</ResourcePools>
    </Data>

    Get Allocated Resources for a Pool By Pool ID

    This request is used to retrieve all the allocated resources for a particular pool.

    New Parameters

    "DataType
    ResourcePools (ResourcePoolsType)"

    Description of the Changes

    This request fetches allocated resources for the pool requested. For UNIT and VLAN, if the resources are allocated from this Space, the Service details to which the resource is allocated is also displayed.

    URI

    api/space/nsas/resource-utilization/resource-pools
    /pool-id

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.resource-pools+xml

    Produces

    Collects all the allocated resources for a particular pool.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ResourcePools>
    		<ResourcePool>
    			<PoolName>Unit:ARUN2re:ge-0/0/4</PoolName>
    			<PoolID>33482</PoolID>
    			<PoolType>Unit</PoolType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/4 : ON Device Id : ARUN2re</PoolDescription>
    			<ManagingElement>Device (ARUN2re)</ManagingElement>
    			<Allocations size="1">
    				<Allocated>
    					<Value>78</Value>
    					<METype>Interface</METype>
    					<Description>Allocated([Service : HSRDTEST, Interface : ge-0/0/4.78])</Description>
    				</Allocated>
    			</Allocations>
    		</ResourcePool>
    	</ResourcePools>
    </Data>

    Get Job Details By Job ID

    This request is used to obtain the details of a specific job, based on its unique identifier.

    New Parameters

    "getJobDetailsForRequest”

    Description of the Changes

    This API is to display the job details as a device view. Previously, the job summary was shown when you double-clicked the link in a job ID. With this new REST API call, job details are filtered on the basis of each device.

    HTTP Method

    GET

    GET

    /api/space/nsas/elan-vpls/service-
    management/service-orders/jobId

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-orders+json;version=2

    Produces

    Retrieves the details of a particular job.

    Mandatory Parameters

    jobID

    Output

    Sample JSONOutput

    {
       "Data": {
          "JobDetailsType": {
             "jobDetailType": [
                {
                   "nodeName": "960R1_EN_Alok_re",
                   "statusMessage": "Endpoint cannot be provisoned since validation failed for other devices.",
                   "jobStatus": "INVALID",
                   "serviceName": "Test2Devices"
                },
                {
                   "nodeName": "960R2_EN_Alok_re",
                   "statusMessage": "Validation Error on Device:<b>[960R2_EN_Alok_re]<\/b>
    \n{Interface ge-0/0/4 has existing encapsulation <br>
    flexible-ethernet-services <br>new illegal encapsulation <br>
    ethernet-vpls= , Physical Encap flexible-ethernet-services 
    cannot be overridden by ethernet-vpls= ,
     Cannot change interface encapsulation <br> 
    <br>flexible-ethernet-services <br>to ethernet-vpls= }\n",
                   "jobStatus": "INVALID",
                   "serviceName": "Test2Devices"
                }
             ]
          }
       }
    }

    Get All Basic Services

    This request is used to retrieve details of all the configured basic services..

    New Parameters

    api/space/nsas/basic-services

    Description of the Changes

    This API call is used to retrieve all the services.

    URI

    api/space/nsas/basic-services

    HTTP Method

    GET

    Consumes

    application/vnd.juniper.api.space.nsas.basic-
    services+xml;version=2

    Content Type

    application/vnd.juniper.api.space.nsas.basic-
    services+json;version=2

    Produces

    Retrieves all the basic services.

    Output

    Sample XML Output

    <basic-services total=""Integer"" uri=""/api/space/nsas/basic-services"">
         <basic-service href=""/api/space/nsas/basic-services/{service-id}"" uri=""/api/space/nsas/basic-services/{service-id}"">
               <customer-name>String</customer-name>
               <fault-status>String</fault-status>
               <definition>String</definition>
               <status>String</status>
               <state>String</state>
               <ext-ref>String</ext-ref>
               <monitoring-id>String</monitoring-id>
               <type-of-request>String</type-of-request>
               <topo-type>POINT2POINT</topo-type>
               <_policy-name>String</_policy-name>
               <description>String</description>
               <overall-status>String</overall-status>
               <service-id>Integer</service-id>
               <signaling>String</signaling>
               <activation-date>String</activation-date>
               <service-type>String</service-type>
               <sla-status>String</sla-status>
               <customer-id>String</customer-id>
               <name>String</name>
               <last-modified-date>String</last-modified-date>
               <definition-id>String</definition-id>
               <pm-status>String</pm-status>
         </basic-service>
    </basic-services>

    Perform an MPLS Ping for Point-to-Point-, L3VPN, and VPLS Services

    This request is used to perform an MPLS ping operation for point-to-point, Layer 3 VPN, and VPLS services.

    New Parameters

    /api/space/nsas/perform-mpls-ping

    Description of the Changes

    This API is used to perform an MPLS ping process.

    URI

    /api/space/nsas/perform-mpls-ping

    HTTP Method

    POST

    Consumes

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    response+xml;version=2

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    response+json;version=2"

    Content Type

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    request+xml;version=2;charset=UTF-8

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    request+json;version=2;charset=UTF-8

    Produces

    Performs an MPLS ping operation for point-to-point, Layer 3 VPN, and VPLS services.

    Input

    Sample XML Input

    <perform-mpls-ping-request>
         <reply-format>String</reply-format>
         <forwarding-class>Integer</forwarding-class>
         <ping-size>Integer</ping-size>
         <reply-mode>String</reply-mode>
         <destination-device-name>String</destination-device-name>
         <ping-count>Integer</ping-count>
         <src-device-name>String</src-device-name>
         <sweep>Boolean</sweep>
         <service-name>String</service-name>
    </perform-mpls-ping-request>
    

    Output

    Sample XML Output

    <perform-mpls-ping-response uri=""/api/space/nsas/perform-mpls-ping"">
         <error-message>String</error-message>
         <reply-format>String</reply-format>
         <domain-id>Integer</domain-id>
         <reply-status>OK</reply-status>
         <domain-name>String</domain-name>
         <service-type>String</service-type>
         <ping-reply>String</ping-reply>
         <service-name>String</service-name>
    </perform-mpls-ping-response>"
    

    Perform an MPLS Ping for LSPs

    This request is used to perform an MPLS ping operation for LSPs.

    New Parameters

    /api/space/nsas/tunnels/perform-mpls-ping

    Description of the Changes

    This API is used to perform an MPLS ping process.

    URI

    /api/space/nsas/tunnels/perform-mpls-ping

    HTTP Method

    POST

    Consumes

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    response+xml;version=2

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    response+json;version=2"

    Content Type

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    request+xml;version=2;charset=UTF-8

    application/vnd.juniper.api.space.nsas.perform-mpls-ping-
    request+json;version=2;charset=UTF-8

    Produces

    Performs an MPLS ping operation for LSPs.

    Input

    Sample XML Input

    <perform-mpls-ping-request>
         <reply-format>String</reply-format>
         <forwarding-class>Integer</forwarding-class>
         <ping-size>Integer</ping-size>
         <reply-mode>String</reply-mode>
         <destination-device-name>String</destination-device-name>
         <ping-count>Integer</ping-count>
         <src-device-name>String</src-device-name>
         <sweep>Boolean</sweep>
         <service-name>String</service-name>
    </perform-mpls-ping-request>
    

    Output

    Sample XML Output

    <perform-mpls-ping-response uri=""/api/space/nsas/tunnels/perform-mpls-ping"">
         <error-message>String</error-message>
         <reply-format>String</reply-format>
         <domain-id>Integer</domain-id>
         <reply-status>OK</reply-status>
         <domain-name>String</domain-name>
         <service-type>String</service-type>
         <ping-reply>String</ping-reply>
         <service-name>String</service-name>
    </perform-mpls-ping-response>"
    

    Get All Prestaged Devices

    This request is used to retrieve a list of prestaged devices.

    New Parameters

    api/space/nsas/pre-stage-devices

    Description of the Changes

    This API is used to retrieve a list of prestaged devices.

    URI

    api/space/nsas/pre-stage-devices

    HTTP Method

    GET

    Consumes

    application/vnd.juniper.api.space.nsas.pre-stage-
    devices+xml;version=2

    application/vnd.juniper.api.space.nsas.pre-stage-
    devices+json;version=2

    Produces

    Retrieves a list of prestaged devices.

    Output

    Sample XML Output

    <pre-stage-devices total=""Integer"" uri=""/api/space/nsas/pre-stage-devices"">
         <pre-stage-device href=""/api/space/nsas/pre-stage-devices/{id}"" uri=""/api/space/nsas/pre-stage-devices/{id}"">
               <ser-role>L3_READY</ser-role>
               <loopback-interface-ip-address>String</loopback-interface-ip-address>
               <device-family>String</device-family>
               <management-ip-address>String</management-ip-address>
               <id>Integer</id>
               <device-name>String</device-name>
               <role>N_PE</role>
               <me-id>Integer</me-id>
               <loopback-interface-name>String</loopback-interface-name>
         </pre-stage-device>
    </pre-stage-devices>"
    

    Unassign Roles of Devices

    This request is used to unassign the role of devices passed as a parameter. Multiple device IDs are concatenated with a | (pipe) character.

    New Parameters

    api/space/nsas//pe-unassign-role?data=<deviceids>

    Description of the Changes

    This API is used to unassign the role of a specific device.

    URI

    api/space/nsas//pe-unassign-role?data=<deviceids>

    HTTP Method

    POST

    Consumes

    application/vnd.juniper.api.space.nsas.pe-unassign-
    roles+xml;version=2

    application/vnd.juniper.api.space.nsas.pe-unassign-
    roles+json;version=2"

    Produces

    Unassigns the roles of devices.

    Output

    Sample XML Output

    "
    <pe-unassign-roles total=""Integer"" uri=""/api/space/nsas/pe-unassign-role"">
         <prestage-unassign-role-status>
               <message>String</message>
               <device-name>String</device-name>
               <ret-val>String</ret-val>
               <device-id>String</device-id>
         </prestage-unassign-role-status>
    </pe-unassign-roles>"
    

    Clear Interface Statistics

    This request is used to clear the statistical information collected for the interfaces.

    New Parameters

    api/space/nsas/clear-interface-statistics

    Description of the Changes

    This API clears interface statistics of an interface.

    URI

    api/space/nsas/clear-interface-statistics

    HTTP Method

    POST

    Consumes

    application/vnd.juniper.api.space.nsas.clear-interface-
    statistics-response+xml;version=2
    application/vnd.juniper.api.space.nsas.clear-interface-statistics-
    response+json;version=2

    Content Type

    application/vnd.juniper.api.space.nsas.clear-interface-
    statistics-request+xml;version=2;charset=UTF-8

    application/vnd.juniper.api.space.nsas.clear-interface-
    statistics-request+json;version=2;charset=UTF-8

    Produces

    Clears the statistics of interfaces.

    Input

    Sample XML Input

    <clear-interface-statistics-request>
         <reply-format>String</reply-format>
         <clear-device>Boolean</clear-device>
         <device-details>
               <device-details>
                   <device-name>String</device-name>
                   <interfaces total=""Integer"">
                         <interface>String</interface>
                   </interfaces>
                   <device-id>String</device-id>
               </device-details>
         </device-details>
         <service-name>String</service-name>
    </clear-interface-statistics-request>
    

    Output

    Sample XML Output

    <clear-interface-statistics-response uri=""/api/space/nsas/clear-interface-statistics"">
         <error-message>String</error-message>
         <reply-format>String</reply-format>
         <interface-name>String</interface-name>
         <domain-id>Integer</domain-id>
         <reply-status>OK</reply-status>
         <domain-name>String</domain-name>
         <service-type>String</service-type>
         <service-name>String</service-name>
    </clear-interface-statistics-response>"
    

    Delete a Service in Deployment Pending Status by Service ID

    This request is used to delete a particular service in deployment-pending status.

    New Parameters

    For P2P: /api/space/nsas/eline-ptp/service-
    management/services/deploymentpending/{service-id}

    For L3VPN: /api/space/nsas/l3vpn/service-
    management/service-orders/{service-id}

    For VPLS: /api/space/nsas/elan-vpls/service-
    management/service-orders/{service-id}

    For LSP: /api/space/nsas/rsvp-lsp/service-
    management/service-orders/{service-id}

    Description of the Changes

    This API is used to delete a particular service in deployment-pending status

    URI

    For P2P: /api/space/nsas/eline-ptp/service-
    management/services/deploymentpending/{service-id}

    For L3VPN: /api/space/nsas/l3vpn/service-
    management/service-orders/{service-id}

    For VPLS: /api/space/nsas/elan-vpls/service-
    management/service-orders/{service-id}

    For LSP: /api/space/nsas/rsvp-lsp/service-
    management/service-orders/{service-id}

    HTTP Method

    DELETE

    Consumes

    application/vnd.net.juniper.space.service-management.
    services+xml

    Produces

    Deletes a particular service in deployment-pending status.

    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>3703360</Value>
          </Identity>
          <Code>200</Code>
          <Message>Successfully deleted deploymentpending service and orders</Message>
       </Status>
    </Data>

    Modified: 2016-05-27