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

    VPLS Service Orders Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Virtual Private LAN Service (VPLS) Service Orders Management RESTful Web Services.

    Get All ELAN VPLS BGP Service Orders

    This request is used to retrieve all the configured Layer 2 Ethernet LAN (ELAN) BGP service orders.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured ELAN VPLS BGP service orders.

    Output

    Sample XML Output

    <Data>
    	<ServiceResource size="5">
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/2883702"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/2883702"
    			key="2883702">
    			<Common>
    				<Name>testvplsHSMultihomeAssy</Name>
    				<Identity>2883702</Identity>
    				<State>Invalid</State>
    				<Comments> </Comments>
    				<CreatedDate>2012-10-23T09:23:05.000Z</CreatedDate>
    				<LastUpdatedDate>2012-10-23T09:23:05.000Z</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<Action>Provisioning</Action>
    			<Reference>
    				<Customer key="2556283"
    					href="/api/space/nsas/customer-management/customers/2556283" uri="/api/space/nsas/customer-management/customers/2556283" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2883670"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/2883670"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2883670" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/2425138"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/2425138"
    			key="2425138">
    			<Common>
    				<Name>VPLS_HS_Decommision2012-10-23 06:03:31.223</Name>
    				<Identity>2425138</Identity>
    				<State>Completed</State>
    				<CreatedDate>2012-10-23T06:03:32.000Z</CreatedDate>
    				<LastUpdatedDate>2012-10-23T06:04:08.000Z</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<Action>Decommission</Action>
    			<Reference>
    				<Customer key="2556283"
    					href="/api/space/nsas/customer-management/customers/2556283" uri="/api/space/nsas/customer-management/customers/2556283" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2425057"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/2425057"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2425057" />
    				</ServiceDefinition>
    				<Service key="2425112"
    					href="/api/space/nsas/elan-vpls/service-management/services/2425112"
    					uri="/api/space/nsas/elan-vpls/service-management/services/2425112" />
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/2425128"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/2425128"
    			key="2425128">
    			<Common>
    				<Name>VPLS_HS _audit_2012-10-23 05:53:51.588</Name>
    				<Identity>2425128</Identity>
    				<State>Completed</State>
    				<Comments>Audit  Vpls-svc1-10-23 05:53:51.588</Comments>
    				<CreatedDate>2012-10-23T05:53:51.000Z</CreatedDate>
    				<LastUpdatedDate>2012-10-23T05:53:51.000Z</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<Action>Provisioning</Action>
    			<Reference>
    				<Customer key="2556283"
    					href="/api/space/nsas/customer-management/customers/2556283" uri="/api/space/nsas/customer-management/customers/2556283" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2425057"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/2425057"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2425057" />
    				</ServiceDefinition>
    				<Service key="2425112"
    					href="/api/space/nsas/elan-vpls/service-management/services/2425112"
    					uri="/api/space/nsas/elan-vpls/service-management/services/2425112" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get All ELAN VPLS Service Orders By Customer ID or Name

    This request is used to retrieve all the configured Layer 2 Ethernet LAN (ELAN) VPLS service orders based on customer name or customer ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders
    ?customerId=1048781

    api/space/nsas/elan-vpls/service-management/service-orders
    ?customerName=Customer_001

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured ELAN VPLS BGP service orders based on the customer name or ID.

    Output

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="1">
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/3440666"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/3440666"
    			key="3440666">
    			<Common>
    				<Name>Ser3_decommission_2012-09-22 13:21:08.712</Name>
    				<Identity>3440666</Identity>
    				<State>Completed</State>
    				<Comments>Decommission Ser32012-09-22 13:21:08.712</Comments>
    				<CreatedDate>2012-09-22T13:21:08.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T13:21:26.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<Action>Decommission</Action>
    			<Reference>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/262144"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/262144" />
    				</ServiceDefinition>
    				<Service key="3112986"
    					href="/api/space/nsas/elan-vpls/service-management/services/3112986"
    					uri="/api/space/nsas/elan-vpls/service-management/services/3112986" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get All ELAN VPLS Service Orders with Pagination, Search, and Filter

    This request is used to retrieve all the configured Layer 2 Ethernet LAN (ELAN) VPLS service orders with pagination, and to filter the results based on the search criteria

    URI

    api/space/nsas/elan-vpls/service-management/service-orders
    ?sortorder=asc&sortedby=Name&filteredby="Name::decomm"

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured ELAN VPLS BGP service orders with pagination applied, and with a filtered result-set that matches the search criteria

    Note: For service orders, you can sort with “sortedby=CreatedDate” and “sortedby=State”.

    For Start and Limit attributes, you can provide integer values based on your requirement to sort and filter the API output. Sortorder can be “asc” and “desc”. The SortedBy attribute differs based on the APIs. For service orders, the SortedBy option can be “CtreatedDate”, “State”. For services, the SortedBy option can be “Name”, “LastModifiedDate”. The FilteredBy attribute differs based on the APIs. For service orders, the FilteredBy option can be “Name” and “State”. For services, the FilteredBy option can be “Name”.

    If you enter “paging=(starteq 2, limit eq 3)”, which is not a single integer value, the display is according to index of records. In this case, it shows from the first indexed record to the third indexed record. If you enter "start=2&limit=3", it starts from the second record and displays the next three records in all.

    You can specify multiple key:value pairs with the FilteredBy attribute. For example, to get service orders, you can use Get ServiceOrders with Name and State as “filteredby=Name::L3VPN@@State::Invalid”. Similarly, to get service orders, you can use with Name OR state “filteredby=Name::L3VPN!! State::Invalid”.

    Output

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="1">
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/3440666"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/3440666"
    			key="3440666">
    			<Common>
    				<Name>Ser3_decommission_2012-09-22 13:21:08.712</Name>
    				<Identity>3440666</Identity>
    				<State>Completed</State>
    				<Comments>Decommission Ser32012-09-22 13:21:08.712</Comments>
    				<CreatedDate>2012-09-22T13:21:08.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T13:21:26.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<Action>Decommission</Action>
    			<Reference>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/262144"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/262144" />
    				</ServiceDefinition>
    				<Service key="3112986"
    					href="/api/space/nsas/elan-vpls/service-management/services/3112986"
    					uri="/api/space/nsas/elan-vpls/service-management/services/3112986" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get an ELAN VPLS BGP Service Order By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) BGP service order based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

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

    Produces

    Collects the details of a specific ELAN VPLS BGP 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
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/3113001"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/3113001"
    			key="3113001">
    			<Common>
    				<Name>Ser1</Name>
    				<Identity>3113001</Identity>
    				<State>Completed</State>
    				<Comments>Ser 1</Comments>
    				<CreatedDate>2012-09-22T12:09:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:10:27.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3244038" uri="/api/space/nsas/device-roles/pe-devices/3244038"
    						key="3244038">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3244038</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>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription></UNIDescription>
    						<VlanId>241</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<MACStatistics>false</MACStatistics>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanIdStart>0</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>0</CustomerVlanIdEnd>
    					</ServiceEndpointConfiguration>
    					<Description></Description>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3244094" uri="/api/space/nsas/device-roles/pe-devices/3244094"
    						key="3244094">
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>3244094</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription></UNIDescription>
    						<VlanId>241</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<MACStatistics>false</MACStatistics>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanIdStart>0</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>0</CustomerVlanIdEnd>
    					</ServiceEndpointConfiguration>
    					<Description></Description>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144"
    						href="/api/space/nsas/service-management/service-definitions/262144"
    						uri="/api/space/nsas/service-management/service-definitions/262144" />
    				</ServiceDefinition>
    				<Service key="3113013"
    					href="/api/space/nsas/elan-vpls/service-management/services/3113013"
    					uri="/api/space/nsas/elan-vpls/service-management/services/3113013" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Sample XML Output

     <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder key="2785280" uri="/api/space/nsas/elan-vpls/service-management/service-orders/2785280" href="/api/space/nsas/elan-vpls/service-management/service-orders/2785280">
    <Common>
    <Name>VPLSSO_BGP</Name>
    <Identity>2785280</Identity>
    <State>Invalid</State>
    <CreatedDate>2014-07-22T15:43:30.000+05:30</CreatedDate>
    <LastUpdatedDate>2014-07-22T15:43:29.000+05:30</LastUpdatedDate>
    <CreatedBy>super</CreatedBy>
    </Common>
    <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    <Signaling>BGP</Signaling>
    <Action>Provisioning</Action>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525675" uri="/api/space/nsas/device-roles/pe-devices/525675" href="/api/space/nsas/device-roles/pe-devices/525675">
    <DeviceName>fortius-f2100-a</DeviceName>
    <DeviceID>525675</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/2/1</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    <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="525658" uri="/api/space/nsas/device-roles/pe-devices/525658" href="/api/space/nsas/device-roles/pe-devices/525658">
    <DeviceName>fortius-f2100-b</DeviceName>
    <DeviceID>525658</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/1/3</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    <UNIDescription>N/A</UNIDescription>
    <VlanId>1</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>1</UnitId>
    </ServiceEndpointConfiguration>
    <ServiceTemplates/>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    <TrafficType>Transport all traffic</TrafficType>
    <RouteTarget>69:1454096390</RouteTarget>
    <VLANNormalization>Not Normalized</VLANNormalization>
    </ServiceOrderParameter>
    <Reference>
    <Customer uri="/api/space/nsas/customer-management/customers/524831" href="/api/space/nsas/customer-management/customers/524831" key="524831"/>
    <ServiceDefinition>
    <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/360448" href="/api/space/nsas/elan-vpls/service-management/service-definitions/360448" key="360448"/>
    </ServiceDefinition>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>	                                                            
     
    

    Get an ELAN VPLS LDP Service Order By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) LDP service order based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS LDP 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 href="/api/space/nsas/elan-vpls/service-management/service-orders/1376378" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1376378" key="1376378">
        <Common>
        <Name>VPLS_FM_LDP</Name>
        <Identity>1376378</Identity>
        <State>Validated</State>
        <Comments>
        </Comments>
        <CreatedDate>2012-12-14T23:01:33.000+05:30</CreatedDate>
        <LastUpdatedDate>2012-12-14T23:01:33.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/721020" uri="/api/space/nsas/device-roles/pe-devices/721020" key="721020">
        <DeviceName>junos-mx80-2-space</DeviceName>
        <DeviceID>721020</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/0/9</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>2</VlanId>
        <MTU>1522</MTU>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/720976" uri="/api/space/nsas/device-roles/pe-devices/720976" key="720976">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>720976</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>2</VlanId>
        <MTU>1522</MTU>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
        <TrafficType>Transport single vlan</TrafficType>
        <RouteTarget>69:1444102145</RouteTarget>
        <VLANNormalization>Normalize All</VLANNormalization>
        <VPNId>12:2</VPNId>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="720896" href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customer-management/customers/720896"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="1376314" href="/api/space/nsas/service-management/service-definitions/1376314" uri="/api/space/nsas/service-management/service-definitions/1376314"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
     
    

    Get an ELAN VPLS LDP Service Order By Order ID (Version 2)

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) LDP service order based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS LDP 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="1015896" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1015896" href="/api/space/nsas/elan-vpls/service-management/service-orders/1015896">
          <Common>
            <Name>SampleScenarioSO</Name>
            <Identity>1015896</Identity>
            <State>Invalid</State>
            <CreatedDate>2014-07-08T18:05:54.000+05:30</CreatedDate>
            <LastUpdatedDate>2014-07-08T18:05:53.000+05:30</LastUpdatedDate>
            <CreatedBy>super</CreatedBy>
          </Common>
          <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
          <Signaling>LDP</Signaling>
          <Action>Provisioning</Action>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <NA key="1049756" uri="/api/space/nsas/device-roles/pe-devices/1049756" href="/api/space/nsas/device-roles/pe-devices/1049756">
                <DeviceName>junos-space3</DeviceName>
                <DeviceID>1049756</DeviceID>
              </NA>
            </DeviceInfo>
            <ServiceEndPoint>
              <InterfaceName>ge-0/1/6</InterfaceName>
              <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
                <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                <UNIDescription>N/A</UNIDescription>
                <VlanId>12</VlanId>
                <MTU>1522</MTU>
                <MACLearning>true</MACLearning>
                <InterfaceMACLimit>1024</InterfaceMACLimit>
                <MACStatistics>false</MACStatistics>
                <MACTableSize>5120</MACTableSize>
                <OuterTPID>None</OuterTPID>
                <UnitId>12</UnitId>
              </ServiceEndpointConfiguration>
              <ServiceTemplates/>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <NA key="1049735" uri="/api/space/nsas/device-roles/pe-devices/1049735" href="/api/space/nsas/device-roles/pe-devices/1049735">
                <DeviceName>junos-space5</DeviceName>
                <DeviceID>1049735</DeviceID>
              </NA>
            </DeviceInfo>
            <ServiceEndPoint>
              <InterfaceName>ge-0/1/5</InterfaceName>
              <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
                <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                <UNIDescription>N/A</UNIDescription>
                <VlanId>11</VlanId>
                <MTU>1522</MTU>
                <MACLearning>true</MACLearning>
                <InterfaceMACLimit>1024</InterfaceMACLimit>
                <MACStatistics>false</MACStatistics>
                <MACTableSize>5120</MACTableSize>
                <OuterTPID>None</OuterTPID>
                <UnitId>11</UnitId>
              </ServiceEndpointConfiguration>
              <ServiceTemplates/>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
            <TrafficType>Transport single vlan</TrafficType>
            <VLANNormalization>Normalize to QinQ</VLANNormalization>
            <QinQVLANOuterTag>1</QinQVLANOuterTag>
            <QinQVLANInnerTag>100</QinQVLANInnerTag>
            <VPLSId>2147467334</VPLSId>
            <AutoDiscovery>false</AutoDiscovery>
          </ServiceOrderParameter>
          <Reference>
            <Customer uri="/api/space/nsas/customer-management/customers/1048781" href="/api/space/nsas/customer-management/customers/1048781" key="1048781"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1015860" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1015860" key="1015860"/>
            </ServiceDefinition>
          </Reference>
        </ServiceOrder>
      </ServiceResource>
    </Data>
    	                                                            
     
    

    Get ELAN VPLS BGP Service Order Details with Burst Size Calculation By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) BGP service order with burst size calculation based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrder-Id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS BGP service order with burst size calculation.

    Output

    Sample XML Output

            <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="884874" uri="/api/space/nsas/elan-vpls/service-management/service-orders/884874" href="/api/space/nsas/elan-vpls/service-management/service-orders/884874">
        <Common>
        <Name>VPLS_BGP_BurstSIzeCal_SO_API</Name>
        <Identity>884874</Identity>
        <State>Validated</State>
        <Comments>hgjhjg</Comments>
        <CreatedDate>2014-09-26T18:50:37.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-09-26T18:50:37.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
        <Signaling>BGP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="558232" uri="/api/space/nsas/device-roles/pe-devices/558232" href="/api/space/nsas/device-roles/pe-devices/558232">
        <DeviceName>embassy</DeviceName>
        <DeviceID>558232</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/2</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>2</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        <CustomerVlanId>4</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>2</UnitId>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="557067" uri="/api/space/nsas/device-roles/pe-devices/557067" href="/api/space/nsas/device-roles/pe-devices/557067">
        <DeviceName>junos-mx240-space</DeviceName>
        <DeviceID>557067</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/3/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>2</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        <CustomerVlanId>4</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <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:3</RouteTarget>
        <VLANNormalization>Normalize to QinQ</VLANNormalization>
        <QinQVLANOuterTag>5</QinQVLANOuterTag>
        <QinQVLANInnerTag>5</QinQVLANInnerTag>
        <BurstPeriod>20</BurstPeriod>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/558229" href="/api/space/nsas/customer-management/customers/558229" key="558229"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/884836" href="/api/space/nsas/elan-vpls/service-management/service-definitions/884836" key="884836"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Get ELAN VPLS LDP Service Order Details with Burst Size Calculation By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) LDP service order with burst size calculation based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrder-Id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS LDP service order with burst size calculation.

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="884970" uri="/api/space/nsas/elan-vpls/service-management/service-orders/884970" href="/api/space/nsas/elan-vpls/service-management/service-orders/884970">
        <Common>
        <Name>VPLS_LDP_BurstSizeCal_SO</Name>
        <Identity>884970</Identity>
        <State>Completed</State>
        <Comments>ertert</Comments>
        <CreatedDate>2014-09-26T19:03:27.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-09-26T19:03:47.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="558232" uri="/api/space/nsas/device-roles/pe-devices/558232" href="/api/space/nsas/device-roles/pe-devices/558232">
        <DeviceName>embassy</DeviceName>
        <DeviceID>558232</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>1</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        <CustomerVlanId>4</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>1</UnitId>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="557176" uri="/api/space/nsas/device-roles/pe-devices/557176" href="/api/space/nsas/device-roles/pe-devices/557176">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>557176</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/0/4</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>1</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        <CustomerVlanId>4</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>1</UnitId>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
        <TrafficType>Transport single vlan</TrafficType>
        <VLANNormalization>Normalize to None</VLANNormalization>
        <VPLSId>2147467288</VPLSId>
        <AutoDiscovery>false</AutoDiscovery>
        <BurstPeriod>35</BurstPeriod>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/558229" href="/api/space/nsas/customer-management/customers/558229" key="558229"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/884934" href="/api/space/nsas/elan-vpls/service-management/service-definitions/884934" key="884934"/>
        </ServiceDefinition>
        <Service uri="/api/space/nsas/elan-vpls/service-management/services/884983" href="/api/space/nsas/elan-vpls/service-management/services/884983" key="884983"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    
    

    Get an ELAN VPLS LDP Service Order By Order ID

    This request is used to retrieve the details of a particular ELAN VPLS LDP service order based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

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

    Produces

    Collects the details of a specific ELAN VPLS LDP service order.

    Output (Version 1)

    Sample XML Output

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
      <ServiceResource>
        <ServiceOrder key="1015896" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1015896" href="/api/space/nsas/elan-vpls/service-management/service-orders/1015896">
          <Common>
            <Name>SampleScenarioSO</Name>
            <Identity>1015896</Identity>
            <State>Invalid</State>
            <CreatedDate>2014-07-08T18:05:54.000+05:30</CreatedDate>
            <LastUpdatedDate>2014-07-08T18:05:53.000+05:30</LastUpdatedDate>
            <CreatedBy>super</CreatedBy>
          </Common>
          <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
          <Signaling>LDP</Signaling>
          <Action>Provisioning</Action>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <NA key="1049756" uri="/api/space/nsas/device-roles/pe-devices/1049756" href="/api/space/nsas/device-roles/pe-devices/1049756">
                <DeviceName>junos-space3</DeviceName>
                <DeviceID>1049756</DeviceID>
              </NA>
            </DeviceInfo>
            <ServiceEndPoint>
              <InterfaceName>ge-0/1/6</InterfaceName>
              <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
                <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                <UNIDescription>N/A</UNIDescription>
                <VlanId>12</VlanId>
                <MTU>1522</MTU>
                <MACLearning>true</MACLearning>
                <InterfaceMACLimit>1024</InterfaceMACLimit>
                <MACStatistics>false</MACStatistics>
                <MACTableSize>5120</MACTableSize>
                <OuterTPID>None</OuterTPID>
                <UnitId>12</UnitId>
              </ServiceEndpointConfiguration>
              <ServiceTemplates/>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceEndPointGroup>
            <DeviceInfo>
              <NA key="1049735" uri="/api/space/nsas/device-roles/pe-devices/1049735" href="/api/space/nsas/device-roles/pe-devices/1049735">
                <DeviceName>junos-space5</DeviceName>
                <DeviceID>1049735</DeviceID>
              </NA>
            </DeviceInfo>
            <ServiceEndPoint>
              <InterfaceName>ge-0/1/5</InterfaceName>
              <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
                <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
                <UNIDescription>N/A</UNIDescription>
                <VlanId>11</VlanId>
                <MTU>1522</MTU>
                <MACLearning>true</MACLearning>
                <InterfaceMACLimit>1024</InterfaceMACLimit>
                <MACStatistics>false</MACStatistics>
                <MACTableSize>5120</MACTableSize>
                <OuterTPID>None</OuterTPID>
                <UnitId>11</UnitId>
              </ServiceEndpointConfiguration>
              <ServiceTemplates/>
            </ServiceEndPoint>
          </ServiceEndPointGroup>
          <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
            <TrafficType>Transport single vlan</TrafficType>
            <VLANNormalization>Normalize to QinQ</VLANNormalization>
            <QinQVLANOuterTag>1</QinQVLANOuterTag>
            <QinQVLANInnerTag>100</QinQVLANInnerTag>
            <VPLSId>2147467334</VPLSId>
            <AutoDiscovery>false</AutoDiscovery>
          </ServiceOrderParameter>
          <Reference>
            <Customer uri="/api/space/nsas/customer-management/customers/1048781" href="/api/space/nsas/customer-management/customers/1048781" key="1048781"/>
            <ServiceDefinition>
              <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1015860" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1015860" key="1015860"/>
            </ServiceDefinition>
          </Reference>
        </ServiceOrder>
      </ServiceResource>
    </Data>
    	                                                            
     
    

    Output (Version 2)

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder href="/api/space/nsas/elan-vpls/service-management/service-orders/1376378" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1376378" key="1376378">
        <Common>
        <Name>VPLS_FM_LDP</Name>
        <Identity>1376378</Identity>
        <State>Validated</State>
        <Comments>
        </Comments>
        <CreatedDate>2012-12-14T23:01:33.000+05:30</CreatedDate>
        <LastUpdatedDate>2012-12-14T23:01:33.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/721020" uri="/api/space/nsas/device-roles/pe-devices/721020" key="721020">
        <DeviceName>junos-mx80-2-space</DeviceName>
        <DeviceID>721020</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/0/9</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>2</VlanId>
        <MTU>1522</MTU>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/720976" uri="/api/space/nsas/device-roles/pe-devices/720976" key="720976">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>720976</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>2</VlanId>
        <MTU>1522</MTU>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
        <TrafficType>Transport single vlan</TrafficType>
        <RouteTarget>69:1444102145</RouteTarget>
        <VLANNormalization>Normalize All</VLANNormalization>
        <VPNId>12:2</VPNId>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="720896" href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customer-management/customers/720896"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="1376314" href="/api/space/nsas/service-management/service-definitions/1376314" uri="/api/space/nsas/service-management/service-definitions/1376314"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
     
    

    Create an ELAN VPLS BGP Service Order (Version 1)

    This request is used to create an ELAN VPLS BGP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)

    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.

    • SaveAndDeployNow (Create, Save, and Deploy a SO)

    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Creates an ELAN VPLS BGP service order.

    Input (VLAN Normalization: Normalize to QinQ tags for Full-Mesh VPLS)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>Test_VPLS_QinQ_AV_NNorm_006</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>852026</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						
    						<AutoPickVlanId>false</AutoPickVlanId>
                                                                                                              <VlanId>231</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<Description></Description>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>851971</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						
    						<AutoPickVlanId>true</AutoPickVlanId>
                                  					<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<Description></Description>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="425985" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    		<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      <Action>SaveAndDeployNow</Action>
                      <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
            </CustomAction>
    </Data>
     
    

    Input (VLAN Normalization: Normalize to QinQ tags for Hub-and-Spoke VPLS)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>Test_VPLS_HS_QinQ_AV_004</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>1802245</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<AutoPickVlanId>true</AutoPickVlanId>
    						<Hub>false</Hub>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACTableSize>5124</MACTableSize>
    						<Bandwidth unit="Mbps">12</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>851971</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<AutoPickVlanId>true</AutoPickVlanId>
    						<Hub>true</Hub>
    						<MTU>1524</MTU>
    						<MACLearning>false</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>true</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="425985" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262309" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      <Action>SaveAndDeployNow</Action>
                      <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
            </CustomAction>
    </Data>
     
    

    Output

    Sample XML Output

    <Data 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>
     
    

    Create an ELAN VPLS BGP Service Order (Version 2)

    This request is used to create an ELAN VPLS BGP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)

    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.

    • SaveAndDeployNow (Create, Save, and Deploy a SO)

    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Creates an ELAN VPLS BGP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLSSO_BGP_TEST</Name>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="525675" uri="/api/space/nsas/device-roles/pe-devices/525675"
    						href="/api/space/nsas/device-roles/pe-devices/525675">
    						<DeviceName>fortius-f2100-a</DeviceName>
    						<DeviceID>525675</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/2/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<UnitId>42</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="525658" uri="/api/space/nsas/device-roles/pe-devices/525658"
    						href="/api/space/nsas/device-roles/pe-devices/525658">
    						<DeviceName>fortius-f2100-b</DeviceName>
    						<DeviceID>525658</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<UnitId>41</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<RouteTarget>69:1454096390</RouteTarget>
    				 <MTUFactor>10</MTUFactor>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/524831"
    					href="/api/space/nsas/customer-management/customers/524831" key="524831" />
    				<ServiceDefinition>
    					<ServiceDefinitionID
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/360448"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/360448"
    						key="360448" />
    				</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>1015920</Value>
        </Identity>
        <Job>
        <ID>295138</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 ELAN VPLS LDP Service Order (Version 1)

    This request is used to create an ELAN VPLS LDP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates an ELAN VPLS LDP service order.

    Input (Full-Mesh L3VPN)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLSLDPSO3</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>720976</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/8</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-2-space</DeviceName>
    						<DeviceID>721020</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">                                           
    						
     
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
                                                                  <Dot1QVLANTag>  309 </Dot1QVLANTag>
    			</ServiceOrderParameter>
     
    			<Reference>
    				<Customer key="720896"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1376402"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output (Full-Mesh L3VPN)

    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>1376427</Value>
        </Identity>
        <Job>
        <ID>426219</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>
     
    

    Input (Hub-and-Spoke L3VPN)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLS-LDP-HS-API</Name>
    				
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>exora</DeviceName>
    						<DeviceID>4554812</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						
    						<Hub>false</Hub>
    						<NeighbourHub>embassy</NeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4554822</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>xe-0/0/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    	
    			<Reference>
    				<Customer key="524361"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="4784141"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output (Hub-and-Spoke L3VPN)

    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>1376433</Value>
        </Identity>
        <Job>
        <ID>426256</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 ELAN VPLS LDP Service Order (Version 2)

    This request is used to create an ELAN VPLS LDP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)

    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.

    • SaveAndDeployNow (Create, Save, and Deploy a SO)

    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Creates an ELAN VPLS LDP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder key="1015896" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1015896" href="/api/space/nsas/elan-vpls/service-management/service-orders/1015896">
    <Common>
    <Name>SampleScenarioSO123</Name>
    
    </Common>
    <ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    <Signaling>LDP</Signaling>
    <Action>Provisioning</Action>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="1049756" uri="/api/space/nsas/device-roles/pe-devices/1049756" href="/api/space/nsas/device-roles/pe-devices/1049756">
    <DeviceName>junos-space3</DeviceName>
    <DeviceID>1049756</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/1/6</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    
    <UNIDescription>N/A</UNIDescription>
    <VlanId>15</VlanId>
    
    
    <UnitId>12</UnitId>
    </ServiceEndpointConfiguration>
    <ServiceTemplates/>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="1049735" uri="/api/space/nsas/device-roles/pe-devices/1049735" href="/api/space/nsas/device-roles/pe-devices/1049735">
    <DeviceName>junos-space5</DeviceName>
    <DeviceID>1049735</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/1/5</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    
    <UNIDescription>N/A</UNIDescription>
    <VlanId>13</VlanId>
    
    
    <UnitId>11</UnitId>
    </ServiceEndpointConfiguration>
    <ServiceTemplates/>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    
    <QinQVLANOuterTag>1</QinQVLANOuterTag>
    <QinQVLANInnerTag>100</QinQVLANInnerTag>
    
    
    </ServiceOrderParameter>
    <Reference>
    <Customer uri="/api/space/nsas/customer-management/customers/1048781" href="/api/space/nsas/customer-management/customers/1048781" key="1048781"/>
    <ServiceDefinition>
    <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1015860" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1015860" key="1015860"/>
    </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>1015920</Value>
        </Identity>
        <Job>
        <ID>295138</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>
    
    
    

    Deploy, Validate, and Partially-Delete an ELAN VPLS BGP Service Order

    This request is used to deploy, validate, or partially delete a previously created ELAN VPLS BGP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    The options must be specified in the Action Element inside OperationSpecificData. The various options are as follows:

    • DeployNow (Deploy an already created SO)

    • DeployLater (Deploy Later an already created SO)

    • ValidateNow (Validate now an already created SO)

    • ValidateLater (Validate later an already created SO)

    • PartialDeleteNow (Delete the partially created configuration now)

    • PartialDeleteLater (Delete the partially created configuration Later

    Produces

    Deploys, validates or, partially-deletes a previously created ELAN VPLS BGP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
            <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      <Action>DeployNow</Action>
                      <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
            </CustomAction>
    </Data>
     
    

    Output

    Sample XML Output

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

    Delete an ELAN VPLS BGP Service Order

    This request is used to delete a previously configured ELAN VPLS BGP service order.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrder-id>

    HTTP Method

    DELETE

    Consumes

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

    Produces

    Deletes an ELAN VPLS BGP service order.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553600</Value>
    		</Identity>
    		<Code>200</Code>
    		<Message>Service order Deleted Successfully.</Message>
    	</Status>
    </Data> 
     
    

    View the Pending Configuration of an ELAN VPLS Service Order

    This request is used to view the details of a ELAN VPLS service order that are pending to be applied to a device.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    view-pendingorderconfiguration/<serviceOrder-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the configuration details of a service order pending to be applied to a device.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data
        xmlns="services.schema.networkapi.jmp.juniper.net">
        <PendingOrderConfiguration>
            <PendingOrderConfigDeviceEnd>
                <DeviceName>junos-mx240-space</DeviceName>
                <Configuration>
                    <configuration>
                        <routing-instances>
                            <instance>
                                <name>Vpls_service</name>
                                <instance-type>vpls</instance-type>
                                <route-distinguisher>
                                    <rd-type>69:160563205</rd-type>
                                </route-distinguisher>
                                <vrf-target>
                                    <community>target:69:67174405</community>
                                </vrf-target>
                                <interface>
                                    <name>ge-0/2/6.2</name>
                                </interface>
                                <protocols>
                                    <vpls>
                                        <no-tunnel-services/>
                                        <mac-table-size>
                                            <limit>5120</limit>
                                        </mac-table-size>
                                        <interface-mac-limit>
                                            <limit>1024</limit>
                                        </interface-mac-limit>
                                        <no-mac-learning
    				operation="delete"/>
                                        <mac-statistics
    				operation="delete"/>
                                        <site>
                                            <name>Site_1</name>
                                            <site-identifier>1</site-identifier>
                                            <site-preference>65535</site-preference>
                                            <interface>
                                                <name>ge-0/2/6.2</name>
                                            </interface>
                                        </site>
                                    </vpls>
                                </protocols>
                            </instance>
                        </routing-instances>
                        <firewall>
                            <policer>
                                <name>policer_in_ge-0/2/6_2</name>
                                <if-exceeding>
                                    <bandwidth-limit>10000000</bandwidth-limit>
                                    <burst-size-limit>15220</burst-size-limit>
                                </if-exceeding>
                                <then>
                                    <discard/>
                                </then>
                            </policer>
                            <family>
                                <vpls>
                                    <filter>
                                        <name>filter_in_ge-0/2/6_2</name>
                                        <interface-specific/>
                                        <term>
                                            <name>1</name>
                                            <then>
                                                <policer>policer_in_ge-0/2/6_2</policer>
                                                <accept/>
                                            </then>
                                        </term>
                                    </filter>
                                </vpls>
                            </family>
                        </firewall>
                        <interfaces>
                            <interface>
                                <name>ge-0/2/6</name>
                                <flexible-vlan-tagging/>
                                <mtu>1522</mtu>
                                <encapsulation>flexible-ethernet-services</encapsulation>
                                <unit>
                                    <name>2</name>
                                    <encapsulation>vlan-vpls</encapsulation>
                                    <family>
                                        <vpls>
                                            <filter>
                                                <input>filter_in_ge-0/2/6_2</input>
                                            </filter>
                                        </vpls>
                                    </family>
                                    <vlan-tags>
                                        <outer>2</outer>
                                    </vlan-tags>
                                </unit>
                            </interface>
                        </interfaces>
                    </configuration>
                </Configuration>
            </PendingOrderConfigDeviceEnd>
            <PendingOrderConfigDeviceEnd>
                <DeviceName>junos-mx480-space</DeviceName>
                <Configuration>
                    <configuration>
                        <routing-instances>
                            <instance>
                                <name>Vpls_service</name>
                                <instance-type>vpls</instance-type>
                                <route-distinguisher>
                                    <rd-type>69:160563207</rd-type>
                                </route-distinguisher>
                                <vrf-target>
                                    <community>target:69:67174405</community>
                                </vrf-target>
                                <interface>
                                    <name>ge-5/0/1.8</name>
                                </interface>
                                <protocols>
                                    <vpls>
                                        <no-tunnel-services/>
                                        <mac-table-size>
                                            <limit>5120</limit>
                                        </mac-table-size>
                                        <interface-mac-limit>
                                            <limit>1024</limit>
                                        </interface-mac-limit>
                                        <no-mac-learning
    				operation="delete"/>
                                        <mac-statistics
    				operation="delete"/>
                                        <site>
                                            <name>Site_2</name>
                                            <site-identifier>2</site-identifier>
                                            <site-preference>65535</site-preference>
                                            <interface>
                                                <name>ge-5/0/1.8</name>
                                            </interface>
                                        </site>
                                    </vpls>
                                </protocols>
                            </instance>
                        </routing-instances>
                        <firewall>
                            <policer>
                                <name>policer_in_ge-5/0/1_8</name>
                                <if-exceeding>
                                    <bandwidth-limit>10000000</bandwidth-limit>
                                    <burst-size-limit>15220</burst-size-limit>
                                </if-exceeding>
                                <then>
                                    <discard/>
                                </then>
                            </policer>
                            <family>
                                <vpls>
                                    <filter>
                                        <name>filter_in_ge-5/0/1_8</name>
                                        <interface-specific/>
                                        <term>
                                            <name>1</name>
                                            <then>
                                                <policer>policer_in_ge-5/0/1_8</policer>
                                                <accept/>
                                            </then>
                                        </term>
                                    </filter>
                                </vpls>
                            </family>
                        </firewall>
                        <interfaces>
                            <interface>
                                <name>ge-5/0/1</name>
                                <flexible-vlan-tagging/>
                                <mtu>1522</mtu>
                                <encapsulation>flexible-ethernet-services</encapsulation>
                                <unit>
                                    <name>8</name>
                                    <encapsulation>vlan-vpls</encapsulation>
                                    <family>
                                        <vpls>
                                            <filter>
                                                <input>filter_in_ge-5/0/1_8</input>
                                            </filter>
                                        </vpls>
                                    </family>
                                    <vlan-tags>
                                        <outer>8</outer>
                                    </vlan-tags>
                                </unit>
                            </interface>
                        </interfaces>
                    </configuration>
                </Configuration>
            </PendingOrderConfigDeviceEnd>
        </PendingOrderConfiguration>
    </Data>
     
    

    Get a VPLS Service Order with Manual Route Target By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) VPLS BGP service order with manual route target based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific VPLS service order with manual route target.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1540121"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1540121"
    			key="1540121">
    			<Common>
    				<Name>ManualRT-SO</Name>
    				<Identity>1540121</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-02-25T17:36:31.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-25T17:36:31.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1474653" uri="/api/space/nsas/device-roles/pe-devices/1474653"
    						key="1474653">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>1474653</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>xe-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>5</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1474642" uri="/api/space/nsas/device-roles/pe-devices/1474642"
    						key="1474642">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>1474642</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<RouteTarget>12:5665</RouteTarget>
    				<VLANNormalization>Normalize to Dot1q</VLANNormalization>
    				<Dot1QVLANTag>12</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1081493"
    					href="/api/space/nsas/customer-management/customers/1081493" uri="/api/space/nsas/customer-management/customers/1081493" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1540096"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/1540096"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1540096" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Create a VPLS Service Order with Manual Route Target

    This request is used to create a VPLS service order configured with manual route target.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a VPLS service order with manual route target.

    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>ManualRT-SO-API</Name>
    				
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>1474653</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>xe-0/0/2</InterfaceName>
    					
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>1474642</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				
    				<RouteTarget>12:5665</RouteTarget>
    				
    				<Dot1QVLANTag>12</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1081493"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1540096"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</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 a Multipoint-to-Multipoint VPLS BGP Service Order with Manual Route Target By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) multipoint-to-multipoint VPLS BGP service order with manual route target based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific multipoint-to-multipoint VPLS BGP service order with manual route target.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/7667712"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/7667712"
    			key="7667712">
    			<Common>
    				<Name>TPID_VPLS_MTM_BGP_SO</Name>
    				<Identity>7667712</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2012-12-26T17:36:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T17:36:30.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704"
    						key="3997704">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755"
    						key="3997755">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<RouteTarget>100:8</RouteTarget>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471231"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/7471231"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/7471231" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS BGP Service Order with Manual Route Target By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS BGP service order with manual route target based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS BGP service order with manual route target.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/7667727"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/7667727"
    			key="7667727">
    			<Common>
    				<Name>TPID_VPLS_PTM_BGP_SO</Name>
    				<Identity>7667727</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2012-12-26T17:38:12.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T17:38:12.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997766" uri="/api/space/nsas/device-roles/pe-devices/3997766"
    						key="3997766">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3997766</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704"
    						key="3997704">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>false</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<HubRouteTarget>100:9</HubRouteTarget>
    				<SpokeRouteTarget>100:11</SpokeRouteTarget>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471200"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/7471200"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/7471200" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Multipoint-to-Multipoint VPLS LDP Service Order with Manual Route Target By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) multipoint-to-multipoint VPLS LDP service order with manual route target based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific multipoint-to-multipoint VPLS LDP service order with manual route target.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/7471262"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/7471262"
    			key="7471262">
    			<Common>
    				<Name>VPLS_MTM_LDP_SO</Name>
    				<Identity>7471262</Identity>
    				<State>Failed_Deployed</State>
    				<CreatedDate>2012-12-26T14:38:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T14:38:43.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755"
    						key="3997755">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704"
    						key="3997704">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<VPLSId>2147467273</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471104"
    						href="/api/space/nsas/service-management/service-definitions/7471104"
    						uri="/api/space/nsas/service-management/service-definitions/7471104" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS BGP Service Order with Manual Route Target By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS BGP service order with manual route target based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS BGP service order with manual route target.

    Output

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder href="/api/space/nsas/elan-vpls/service-management/service-orders/7471275" uri="/api/space/nsas/elan-vpls/service-management/service-orders/7471275" key="7471275">
        <Common>
        <Name>TPID_VPLS_PTM_LDP_SO</Name>
        <Identity>7471275</Identity>
        <State>Invalid</State>
        <CreatedDate>2012-12-26T15:12:34.000+05:30</CreatedDate>
        <LastUpdatedDate>2012-12-26T15:12:34.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704" key="3997704">
        <DeviceName>kochin</DeviceName>
        <DeviceID>3997704</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/0/6</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>1660</VlanId>
        <MTU>1522</MTU>
        <CustomerVlanId>2400</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>0x88a8</OuterTPID>
        <InnerTPID>0x8100</InnerTPID>
        <Hub>false</Hub>
        <NeighbourHub>jaipur</NeighbourHub>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755" key="3997755">
        <DeviceName>jaipur</DeviceName>
        <DeviceID>3997755</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/1/0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>1660</VlanId>
        <MTU>1522</MTU>
        <CustomerVlanId>2400</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>0x88a8</OuterTPID>
        <InnerTPID>0x8100</InnerTPID>
        <Hub>true</Hub>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
        <TrafficType>Transport single vlan</TrafficType>
        <VLANNormalization>Normalize All</VLANNormalization>
        <VPLSId>2147467275</VPLSId>
        <AutoDiscovery>false</AutoDiscovery>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="884834" href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="7471136" href="/api/space/nsas/service-management/service-definitions/7471136" uri="/api/space/nsas/service-management/service-definitions/7471136"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
     
    

    Create a Multipoint-to-Multipoint VPLS LDP Service Order with Manual Route Target

    This request is used to create a multipoint-to-multipoint VPLS LDP service order configured with manual route target.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a multipoint-to-multipoint VPLS LDP service order with manual route target.

    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>VPLS_MTM_LDP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471104"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    						
    						
     
    

    Create a Point-to-Multipoint VPLS LDP Service Order with Manual Route Target

    This request is used to create a point-to-multipoint VPLS LDP service order configured with manual route target.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS LDP service order with manual route target.

    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>TPID_VPLS_PTM_LDP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>1660</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>false</Hub>
    						<NeighbourHub>jaipur</NeighbourHub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>1660</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471136"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Create a Point-to-Multipoint VPLS BGP Service Order with Manual Route Target

    This request is used to create a point-to-multipoint VPLS BGP service order configured with manual route target.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS BGP service order with manual route target.

    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>TPID_VPLS_PTM_BGP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3997766</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>false</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471200"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Create a Multipoint-to-Multipoint VPLS BGP Service Order with Manual Route Target

    This request is used to create a multipoint-to-multipoint VPLS BGP service order configured with manual route target.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a multipoint-to-multipoint VPLS BGP service order with manual route target.

    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>TPID_VPLS_MTM_BGP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<RouteTarget _Autopick="true"/>
                                </ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471231"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Note: Starting with Connectivity Services Director Release 1.0R1, the tag names for specifying the auto-pick route target option are modified as follows:

    <RouteTarget_AutoPick>true</RouteTarget_AutoPick>

    <RouteTarget_AutoPick>false</RouteTarget_AutoPick>

    In Services Activation Director, this tag was named as <RouteTarget AutoPick>.

    If you are migrating from Services Activation Director to Connectivity Services Director and if your VPLS service orders contain the auto-pick route target setting, you need to examine such service orders and use the updated tag names when you create a VPLS service order using a REST API request..

    Get a Multipoint-to-Multipoint VPLS BGP Service Order with Tag Protocol ID By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) multipoint-to-multipoint VPLS BGP service order with tag protocol ID based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific multipoint-to-multipoint VPLS BGP service order with tag protocol ID.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/7667712"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/7667712"
    			key="7667712">
    			<Common>
    				<Name>TPID_VPLS_MTM_BGP_SO</Name>
    				<Identity>7667712</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2012-12-26T17:36:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T17:36:30.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704"
    						key="3997704">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755"
    						key="3997755">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<RouteTarget>100:8</RouteTarget>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471231"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/7471231"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/7471231" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS BGP Service Order with Tag Protocol ID By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS BGP service order with tag protocol ID based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS BGP service order with tag protocol ID.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/7667727"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/7667727"
    			key="7667727">
    			<Common>
    				<Name>TPID_VPLS_PTM_BGP_SO</Name>
    				<Identity>7667727</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2012-12-26T17:38:12.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T17:38:12.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997766" uri="/api/space/nsas/device-roles/pe-devices/3997766"
    						key="3997766">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3997766</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704"
    						key="3997704">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>false</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<HubRouteTarget>100:9</HubRouteTarget>
    				<SpokeRouteTarget>100:11</SpokeRouteTarget>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471200"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/7471200"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/7471200" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Multipoint-to-Multipoint VPLS LDP Service Order with Tag Protocol ID By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) multipoint-to-multipoint VPLS LDP service order with tag protocol ID based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific multipoint-to-multipoint VPLS LDP service order with tag protocol ID.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/7471262"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/7471262"
    			key="7471262">
    			<Common>
    				<Name>VPLS_MTM_LDP_SO</Name>
    				<Identity>7471262</Identity>
    				<State>Failed_Deployed</State>
    				<CreatedDate>2012-12-26T14:38:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T14:38:43.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755"
    						key="3997755">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704"
    						key="3997704">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<VPLSId>2147467273</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471104"
    						href="/api/space/nsas/service-management/service-definitions/7471104"
    						uri="/api/space/nsas/service-management/service-definitions/7471104" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS BGP Service Order with Tag Protocol ID By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS BGP service order with tag protocol ID based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS BGP service order with tag protocol ID.

    Output

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder href="/api/space/nsas/elan-vpls/service-management/service-orders/7471275" uri="/api/space/nsas/elan-vpls/service-management/service-orders/7471275" key="7471275">
        <Common>
        <Name>TPID_VPLS_PTM_LDP_SO</Name>
        <Identity>7471275</Identity>
        <State>Invalid</State>
        <CreatedDate>2012-12-26T15:12:34.000+05:30</CreatedDate>
        <LastUpdatedDate>2012-12-26T15:12:34.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/3997704" uri="/api/space/nsas/device-roles/pe-devices/3997704" key="3997704">
        <DeviceName>kochin</DeviceName>
        <DeviceID>3997704</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/0/6</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>1660</VlanId>
        <MTU>1522</MTU>
        <CustomerVlanId>2400</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>0x88a8</OuterTPID>
        <InnerTPID>0x8100</InnerTPID>
        <Hub>false</Hub>
        <NeighbourHub>jaipur</NeighbourHub>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755" key="3997755">
        <DeviceName>jaipur</DeviceName>
        <DeviceID>3997755</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/1/0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>1660</VlanId>
        <MTU>1522</MTU>
        <CustomerVlanId>2400</CustomerVlanId>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        <OuterTPID>0x88a8</OuterTPID>
        <InnerTPID>0x8100</InnerTPID>
        <Hub>true</Hub>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
        <TrafficType>Transport single vlan</TrafficType>
        <VLANNormalization>Normalize All</VLANNormalization>
        <VPLSId>2147467275</VPLSId>
        <AutoDiscovery>false</AutoDiscovery>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="884834" href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="7471136" href="/api/space/nsas/service-management/service-definitions/7471136" uri="/api/space/nsas/service-management/service-definitions/7471136"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
     
    

    Create a Multipoint-to-Multipoint VPLS LDP Service Order with Tag Protocol ID

    This request is used to create a multipoint-to-multipoint VPLS LDP service order configured with tag protocol ID.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a multipoint-to-multipoint VPLS LDP service order with tag protocol ID.

    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>VPLS_MTM_LDP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>1550</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471104"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    						
    						
     
    

    Create a Point-to-Multipoint VPLS LDP Service Order with Tag Protocol ID

    This request is used to create a point-to-multipoint VPLS LDP service order configured with tag protocol ID.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS LDP service order with tag protocol ID.

    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>TPID_VPLS_PTM_LDP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>1660</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>false</Hub>
    						<NeighbourHub>jaipur</NeighbourHub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>1660</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471136"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Create a Point-to-Multipoint VPLS BGP Service Order with Tag Protocol ID

    This request is used to create a point-to-multipoint VPLS BGP service order configured with tag protocol ID.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS BGP service order with tag protocol ID.

    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>TPID_VPLS_PTM_BGP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3997766</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<VlanId>2400</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2500</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<Hub>false</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471200"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Create a Multipoint-to-Multipoint VPLS BGP Service Order with Tag Protocol ID

    This request is used to create a multipoint-to-multipoint VPLS BGP service order configured with tag protocol ID.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a multipoint-to-multipoint VPLS BGP service order with tag protocol ID.

    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>TPID_VPLS_MTM_BGP_SO</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3997704</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<VlanId>2300</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2400</CustomerVlanId>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<RouteTarget _Autopick="true"/>
                                </ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7471231"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Note: Starting with Connectivity Services Director Release 1.0R1, the tag names for specifying the auto-pick route target option are modified as follows:

    <RouteTarget_AutoPick>true</RouteTarget_AutoPick>

    <RouteTarget_AutoPick>false</RouteTarget_AutoPick>

    In Services Activation Director, this tag was named as <RouteTarget AutoPick>.

    If you are migrating from Services Activation Director to Connectivity Services Director and if your VPLS service orders contain the auto-pick route target setting, you need to examine such service orders and use the updated tag names when you create a VPLS service order using a REST API request..

    Create a Point-to-Multipoint VPLS LDP Service Order with Pseudowire Redundancy

    This request is used to create a point-to-multipoint VPLS LDP service order configured with pseudowire redundancy.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS LDP service order with pseudowire redundancy.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>API_VPLS_LDP_REDUNDANCY</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341335" uri="/api/space/nsas/device-roles/pe-devices/5341335"
    						key="5341335">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>5341335</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>172</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341351" uri="/api/space/nsas/device-roles/pe-devices/5341351"
    						key="5341351">
    						<DeviceName>vjx-junos-mx80-1-space</DeviceName>
    						<DeviceID>5341351</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>172</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<Hub>false</Hub>
    						<NeighbourHub>junos-space1</NeighbourHub>
    						<BackupNeighbourHub>junos-space2</BackupNeighbourHub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/4980738" uri="/api/space/nsas/device-roles/pe-devices/4980738"
    						key="4980738">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>4980738</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<VlanId>172</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<RevertTime>55</RevertTime>
    				<SwitchOverDelay>55</SwitchOverDelay>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="819263"
    					href="/api/space/nsas/customer-management/customers/819263" uri="/api/space/nsas/customer-management/customers/819263" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7143508"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/7143508"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/7143508" />
    				</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>9240597</Value>
    		</Identity>
    		<Job>
    			<ID>3047764</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 a Point-to-Multipoint VPLS BGP Service Order with Pseudowire Redundancy

    This request is used to create a point-to-multipoint VPLS BGP service order configured with pseudowire redundancy.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS BGP service order with pseudowire redundancy.

    Input

    Sample XML Input

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/2785640"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/2785640"
    			key="2785640">
    			<Common>
    				<Name>VPLS_BGP_STITCH_REDU_SO_API22</Name>
    			</Common>			
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/2753032" uri="/api/space/nsas/device-roles/pe-devices/2753032"
    						key="2753032">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>2753032</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						
    						
    						<CustomerVlanId>512</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/2753123" uri="/api/space/nsas/device-roles/pe-devices/2753123"
    						key="2753123">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>2753123</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						
    						
    						
    						<CustomerVlanId>512</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/2753134" uri="/api/space/nsas/device-roles/pe-devices/2753134"
    						key="2753134">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>2753134</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">						
    						
    						<CustomerVlanId>512</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>						
    						<HubConnectivityName>MG_Default</HubConnectivityName>
    						<NeighbourHub>embassy</NeighbourHub>
    						<BackupNeighbourHub>jaipur</BackupNeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				
    				
    				<QinQVLANOuterTag>555</QinQVLANOuterTag>
    				<QinQVLANInnerTag>557</QinQVLANInnerTag>
    				<HubRouteTarget>100:114717</HubRouteTarget>
    				<VPLSId>2147467321</VPLSId>
    				<RevertTime>5</RevertTime>
    				<SwitchOverDelay>0</SwitchOverDelay>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2785610"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/2785610"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2785610" />
    				</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>2785716</Value></Identity><Job><ID>852318</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 Point-to-Multipoint VPLS LDP Service Order with Pseudowire Redundancy By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS LDP service order with pseudowire redundancy based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS LDP service order with pseudowire redundancy.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/9240597"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/9240597"
    			key="9240597">
    			<Common>
    				<Name>API_VPLS_LDP_REDUNDANCY</Name>
    				<Identity>9240597</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-01-17T16:34:20.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-01-17T16:34:19.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341335" uri="/api/space/nsas/device-roles/pe-devices/5341335"
    						key="5341335">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>5341335</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<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>0x8100</OuterTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341351" uri="/api/space/nsas/device-roles/pe-devices/5341351"
    						key="5341351">
    						<DeviceName>vjx-junos-mx80-1-space</DeviceName>
    						<DeviceID>5341351</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>3</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>0x8100</OuterTPID>
    						<Hub>false</Hub>
    						<NeighbourHub>junos-space1</NeighbourHub>
    						<BackupNeighbourHub>junos-space2</BackupNeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/4980738" uri="/api/space/nsas/device-roles/pe-devices/4980738"
    						key="4980738">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>4980738</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<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>0x8100</OuterTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport all traffic</TrafficType>
    				<VLANNormalization>Not Normalized</VLANNormalization>
    				<VPLSId>2147467365</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    				<RevertTime>55</RevertTime>
    				<SwitchOverDelay>55</SwitchOverDelay>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="819263"
    					href="/api/space/nsas/customer-management/customers/819263" uri="/api/space/nsas/customer-management/customers/819263" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7143508"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/7143508"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/7143508" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS BGP Service Order with Pseudowire Redundancy By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS BGP service order with pseudowire redundancy based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS BGP service order with pseudowire redundancy.

    Output

    Sample XML Output

    <code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    &lt;Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	&lt;ServiceResource>
    		&lt;ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/2785640"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/2785640"
    			key="2785640">
    			&lt;Common>
    				&lt;Name>VPLS_BGP_STITCH_REDU_SO&lt;/Name>
    				&lt;Identity>2785640&lt;/Identity>
    				&lt;State>Invalid&lt;/State>
    				&lt;CreatedDate>2013-03-01T10:10:45.000+05:30&lt;/CreatedDate>
    				&lt;LastUpdatedDate>2013-03-01T10:10:45.000+05:30&lt;/LastUpdatedDate>
    				&lt;CreatedBy>super&lt;/CreatedBy>
    			&lt;/Common>
    			&lt;ServiceType>Point-to-Multipoint Ethernet (VPLS)&lt;/ServiceType>
    			&lt;Signaling>LDP&lt;/Signaling>
    			&lt;Action>Provisioning&lt;/Action>
    			&lt;ServiceEndPointGroup>
    				&lt;DeviceInfo>
    					&lt;NA href="/api/space/nsas/device-roles/pe-devices/2753032" uri="/api/space/nsas/device-roles/pe-devices/2753032"
    						key="2753032">
    						&lt;DeviceName>embassy&lt;/DeviceName>
    						&lt;DeviceID>2753032&lt;/DeviceID>
    					&lt;/NA>
    				&lt;/DeviceInfo>
    				&lt;ServiceEndPoint>
    					&lt;InterfaceName>ge-1/0/4&lt;/InterfaceName>
    					&lt;ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						&lt;PhysicalEncapsulation>flexible-ethernet-services
    						&lt;/PhysicalEncapsulation>
    						&lt;LogicalEncapsulation>vlan-vpls&lt;/LogicalEncapsulation>
    						&lt;UNIDescription>N/A&lt;/UNIDescription>
    						&lt;VlanId>8&lt;/VlanId>
    						&lt;MTU>1522&lt;/MTU>
    						&lt;CustomerVlanId>512&lt;/CustomerVlanId>
    						&lt;MACLearning>true&lt;/MACLearning>
    						&lt;InterfaceMACLimit>1024&lt;/InterfaceMACLimit>
    						&lt;MACStatistics>false&lt;/MACStatistics>
    						&lt;MACTableSize>5120&lt;/MACTableSize>
    						&lt;OuterTPID>None&lt;/OuterTPID>
    						&lt;InnerTPID>None&lt;/InnerTPID>
    						&lt;Hub>true&lt;/Hub>
    					&lt;/ServiceEndpointConfiguration>
    					&lt;ServiceTemplates />
    				&lt;/ServiceEndPoint>
    			&lt;/ServiceEndPointGroup>
    			&lt;ServiceEndPointGroup>
    				&lt;DeviceInfo>
    					&lt;NA href="/api/space/nsas/device-roles/pe-devices/2753123" uri="/api/space/nsas/device-roles/pe-devices/2753123"
    						key="2753123">
    						&lt;DeviceName>jaipur&lt;/DeviceName>
    						&lt;DeviceID>2753123&lt;/DeviceID>
    					&lt;/NA>
    				&lt;/DeviceInfo>
    				&lt;ServiceEndPoint>
    					&lt;InterfaceName>ge-0/1/0&lt;/InterfaceName>
    					&lt;ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						&lt;PhysicalEncapsulation>flexible-ethernet-services
    						&lt;/PhysicalEncapsulation>
    						&lt;LogicalEncapsulation>vlan-vpls&lt;/LogicalEncapsulation>
    						&lt;UNIDescription>N/A&lt;/UNIDescription>
    						&lt;VlanId>3&lt;/VlanId>
    						&lt;MTU>1522&lt;/MTU>
    						&lt;CustomerVlanId>512&lt;/CustomerVlanId>
    						&lt;MACLearning>true&lt;/MACLearning>
    						&lt;InterfaceMACLimit>1024&lt;/InterfaceMACLimit>
    						&lt;MACStatistics>false&lt;/MACStatistics>
    						&lt;MACTableSize>5120&lt;/MACTableSize>
    						&lt;OuterTPID>None&lt;/OuterTPID>
    						&lt;InnerTPID>None&lt;/InnerTPID>
    						&lt;Hub>true&lt;/Hub>
    					&lt;/ServiceEndpointConfiguration>
    					&lt;ServiceTemplates />
    				&lt;/ServiceEndPoint>
    			&lt;/ServiceEndPointGroup>
    			&lt;ServiceEndPointGroup>
    				&lt;DeviceInfo>
    					&lt;NA href="/api/space/nsas/device-roles/pe-devices/2753134" uri="/api/space/nsas/device-roles/pe-devices/2753134"
    						key="2753134">
    						&lt;DeviceName>kochin&lt;/DeviceName>
    						&lt;DeviceID>2753134&lt;/DeviceID>
    					&lt;/NA>
    				&lt;/DeviceInfo>
    				&lt;ServiceEndPoint>
    					&lt;InterfaceName>ge-0/0/7&lt;/InterfaceName>
    					&lt;ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						&lt;PhysicalEncapsulation>flexible-ethernet-services
    						&lt;/PhysicalEncapsulation>
    						&lt;LogicalEncapsulation>vlan-ccc&lt;/LogicalEncapsulation>
    						&lt;UNIDescription>N/A&lt;/UNIDescription>
    						&lt;VlanId>5&lt;/VlanId>
    						&lt;MTU>1522&lt;/MTU>
    						&lt;CustomerVlanId>512&lt;/CustomerVlanId>
    						&lt;MACLearning>true&lt;/MACLearning>
    						&lt;InterfaceMACLimit>1024&lt;/InterfaceMACLimit>
    						&lt;MACStatistics>false&lt;/MACStatistics>
    						&lt;MACTableSize>5120&lt;/MACTableSize>
    						&lt;OuterTPID>None&lt;/OuterTPID>
    						&lt;InnerTPID>None&lt;/InnerTPID>
    						&lt;Hub>false&lt;/Hub>
    						&lt;EnableP2PSpoke>true&lt;/EnableP2PSpoke>
    						&lt;VCID>2147467321&lt;/VCID>
    						&lt;HubConnectivityName>MG_Default&lt;/HubConnectivityName>
    						&lt;NeighbourHub>embassy&lt;/NeighbourHub>
    						&lt;BackupNeighbourHub>jaipur&lt;/BackupNeighbourHub>
    					&lt;/ServiceEndpointConfiguration>
    					&lt;ServiceTemplates />
    				&lt;/ServiceEndPoint>
    			&lt;/ServiceEndPointGroup>
    			&lt;ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				&lt;TrafficType>Transport single vlan&lt;/TrafficType>
    				&lt;VLANNormalization>Normalize to QinQ&lt;/VLANNormalization>
    				&lt;QinQVLANOuterTag>555&lt;/QinQVLANOuterTag>
    				&lt;QinQVLANInnerTag>557&lt;/QinQVLANInnerTag>
    				&lt;HubRouteTarget>100:114717&lt;/HubRouteTarget>
    				&lt;VPLSId>2147467321&lt;/VPLSId>
    				&lt;AutoDiscovery>false&lt;/AutoDiscovery>
    				&lt;RevertTime>5&lt;/RevertTime>
    				&lt;SwitchOverDelay>0&lt;/SwitchOverDelay>
    			&lt;/ServiceOrderParameter>
    			&lt;Reference>
    				&lt;Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    				&lt;ServiceDefinition>
    					&lt;ServiceDefinitionID key="2785610"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/2785610"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2785610" />
    				&lt;/ServiceDefinition>
    			&lt;/Reference>
    		&lt;/ServiceOrder>
    	&lt;/ServiceResource>
    &lt;/Data>
     
    </code>

    Create a Point-to-Multipoint VPLS LDP Service Order with Pseudowire Stitching

    This request is used to create a point-to-multipoint VPLS LDP service order configured with pseudowire stitching.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS LDP service order with pseudowire stitching.

    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>vpls_ldp_pw_so_API </Name>			
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>852025</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						
    						<VlanId>512</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>1</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>false</Hub>
    						<NeighbourHub>junos-m10-2-space</NeighbourHub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>			
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852061" uri="/api/space/nsas/device-roles/pe-devices/852061"
    						key="852061">
    						<DeviceName>junos-m10-2-space</DeviceName>
    						<DeviceID>852061</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						
    						<VlanId>2</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>1</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852116" uri="/api/space/nsas/device-roles/pe-devices/852116"
    						key="852116">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>852116</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						
    						<VlanId>2</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>1</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    										 <QinQVLANOuterTag>1</QinQVLANOuterTag>
    				<QinQVLANInnerTag>1</QinQVLANInnerTag>
    						
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="950272"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/950272"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/950272" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Create a Point-to-Multipoint VPLS BGP Service Order with Pseudowire Stitching

    This request is used to create a point-to-multipoint VPLS BGP service order configured with pseudowire stitching.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS BGP service order with pseudowire stitching.

    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>VPLS_BGP_SO_API</Name>				
    			</Common>			
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>852025</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<VlanId>4014</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>				
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-m10-2-space</DeviceName>
    						<DeviceID>852061</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						
    						<VlanId>4014</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>						
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>									<HubConnectivityName>MG_Default</HubConnectivityName>
    						<NeighbourHub>embassy</NeighbourHub>
    					</ServiceEndpointConfiguration>					
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>851983</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>4014</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				
    				<HubRouteTarget>100:6</HubRouteTarget>
    				<SpokeRouteTarget>100:7</SpokeRouteTarget>
     
    				<QinQVLANOuterTag>34</QinQVLANOuterTag>
    				<QinQVLANInnerTag>34</QinQVLANInnerTag>
    				
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1442167"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/1442167"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1442167" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS LDP Service Order with Pseudowire Stitching By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS LDP service order with pseudowire stitching based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS LDP service order with pseudowire stitching.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1114515"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1114515"
    			key="1114515">
    			<Common>
    				<Name>vpls_ldp_pw_so_API</Name>
    				<Identity>1114515</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-02-18T12:44:20.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-18T12:44:19.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852025" uri="/api/space/nsas/device-roles/pe-devices/852025"
    						key="852025">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>852025</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>514</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>1</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<Hub>false</Hub>
    						<NeighbourHub>junos-m10-2-space</NeighbourHub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
    						<VCID>2147467287</VCID>
    						<HubConnectivityName>vpls_ldp_pw_so_API
    						</HubConnectivityName>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852061" uri="/api/space/nsas/device-roles/pe-devices/852061"
    						key="852061">
    						<DeviceName>junos-m10-2-space</DeviceName>
    						<DeviceID>852061</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>7</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>1</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852116" uri="/api/space/nsas/device-roles/pe-devices/852116"
    						key="852116">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>852116</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>6</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>1</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<VLANNormalization>Normalize to QinQ</VLANNormalization>
    				<QinQVLANOuterTag>1</QinQVLANOuterTag>
    				<QinQVLANInnerTag>1</QinQVLANInnerTag>
    				<VPLSId>2147467287</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="950272"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/950272"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/950272" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a Point-to-Multipoint VPLS BGP Service Order with Pseudowire Stitching By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (ELAN) point-to-multipoint VPLS BGP service order with pseudowire stitching based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific point-to-multipoint VPLS BGP service order with pseudowire stitching.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1802240"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1802240"
    			key="1802240">
    			<Common>
    				<Name>VPLS_BGP_SO_API</Name>
    				<Identity>1802240</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-02-19T15:36:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-19T15:36:29.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852025" uri="/api/space/nsas/device-roles/pe-devices/852025"
    						key="852025">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>852025</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>4014</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/852061" uri="/api/space/nsas/device-roles/pe-devices/852061"
    						key="852061">
    						<DeviceName>junos-m10-2-space</DeviceName>
    						<DeviceID>852061</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>4014</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
    						<VCID>2147467296</VCID>
    						<HubConnectivityName>MG_Default</HubConnectivityName>
    						<NeighbourHub>embassy</NeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/851983" uri="/api/space/nsas/device-roles/pe-devices/851983"
    						key="851983">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>851983</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>4014</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport all traffic</TrafficType>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<HubRouteTarget>100:7</HubRouteTarget>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1442167"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/1442167"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1442167" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Modify a Saved ELAN VPLS Service Order with LDP

    This request is used to modify a saved ELAN VPLS LDP service order.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)

    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.

    • SaveAndDeployNow (Create, Save, and Deploy a SO)

    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Modifies a saved ELAN VPLS LDP service order.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1146962"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1146962"
    			key="1146962">
    			<Common>
    				<Name>Test-SO-VPLS-LDP</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/786448" uri="/api/space/nsas/device-roles/pe-devices/786448"
    						key="786448">
    						<DeviceName>exora</DeviceName>
    						<DeviceID>786448</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    						xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<UNIDescription>For Testing...</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/786501" uri="/api/space/nsas/device-roles/pe-devices/786501"
    						key="786501">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786501</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    						xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<UNIDescription>For Testing...</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1179648"
    					href="/api/space/nsas/customer-management/customers/1179648" uri="/api/space/nsas/customer-management/customers/1179648" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146906"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/1146906"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1146906" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      <Action>SaveAndValidate</Action>
            	</CustomAction>
    </Data>
    
    
    

    Output

    Sample XML Output

    <Data>
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>1146973</Value>
    		</Identity>
    		<Job>
    			<ID>360458</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>
    			The Service Order Modified Successfully and Validation is in Progress.
    			Please check the status using the JOB ID.
    		</Message>
    	</Status>
    <Data>
    
    
    

    Modify a Saved ELAN VPLS Service Order with LDP (Version 2)

    This request is used to modify a saved ELAN VPLS service order with LDP.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved ELAN VPLS service order with LDP.

    Input

    Sample XML Input

      <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_test_API</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1049735" uri="/api/space/nsas/device-roles/pe-devices/1049735"
    						key="1049735">
    						 <DeviceName>junos-space5</DeviceName>
    <DeviceID>1049735</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/2/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>25</VlanId>
    						<UnitId>99</UnitId>
    						
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1049735" uri="/api/space/nsas/device-roles/pe-devices/1049735"
    						key="1049735">
    					 <DeviceName>junos-space5</DeviceName>
    <DeviceID>1049735</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/2/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>27</VlanId>
    						<UnitId>72</UnitId>
    						
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				
      
        <QinQVLANOuterTag>1</QinQVLANOuterTag>
        <QinQVLANInnerTag>100</QinQVLANInnerTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1015860"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/1015860"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1015860" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      <Action>SaveAndDeployNow</Action>
                     
    </CustomAction>
    </Data>
    
    

    Output

    Sample XML Output

    <Data>
    <Status>
    <Identity>
    <Type>ServiceOrder</Type>
    <Value>1015972</Value>
    </Identity>
    <Job>
    <ID>295173</ID>
    <Status>INPROGRESS</Status>
    </Job>
    <Code>200</Code>
    <Message>
    The Service Order Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID.
    </Message>
    </Status>
    </Data>
    
    
    

    Modify a Saved ELAN VPLS Service Order with BGP

    This request is used to modify a saved ELAN VPLS BGP service order.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)

    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.

    • SaveAndDeployNow (Create, Save, and Deploy a SO)

    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Modifies a saved ELAN VPLS BGP service order.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1146932"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1146932"
    			key="1146932">
    			<Common>
    				<Name>Test-SO-VPLS-BGP</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/
                                                                  pe-devices/786647"   uri="/api/space/nsas/device-roles/pe-devices/786647"
    						key="786647">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>786647</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/9</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/
     						2001/XMLSchema-instance" 
    						xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/
     						pe-devices/786459" uri="/api/space/nsas/
     						device-roles/pe-devices/786459"
    						key="786459">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>786459</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    						xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<QinQVLANOuterTag>10</QinQVLANOuterTag>
    				<QinQVLANInnerTag>10</QinQVLANInnerTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1179648"
    					href="/api/space/nsas/customer-management/customers/1179648" uri="/api/space/nsas/customer-management/customers/1179648" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146880"
     						href="/api/space/nsas/elan-vpls/
     						service-management/service- definitions/1146880"
    						uri="/api/space/nsas/elan-vpls/
     						service-management/service-definitions/1146880" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      			<Action>SaveAndValidate</Action>
                    	        	</CustomAction>
    </Data>
    
    
    

    Output

    Sample XML Output

    <Data>
     	<Status>
     		<Identity>
     			<Type>ServiceOrder</Type>
     			<Value>1146947</Value>
     		</Identity>
     		<Job>
     			<ID>360455</ID>
     			<Status>INPROGRESS</Status>
     		</Job>
     		<Code>200</Code>
     		<Message>
     			The Service Order Modified Successfully and Validation is in Progress. 
     			Please check the status   using the JOB ID.
     		</Message>
     	</Status>
    </Data>
    
    
    

    Modify a Saved ELAN VPLS Service Order with BGP (Version 2)

    This request is used to modify a saved ELAN VPLS service order with BGP.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved ELAN VPLS service order with BGP.

    Input

    Sample XML Input

     <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1146932"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1146932"
    			key="1146932">
    			<Common>
    				<Name>Test-SO-VPLS-BGP</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/
                                                                  pe-devices/786647"   uri="/api/space/nsas/device-roles/pe-devices/786647"
    						key="786647">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>786647</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/9</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/
     						2001/XMLSchema-instance" 
    						xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    							<VlanId>27</VlanId>
    						<UnitId>72</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/
     						pe-devices/786459" uri="/api/space/nsas/
     						device-roles/pe-devices/786459"
    						key="786459">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>786459</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    						xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    							<VlanId>27</VlanId>
    						<UnitId>72</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<QinQVLANOuterTag>10</QinQVLANOuterTag>
    				<QinQVLANInnerTag>10</QinQVLANInnerTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1179648"
    					href="/api/space/nsas/customer-management/customers/1179648" uri="/api/space/nsas/customer-management/customers/1179648" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146880"
     						href="/api/space/nsas/elan-vpls/
     						service-management/service- definitions/1146880"
    						uri="/api/space/nsas/elan-vpls/
     						service-management/service-definitions/1146880" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      			<Action>SaveAndValidate</Action>
                    	        	</CustomAction>
    </Data>
    

    Output

    Sample XML Output

    <Data>
    <Status>
    <Identity>
    <Type>ServiceOrder</Type>
    <Value>1015972</Value>
    </Identity>
    <Job>
    <ID>295173</ID>
    <Status>INPROGRESS</Status>
    </Job>
    <Code>200</Code>
    <Message>
    The Service Order Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID.
    </Message>
    </Status>
    </Data>
    
    
    

    Modify a Saved ELAN VPLS BGP Service Order with Ethernet Option as Asymmetric Tag Depth

    This request is used to modify a saved ELAN VPLS BGP service order configured with flexible VLAN tagging (asymmetric tag depth) as the Ethernet option.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved ELAN VPLS BGP service order configured with flexible VLAN tagging (asymmetric tag depth) as the Ethernet option.

    Input (Ethernet LDP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
                 <Name>P2P_LDP_Asymmetric_ModifySO_API</Name>
                 <Comments>sdfsf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524504" uri="/api/space/nsas/device-roles/pe-devices/524504" href="/api/space/nsas/device-roles/pe-devices/524504">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524504</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/2</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
       <EthernetOption>qinq</EthernetOption>
        <UNIDescription>sdfsd</UNIDescription>
        <CustomerVlanId>1</CustomerVlanId>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524452" uri="/api/space/nsas/device-roles/pe-devices/524452" href="/api/space/nsas/device-roles/pe-devices/524452">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>524452</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/2/8</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <EthernetOption>qinq</EthernetOption>
        <UNIDescription>sdfdsfs</UNIDescription>
        <CustomerVlanId>1</CustomerVlanId>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to Dot1q tag</VlanNormalization>
        <VlanTagToStack>1</VlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="524615"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="393587"/>
        </ServiceDefinition>
        <Service key="393576"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    Sample XML Output

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

    Modify a Saved ELAN VPLS BGP Service Order with Static Pseudowires

    This request is used to modify a saved ELAN VPLS BGP service order configured with static pseudowires.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved ELAN VPLS BGP service order with static pseudowires.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>P2P_LDP_E_SPW_ModifySO_API</Name>
            <Comments>fdgdfgdf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440">
              <DeviceName>embassy</DeviceName>
              <DeviceID>524440</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
            <InterfaceName>ge-1/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>hgfh</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
         </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296">
              <DeviceName>junos-mx240-space</DeviceName>
              <DeviceID>524296</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
             <InterfaceName>em0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>rtyrtutyu</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to QinQ tags</VlanNormalization>
        <OuterVlanTagToStack>1</OuterVlanTagToStack>
        <InnerVlanTagToStack>1</InnerVlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
            <Customer key="525406"/>
          <ServiceDefinition>
               <ServiceDefinitionID key="393589"/>
          </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
       </CustomAction>
        </Data>
    
    

    Output

    Sample XML Output

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

    Modify a Saved ELAN VPLS BGP Service Order with Multisegment Pseudowires

    This request is used to modify a saved ELAN VPLS BGP service order configured with multisegment pseudowires.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved ELAN VPLS BGP service order with multisegment pseudowires.

    Input (Ethernet LDP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
        <Name>P2P_LDP_Multiseg_SO_API_Test</Name>
         <Comments>dsfdsf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524351" uri="/api/space/nsas/device-roles/pe-devices/524351" href="/api/space/nsas/device-roles/pe-devices/524351">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524351</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/4</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>safsdfsdf</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </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>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.9</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <StitchingUnit>200</StitchingUnit>
        <UNIDescription>sdfdsf</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalization not required</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID  key="393544"/>
        </ServiceDefinition>
        <Service key="393574"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    Sample XML Output

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

    Modify a Saved ELAN VPLS BGP Service Order with MC-LAG Interfaces

    This request is used to modify a saved ELAN VPLS BGP service order configured with MC-LAG interfaces.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved ELAN VPLS BGP service order with MC-LAG interfaces.

    Input (Ethernet LDP)

    Sample XML Input

        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>MC_LAG_Modify_API_002</Name>
            <Comments>rtert</Comments>
         </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
             <DeviceName>junos-mx240-space</DeviceName>
             <DeviceID>524419</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>gfhgfhg</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
           <BackUpSettings>
               <Enable>true</Enable>
                <DeviceInfo>
                        <NA>
                             <DeviceName>junos-space5</DeviceName>
                             <DeviceID>525453</DeviceID>
                        </NA>
                </DeviceInfo>
              <ServiceEndPoint>
                        <InterfaceName>ge-0/1/7</InterfaceName>
                        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                        </ServiceEndpointConfiguration>
                        <Description>gfhgfhg</Description>
             </ServiceEndPoint>
          </BackUpSettings>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
                      <DeviceName>junos-mx80-1-space</DeviceName>
                      <DeviceID>524367</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
                     <InterfaceName>ge-1/0/9</InterfaceName>
          <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                     <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
                     <EndPointCategory>PTP</EndPointCategory>
                    <UNIDescription>rthyrthy</UNIDescription>
         </ServiceEndpointConfiguration>
         </ServiceEndPoint>
        <BackUpSettings>
                 <Enable>true</Enable>
                    <DeviceInfo>
                       <NA>
                          <DeviceName>junos-space3</DeviceName>
                          <DeviceID>525483</DeviceID>
                      </NA>
                </DeviceInfo>
        <ServiceEndPoint>
                    <InterfaceName>ae2</InterfaceName>
          <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
          </ServiceEndpointConfiguration>
              <Description>rthyrthy</Description>
        </ServiceEndPoint>
        </BackUpSettings>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalization not required</VlanNormalization>
        <EnableMCLAG>true</EnableMCLAG>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525504"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="394022"/>
        </ServiceDefinition>
        <Service key="819243"/>
        </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>819399</Value>
        </Identity>
        <Job>
        <ID>327782</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    
    
    
    

    Get a VPLS Service Order with Default Service Template By Order ID

    This request is used to retrieve the details of a particular VPLS service order with default service template, based on the service order ID.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <serviceorder-Id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific VPLS service order with default service template.

    Output (VPLS BGP)

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="1048646" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1048646" href="/api/space/nsas/elan-vpls/service-management/service-orders/1048646">
    			<Common>
    				<Name>test_SO_vpls_bgp</Name>
    				<Identity>1048646</Identity>
    				<State>Requested</State>
    				<CreatedDate>2015-02-23T16:58:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2015-02-23T16:58:56.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="524388" uri="/api/space/nsas/device-roles/pe-devices/524388" href="/api/space/nsas/device-roles/pe-devices/524388">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>524388</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>xe-0/3/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>ethernet-vpls</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<UnitId>0</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate href="/api/space/nsas/elan-vpls/service-management/service-templates/950296" uri="/api/space/nsas/elan-vpls/service-management/service-templates/950296" key="950296">
    							<ID>950296</ID>
    							<ConfigParams>
    								<Name>Outer</Name>
    								<Value>45</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    							<ConfigParams>
    								<Name>Inner</Name>
    								<Value>1</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="524302" uri="/api/space/nsas/device-roles/pe-devices/524302" href="/api/space/nsas/device-roles/pe-devices/524302">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>524302</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>ethernet-vpls</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<UnitId>0</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate href="/api/space/nsas/elan-vpls/service-management/service-templates/950296" uri="/api/space/nsas/elan-vpls/service-management/service-templates/950296" key="950296">
    							<ID>950296</ID>
    							<ConfigParams>
    								<Name>Outer</Name>
    								<Value>45</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    							<ConfigParams>
    								<Name>Inner</Name>
    								<Value>1</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport using port</TrafficType>
    				<RouteTarget>69:1454096385</RouteTarget>
    				<VLANNormalization>Normalize to Dot1q</VLANNormalization>
    				<Dot1QVLANTag>1</Dot1QVLANTag>
    				<RouteDistinguisher>69:2147467265</RouteDistinguisher>
    				<MTUFactor>10</MTUFactor>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/524288" href="/api/space/nsas/customer-management/customers/524288" key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1048576" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1048576" key="1048576"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create a VPLS Service Order with Default Service Template

    This request is used to create a VPLS service order configured with default service template.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a VPLS service order configured with default service template.

    The XPath tag in a service template attribute is optional and we recommend that you use this tag.

    Input (VPLS BGP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>testVplsbgpSO_1defTemp_API_1</Name>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>AS_PE2</DeviceName>
    						<DeviceID>524513</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>524300</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>100</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="852004"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Sample XML Input (With XPath)

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>testVplsbgpSO_1defTemp_API_1</Name>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>AS_PE2</DeviceName>
    						<DeviceID>524513</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>524300</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>100</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="852004"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Input (VPLS LDP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLSLDPSO3</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>720976</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/8</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">						
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>					
          				</ServiceTemplates>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-2-space</DeviceName>
    						<DeviceID>721020</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">   
    					</ServiceEndpointConfiguration>
    					<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>					
          				</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>  309 </Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="720896"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1376402"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Sample XML Input (With XPath)

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLSLDPSO3</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>720976</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/8</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">						
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<ServiceTemplates>
    					<ServiceTemplate>
    						<ID>66317</ID>
    						<ConfigParams>
    							<Name>Name</Name>
    							<Value>testname123</Value>
    							<Decommission>false</Decommission>
    							<SvcSpecificValue>false</SvcSpecificValue>
    							<ConfigPageName>cp1</ConfigPageName>
    						</ConfigParams>
    					</ServiceTemplate>	
    					<ServiceTemplate>
    						<ID>6357015</ID>
    						<ConfigParams>
    							<Name>Description</Name>
    							<Value>DemoDescription</Value>
    							<Xpath>/configuration/cp1/interface/description</Xpath>
    							<Decommission>false</Decommission>
    							<SvcSpecificValue>false</SvcSpecificValue>
    							<ConfigPageName>cp1</ConfigPageName>
    						</ConfigParams>
    					</ServiceTemplate>
          			</ServiceTemplates>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-2-space</DeviceName>
    						<DeviceID>721020</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">   
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>		
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>						
          				</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>  309 </Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="720896"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1376402"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output

    Sample XML Output

       <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</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>
    

    Modify a VPLS Service Order with Default Service Template

    This request is used to modify a VPLS service order configured with default service template.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a VPLS service order configured with default service template.

    The XPath tag in a service template attribute is optional and we recommend that you use this tag.

    Input (VPLS BGP)

    Sample XML Input

      <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>testVplsbgpSO_defTemp_API_1M0</Name>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>AS_PE2</DeviceName>
    						<DeviceID>524513</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>005</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>524300</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>100</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="852004"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Sample XMLInput (With XPath)

      <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>testVplsbgpSO_defTemp_API_1M0</Name>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>AS_PE2</DeviceName>
    						<DeviceID>524513</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>005</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>524300</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>					
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>100</Dot1QVLANTag>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="852004"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Input (VPLS LDP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder href="/api/space/nsas/elan-vpls/service-management/service-orders/1146962" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1146962" key="1146962">
    			<Common>
    				<Name>Test-SO-VPLS-LDP</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/786448" uri="/api/space/nsas/device-roles/pe-devices/786448" key="786448">
    						<DeviceName>exora</DeviceName>
    						<DeviceID>786448</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<UNIDescription>For Testing...</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/786501" uri="/api/space/nsas/device-roles/pe-devices/786501" key="786501">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786501</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<UNIDescription>For Testing...</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1179648" href="/api/space/nsas/customer-management/customers/1179648" uri="/api/space/nsas/customer-management/customers/1179648"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146906" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1146906" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1146906"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndValidate</Action>
    	</CustomAction>
    </Data>
    
    

    Sample XMLInput (With XPath)

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder href="/api/space/nsas/elan-vpls/service-management/service-orders/1146962" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1146962" key="1146962">
    			<Common>
    				<Name>Test-SO-VPLS-LDP</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/786448" uri="/api/space/nsas/device-roles/pe-devices/786448" key="786448">
    						<DeviceName>exora</DeviceName>
    						<DeviceID>786448</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<UNIDescription>For Testing...</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/786501" uri="/api/space/nsas/device-roles/pe-devices/786501" key="786501">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786501</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<UNIDescription>For Testing...</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname345</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="1179648" href="/api/space/nsas/customer-management/customers/1179648" uri="/api/space/nsas/customer-management/customers/1179648"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146906" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1146906" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1146906"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndValidate</Action>
    	</CustomAction>
    </Data>
    
    

    Output

    Sample XML Output

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

    Get Job Details By Job ID for a VPLS Service Order

    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

    URI

    /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"
                }
             ]
          }
       }
    }

    Create a Point-to-Multipoint VPLS BGP Service Order (Version 2)

    This request is used to create a point-to-multipoint VPLS BGP service order in version 2 format.

    Note: If you are using a point-to-point spoke, you must not include the <BackupNeighbourHub> tag. Also, the following parameters are mandatory when you create a service order in version 2 format:

    <RouteDistinguisher AutoPick= "true/false"></RouteDistinguisher>

    <HubRouteTarget AutoPick = "true/false"></HubRouteTarget>

    <SpokeRouteTarget AutoPick = "true/false"></SpokeRouteTarget>

    <RouteTarget AutoPick ="true/false"></RouteTarget>

    <RouteTarget_AutoPick>true/false</RouteTarget_AutoPick>

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a point-to-multipoint VPLS BGP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>Test_VPLS_BGP_SO2</Name>
     			</Common>
    			 <ServiceType>Point-to-Multipoint Ethernet (VPLS)</ServiceType>
     			<Signaling>BGP</Signaling>
    			 <Action>Provisioning</Action>
     			<ServiceEndPointGroup>
    				<DeviceInfo>
    					 <NA>
    						<DeviceName>MK-RouA-re</DeviceName>
     						<DeviceID>720904</DeviceID>
    					</NA>
    				 </DeviceInfo>
    				<ServiceEndPoint>
     					<InterfaceName>ge-0/1/7</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>I'm a P2P spoke</UNIDescription>			
    						
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
                                                    <AutoPickVCID>false</AutoPickVCID>
                                                    <VCID>100</VCID>
    						<HubConnectivityName>MG_Default</HubConnectivityName>
    						 <NeighbourHub>MK-RouB-re</NeighbourHub>
    						<BackupNeighbourHub> MK-RouC-re </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>MK-RouC-re</DeviceName>
     						<DeviceID>720906</DeviceID>
    					 </NA>
    				</DeviceInfo>
     				<ServiceEndPoint>
    					<InterfaceName>ae9</InterfaceName>
    					 <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>This neighbour hub for p2p spoke</UNIDescription>			
    						
     						<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>MK-RouB-re</DeviceName>
    						<DeviceID>720906</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
    						<UNIDescription>N/A</UNIDescription>						
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<Dot1QVLANTag>123</Dot1QVLANTag>
    				<RouteDistinguisher AutoPick= "true"></RouteDistinguisher>
    				<HubRouteTarget AutoPick = "true"></HubRouteTarget>
                   			<SpokeRouteTarget AutoPick = "true"></SpokeRouteTarget>
                    			<RouteTarget AutoPick ="true"></RouteTarget>
                    			<RouteTarget_AutoPick>true</RouteTarget_AutoPick>                 
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="721011"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="426205"/>
    				</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>1015920</Value>
        </Identity>
        <Job>
        <ID>295138</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>
    
    
    

    Modified: 2017-09-13