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 Services Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director VPLS Services Management RESTful Web Services.

    Get an ELAN VPLS BGP Service By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS BGP service.

    URI

    api/space/nsas/elan-vpls/service-management/services/
    <serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS BGP service.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3112986"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3112986" key="3112986">
    			<Common>
    				<Name>Ser3</Name>
    				<Identity>3112986</Identity>
    				<State>Deployed</State>
    				<Comments>Ser 3</Comments>
    				<CreatedDate>2012-09-22T12:07:23.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:07:23.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<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/0/8</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription></UNIDescription>
    						<VlanId>256</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<MACStatistics>false</MACStatistics>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanIdStart>0</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>0</CustomerVlanIdEnd>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<ServiceEndPointGroupParameter
    					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSServiceEndpointGroupParameterServiceType" />
    			</ServiceEndPointGroup>
    			<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="VPLSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription></UNIDescription>
    						<VlanId>256</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<MACStatistics>false</MACStatistics>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanIdStart>0</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>0</CustomerVlanIdEnd>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<ServiceEndPointGroupParameter
    					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSServiceEndpointGroupParameterServiceType" />
    			</ServiceEndPointGroup>
    			<Reference>
    				<ServiceOrder key="3112974"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3112974"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3112974" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get an ELAN VPLS LDP Service By Service ID

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

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS LDP service.

    Output

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <Service href="/api/space/nsas/elan-vpls/service-management/services/1376442" uri="/api/space/nsas/elan-vpls/service-management/services/1376442" key="1376442">
        <Common>
        <Name>VPLSLDPSO3</Name>
        <Identity>1376442</Identity>
        <State>Deployed</State>
        <Comments>
        </Comments>
        <CreatedDate>2012-12-15T00:34:15.000+05:30</CreatedDate>
        <LastUpdatedDate>2012-12-15T00:34:15.000+05:30</LastUpdatedDate>
        </Common>
        <ServiceType>VPLS</ServiceType>
        <AuditFlag>
        <FunctionalAudit>Pending</FunctionalAudit>
        <FaultStatus>None</FaultStatus>
        </AuditFlag>
        <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/0/8</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterServiceType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>4</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/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/6</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterServiceType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <VlanId>3</VlanId>
        <MTU>1522</MTU>
        <MACLearning>true</MACLearning>
        <InterfaceMACLimit>1024</InterfaceMACLimit>
        <MACStatistics>false</MACStatistics>
        <MACTableSize>5120</MACTableSize>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterServiceType">
        <RouteTarget>69:1444102146</RouteTarget>
        <VLANNormalization>Normalize All</VLANNormalization>
        </ServiceParameters>
        <Reference>
        <ServiceOrder key="1376427" href="/api/space/nsas/elan-vpls/service-management/service-orders/1376427" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1376427"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="1376402" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1376402" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1376402"/>
        </ServiceDefinition>
        <Customer key="720896" href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customer-management/customers/720896"/>
        </Reference>
        </Service>
        </ServiceResource>
        </Data>
     
    

    Get an ELAN VPLS BGP Point-to-Multipoint Service with Pseudowire Stitching By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS BGP service pseudowire stitching.

    URI

    api/space/nsas/elan-vpls/service-management/services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS BGP service pseudowire stitching.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service
    			href="/api/space/nsas/elan-vpls/service-management/services/2785453"
    			uri="/api/space/nsas/elan-vpls/service-management/services/2785453"
    			key="2785453">
    			<Common>
    				<Name>VPLS_sERVICE_BGP_PWSTITCH1</Name>
    				<Identity>2785453</Identity>
    				<State>Deployed</State>
    				<CreatedDate>2013-03-01T09:14:41.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-01T09:14:41.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<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>
    						<CMPDeviceID>2818072</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    						<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>555</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/2753123" uri="/api/space/nsas/device-roles/pe-devices/2753123"
    						key="2753123">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>2753123</DeviceID>
    						<CMPDeviceID>2818081</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>555</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
    						<VCID>2147467316</VCID>
    						<HubConnectivityName>MG_Default</HubConnectivityName>
    						<NeighbourHub>embassy</NeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="2785436"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/2785436"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/2785436" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2785407"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/2785407"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/2785407" />
    				</ServiceDefinition>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get an ELAN VPLS LDP Point-to-Multipoint Service with Pseudowire Stitching By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS LDP service pseudowire stitching.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS LDP service 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>
    		<Service
    			href="/api/space/nsas/elan-vpls/service-management/services/2785310"
    			uri="/api/space/nsas/elan-vpls/service-management/services/2785310"
    			key="2785310">
    			<Common>
    				<Name>VPLS_LDP_PWSTITCH_SERVICE</Name>
    				<Identity>2785310</Identity>
    				<State>Deployed</State>
    				<CreatedDate>2013-03-01T08:36:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-01T08:36:57.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<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>
    						<CMPDeviceID>2818081</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>512</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>344</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<Hub>false</Hub>
    						<NeighbourHub>embassy</NeighbourHub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
    						<VCID>2147467317</VCID>									<HubConnectivityName>VPLS_LDP_PWSTITCH_SERVICE</HubConnectivityName>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<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>
    						<CMPDeviceID>2818072</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<CustomerVlanId>344</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>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<VLANNormalization>Normalize to QinQ</VLANNormalization>
    				<QinQVLANOuterTag>343</QinQVLANOuterTag>
    				<QinQVLANInnerTag>343</QinQVLANInnerTag>
    				<VPLSId>2147467317</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="2785295"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/2785295"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/2785295" />
    				<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>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get an ELAN VPLS BGP Service with Burst Size Calculation By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS BGP service with burst size calculation based on the service ID.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

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

    Output

    Sample XML Output

         <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <Service key="884819" uri="/api/space/nsas/elan-vpls/service-management/services/884819" href="/api/space/nsas/elan-vpls/service-management/services/884819">
        <Common>	
        <Name>VPLS_BGP_BurstSIzeCal_SO</Name>
        <Identity>884819</Identity>
        <State>Deployed</State>
        <Comments>hgjhjg</Comments>
        <CreatedDate>2014-09-26T18:41:01.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-09-26T18:41:01.000+05:30</LastUpdatedDate>
        </Common>
        <ServiceType>VPLS</ServiceType>
        <AuditFlag>
        <FunctionalAudit>Pending</FunctionalAudit>
        <FaultStatus>None</FaultStatus>
        <SLAStatus>None</SLAStatus>
        </AuditFlag>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="558232" uri="/api/space/nsas/device-roles/pe-devices/558232" href="/api/space/nsas/device-roles/pe-devices/558232">
        <DeviceName>embassy</DeviceName>
        <DeviceID>558232</DeviceID>
        <CMPDeviceID>131158</CMPDeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/2</InterfaceName>
        <InterfaceIndex>533</InterfaceIndex>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <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="557067" uri="/api/space/nsas/device-roles/pe-devices/557067" href="/api/space/nsas/device-roles/pe-devices/557067">
        <DeviceName>junos-mx240-space</DeviceName>
        <DeviceID>557067</DeviceID>
        <CMPDeviceID>131116</CMPDeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/3/7</InterfaceName>
        <InterfaceIndex>715</InterfaceIndex>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <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>
        <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterServiceType">
        <RouteTarget>100:2</RouteTarget>
        <VLANNormalization>Normalize to QinQ</VLANNormalization>
        <QinQVLANOuterTag>5</QinQVLANOuterTag>
        <QinQVLANInnerTag>5</QinQVLANInnerTag>
        <BurstPeriod>20</BurstPeriod>
        <AutoDiscovery>false</AutoDiscovery>
        </ServiceParameters>
        <Reference>
        <ServiceOrder uri="/api/space/nsas/elan-vpls/service-management/service-orders/884804" href="/api/space/nsas/elan-vpls/service-management/service-orders/884804" key="884804"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/884736" href="/api/space/nsas/elan-vpls/service-management/service-definitions/884736" key="884736"/>
        </ServiceDefinition>
        <Customer uri="/api/space/nsas/customer-management/customers/558229" href="/api/space/nsas/customer-management/customers/558229" key="558229"/>
        </Reference>
        </Service>
        </ServiceResource>    </Data>
    
    

    Get an ELAN VPLS LDP Service with Burst Size Calculation By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS LDP service with burst size calculation based on the service ID.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

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

    Output

    Sample XML Output

           <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <Service key="884983" uri="/api/space/nsas/elan-vpls/service-management/services/884983" href="/api/space/nsas/elan-vpls/service-management/services/884983">
        <Common>
        <Name>VPLS_LDP_BurstSizeCal_SO</Name>
        <Identity>884983</Identity>
        <State>Deployed</State>
        <Comments>ertert</Comments>
        <CreatedDate>2014-09-26T19:03:46.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-09-26T19:03:46.000+05:30</LastUpdatedDate>
        </Common>
        <ServiceType>VPLS</ServiceType>
        <AuditFlag>
        <FunctionalAudit>Pending</FunctionalAudit>
        <FaultStatus>None</FaultStatus>
        <SLAStatus>None</SLAStatus>
        </AuditFlag>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="558232" uri="/api/space/nsas/device-roles/pe-devices/558232" href="/api/space/nsas/device-roles/pe-devices/558232">
        <DeviceName>embassy</DeviceName>
        <DeviceID>558232</DeviceID>
        <CMPDeviceID>131158</CMPDeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/1</InterfaceName>
        <InterfaceIndex>532</InterfaceIndex>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterServiceType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <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>
        <CMPDeviceID>131132</CMPDeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/0/4</InterfaceName>
        <InterfaceIndex>516</InterfaceIndex>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterServiceType">
        <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
        <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>
        <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterServiceType">
        <VLANNormalization>Normalize to None</VLANNormalization>
        <BurstPeriod>35</BurstPeriod>
        <VPLSId>2147467288</VPLSId>
        <AutoDiscovery>false</AutoDiscovery>
        </ServiceParameters>
        <Reference>
        <ServiceOrder uri="/api/space/nsas/elan-vpls/service-management/service-orders/884970" href="/api/space/nsas/elan-vpls/service-management/service-orders/884970" key="884970"/>
        <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>
        <Customer uri="/api/space/nsas/customer-management/customers/558229" href="/api/space/nsas/customer-management/customers/558229" key="558229"/>
        </Reference>
        </Service>
        </ServiceResource>
        </Data>
    
    

    Get an ELAN VPLS BGP Point-to-Multipoint Service with Pseudowire Redundancy By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS BGP service pseudowire redundancy.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS BGP service pseudowire redundancy.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service
    			href="/api/space/nsas/elan-vpls/service-management/services/3113036"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3113036"
    			key="3113036">
    			<Common>
    				<Name>VPLS_BGP_STITCH_REDU</Name>
    				<Identity>3113036</Identity>
    				<State>Deployed</State>
    				<CreatedDate>2013-03-02T11:39:45.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-02T11:39:45.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3244048" uri="/api/space/nsas/device-roles/pe-devices/3244048"
    						key="3244048">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3244048</DeviceID>
    						<CMPDeviceID>3211292</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>555</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/3244057" uri="/api/space/nsas/device-roles/pe-devices/3244057"
    						key="3244057">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3244057</DeviceID>
    						<CMPDeviceID>3211280</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/8</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>2</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>555</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/3244100" uri="/api/space/nsas/device-roles/pe-devices/3244100"
    						key="3244100">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3244100</DeviceID>
    						<CMPDeviceID>3211300</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>555</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<Hub>false</Hub>
    						<EnableP2PSpoke>true</EnableP2PSpoke>
    						<VCID>2147467334</VCID>
    						<HubConnectivityName>MG_Default</HubConnectivityName>
    						<NeighbourHub>jaipur</NeighbourHub>
    						<BackupNeighbourHub>kochin</BackupNeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<VLANNormalization>Normalize to QinQ</VLANNormalization>
    				<QinQVLANOuterTag>555</QinQVLANOuterTag>
    				<QinQVLANInnerTag>555</QinQVLANInnerTag>
    				<AutoDiscovery>false</AutoDiscovery>
    				<RevertTime>5</RevertTime>
    				<SwitchOverDelay>0</SwitchOverDelay>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="3113010"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3113010"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3113010" />
    				<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>
    				<Customer key="852056"
    					href="/api/space/nsas/customer-management/customers/852056" uri="/api/space/nsas/customer-management/customers/852056" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get an ELAN VPLS LDP Point-to-Multipoint Service with Pseudowire Redundancy By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS LDP service pseudowire redundancy.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS LDP service 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>
    		<Service
    			href="/api/space/nsas/elan-vpls/service-management/services/5636189"
    			uri="/api/space/nsas/elan-vpls/service-management/services/5636189"
    			key="5636189">
    			<Common>
    				<Name>VPLS_LDP_Redundency</Name>
    				<Identity>5636189</Identity>
    				<State>Deployed</State>
    				<Comments> </Comments>
    				<CreatedDate>2013-01-10T15:15:32.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-01-10T15:15:32.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341207" uri="/api/space/nsas/device-roles/pe-devices/5341207"
    						key="5341207">
    						<DeviceName>junos-m10-1-space</DeviceName>
    						<DeviceID>5341207</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/3/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>789</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>
    						<NeighbourHub>junos-mx240-space</NeighbourHub>
    						<BackupNeighbourHub>junos-mx480-space</BackupNeighbourHub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341288" uri="/api/space/nsas/device-roles/pe-devices/5341288"
    						key="5341288">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>5341288</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/2/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>789</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/5341242" uri="/api/space/nsas/device-roles/pe-devices/5341242"
    						key="5341242">
    						<DeviceName>junos-mx480-space</DeviceName>
    						<DeviceID>5341242</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-5/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSLDPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>789</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>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<VPLSId>2147467307</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    				<RevertTime>5</RevertTime>
    				<SwitchOverDelay>0</SwitchOverDelay>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="5636168"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/5636168"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/5636168" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="5636142"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/5636142"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/5636142" />
    				</ServiceDefinition>
    				<Customer key="819263"
    					href="/api/space/nsas/customer-management/customers/819263" uri="/api/space/nsas/customer-management/customers/819263" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get an ELAN VPLS BGP Service with Manual Route Distinguisher and Route Target By Service ID

    This request is used to retrieve the details of a particular ELAN VPLS BGP service with manually-configured route distinguisher and route target.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS BGP service with manually-configured route distinguisher and route target.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service
    			href="/api/space/nsas/elan-vpls/service-management/services/1540164"
    			uri="/api/space/nsas/elan-vpls/service-management/services/1540164"
    			key="1540164">
    			<Common>
    				<Name>Test-Vpls-Service</Name>
    				<Identity>1540164</Identity>
    				<State>Deployed</State>
    				<CreatedDate>2013-02-25T17:39:49.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-25T17:39:49.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1474568" uri="/api/space/nsas/device-roles/pe-devices/1474568"
    						key="1474568">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>1474568</DeviceID>
    						<CMPDeviceID>1376280</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/2/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</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/1474653" uri="/api/space/nsas/device-roles/pe-devices/1474653"
    						key="1474653">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>1474653</DeviceID>
    						<CMPDeviceID>1376300</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-vpls</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<RouteTarget>12:46565465</RouteTarget>
    				<VLANNormalization>Normalize to Dot1q</VLANNormalization>
    				<Dot1QVLANTag>12</Dot1QVLANTag>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="1540151"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/1540151"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/1540151" />
    				<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>
    				<Customer key="1081493"
    					href="/api/space/nsas/customer-management/customers/1081493" uri="/api/space/nsas/customer-management/customers/1081493" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Modify an ELAN VPLS BGP Service with Pseudowire Redundancy

    This request is used to modify an ELAN VPLS BGP service with pseudowire redundancy.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/{service-Id}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an ELAN VPLS BGP service with pseudowire redundancy.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>vpls_p2m_bgp_redundancy_modify</Name>			
    			</Common>			
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3244048" uri="/api/space/nsas/device-roles/pe-devices/3244048"
    						key="3244048">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3244048</DeviceID>
    						<CMPDeviceID>3211292</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    					
    						<CustomerVlanId>567</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/3244261" uri="/api/space/nsas/device-roles/pe-devices/3244261"
    						key="3244261">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>3244261</DeviceID>
    						<CMPDeviceID>3211327</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">									
    						<CustomerVlanId>567</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/3244057" uri="/api/space/nsas/device-roles/pe-devices/3244057"
    						key="3244057">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>3244057</DeviceID>
    						<CMPDeviceID>3211280</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">
    						
    						<CustomerVlanId>567</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>junos-mx240-space</BackupNeighbourHub>
    					</ServiceEndpointConfiguration>
    					
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3244100" uri="/api/space/nsas/device-roles/pe-devices/3244100"
    						key="3244100">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3244100</DeviceID>
    						<CMPDeviceID>3211300</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterServiceType">	
    						<CustomerVlanId>567</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						
    						<Hub>true</Hub>
    					</ServiceEndpointConfiguration>				
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<VLANNormalization>Normalize to QinQ</VLANNormalization>
    				<HubRouteTarget>100:114733</HubRouteTarget>
    				<QinQVLANOuterTag>512</QinQVLANOuterTag>
    				<QinQVLANInnerTag>555</QinQVLANInnerTag>			
    			</ServiceParameters>			
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output

    Sample XML Output

    Modify an ELAN VPLS BGP Service with Addition of a Site

    This request is used to modify an ELAN VPLS BGP service with addition of a site.

    URI

    api/space/nsas/elan-vpls/service-management/services/
    {service-Id}/add-sites

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an ELAN VPLS BGP service with addition of a site.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						 <DeviceName>junos-mx240-space</DeviceName>
    <DeviceID>491533</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/8</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<UnitId>45</UnitId>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType">
    		<Action>SaveAndValidate</Action>
    	</CustomAction>
    </Data>
    
    	
    

    Output

    Sample XML Output

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

    Modify an ELAN VPLS BGP Service with Updates to an Existing Site Parameters

    This request is used to modify an ELAN VPLS BGP service with updates to an already existing endpoint or site.

    URI

    api/space/nsas/elan-vpls/service-management/services/
    {service-Id}/

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an ELAN VPLS BGP service with updates to an already existing endpoint or site.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<ServiceType>VPLS</ServiceType>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>524404</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<MTU>1524</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>			
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output

    Sample XML Output

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

    Modify an ELAN VPLS BGP Service with Deletion of a Site

    This request is used to modify an ELAN VPLS BGP service with deletion of a site.

    URI

    api/space/nsas/elan-vpls/service-management/services/
    {service-Id}/delete-sites

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an ELAN VPLS BGP service with deletion of a site.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>524349</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>				
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>			
    		</ServiceOrder>
    	</ServiceResource>
    <CustomAction xsi:type="ServiceCustomActionType">
    		<Action>SaveAndValidate</Action>
    	</CustomAction>
    </Data>
     
    

    Output

    Sample XML Output

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

    Modify an ELAN VPLS BGP Service for Service Name and Endpoint Details

    This request is used to modify an ELAN VPLS BGP service for service name and endpoint information.

    URI

    api/space/nsas/elan-vpls/service-management/services/
    {service-Id}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an ELAN VPLS BGP service with updates to service name and endpoint details.

    Input

    Sample XML Input

      
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<ServiceType>VPLS</ServiceType>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>1048729</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/3/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<MTU>1524</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>			
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output

    Sample XML Output

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

    Get All ELAN VPLS BGP Services

    This request is used to retrieve all the configured ELAN VPLS BGP services.

    URI

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

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.servicesxml

    Produces

    Collects all the configured ELAN VPLS BGP services.

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="2">
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3112986"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3112986" key="3112986">
    			<Common>
    				<Name>Ser3</Name>
    				<Identity>3112986</Identity>
    				<State>Deployed</State>
    				<Comments>Ser3</Comments>
    				<CreatedDate>2012-09-22T12:07:23.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:07:23.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<Reference>
    				<ServiceOrder key="3112974"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3112974"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3112974" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3113013"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3113013" key="3113013">
    			<Common>
    				<Name>Ser1</Name>
    				<Identity>3113013</Identity>
    				<State>Deployed</State>
    				<Comments>Ser1</Comments>
    				<CreatedDate>2012-09-22T12:10:26.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:10:26.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<Reference>
    				<ServiceOrder key="3113001"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3113001"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3113001" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
     
    

    Get All ELAN VPLS BGP Services By Customer ID or Name

    This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P services based on customer name or customer ID.

    URI

    api/space/nsas/elan-vpls/service-management/services
    ?customerId=360448

    api/space/nsas/elan-vpls/service-management/services
    ?customerName=Customer_005

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured ELAN VPLS BGP services 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="2">
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3112986"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3112986" key="3112986">
    			<Common>
    				<Name>Ser3</Name>
    				<Identity>3112986</Identity>
    				<State>Deployed</State>
    				<Comments>Ser3</Comments>
    				<CreatedDate>2012-09-22T12:07:23.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:07:23.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<Reference>
    				<ServiceOrder key="3112974"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3112974"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3112974" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3113013"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3113013" key="3113013">
    			<Common>
    				<Name>Ser1</Name>
    				<Identity>3113013</Identity>
    				<State>Deployed</State>
    				<Comments>Ser1</Comments>
    				<CreatedDate>2012-09-22T12:10:26.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:10:26.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<Reference>
    				<ServiceOrder key="3113001"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3113001"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3113001" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
     <h4><span id="vplsserss"></span>4.9 Get All Services with Sorting/Searching/Pagination--VPLS    <a href="#contents" style="font-size:14px;">[ ▴Top ]</a></h4>
    <p>
        <b><u>URI1</u></b>
        :
        <a>
            api/space/nsas/elan-vpls/service-management/services?sortorder=desc&sortedby=Name&filteredby="Name::Ser
        </a>
    </p>
    <p>
        <b><u>METHOD</u></b>
        : GET
    </p>
    <p>
        <b><u>Accept:</u></b>
        application/vnd.net.juniper.space.service-management.services+xml;version=2
    </p>
    <p>
        <b><u>Sample Response</u></b>
        <u>:</u>
    </p>
    <textarea rows="25" spellcheck=false readonly=true style="background-color: lightyellow;width: 1250px; height: 200px;">
     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="2">
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3112986"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3112986" key="3112986">
    			<Common>
    				<Name>Ser3</Name>
    				<Identity>3112986</Identity>
    				<State>Deployed</State>
    				<Comments>Ser3</Comments>
    				<CreatedDate>2012-09-22T12:07:23.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:07:23.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<Reference>
    				<ServiceOrder key="3112974"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3112974"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3112974" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    		<Service href="/api/space/nsas/elan-vpls/service-management/services/3113013"
    			uri="/api/space/nsas/elan-vpls/service-management/services/3113013" key="3113013">
    			<Common>
    				<Name>Ser1</Name>
    				<Identity>3113013</Identity>
    				<State>Deployed</State>
    				<Comments>Ser1</Comments>
    				<CreatedDate>2012-09-22T12:10:26.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-09-22T12:10:26.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<Reference>
    				<ServiceOrder key="3113001"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/3113001"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/3113001" />
    				<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>
    				<Customer key="1048781"
    					href="/api/space/nsas/customer-management/customers/1048781" uri="/api/space/nsas/customer-management/customers/1048781" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get ELAN VPLS BGP Service Details By Service ID

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

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific ELAN VPLS BGP service by service ID.

    Output (Version 2)

    Sample XML Output

     <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <Service key="2785331" uri="/api/space/nsas/elan-vpls/service-management/services/2785331" href="/api/space/nsas/elan-vpls/service-management/services/2785331">
    <Common>
    <Name>VPLSSO_BGP_MDFSO_2014-07-2217-28-55.366</Name>
    <Identity>2785331</Identity>
    <State>Deployed</State>
    <CreatedDate>2014-07-22T17:33:57.000+05:30</CreatedDate>
    <LastUpdatedDate>2014-07-22T17:33:57.000+05:30</LastUpdatedDate>
    </Common>
    <ServiceType>VPLS</ServiceType>
    <AuditFlag>
    <FunctionalAudit>Pending</FunctionalAudit>
    <FaultStatus>None</FaultStatus>
    <SLAStatus>None</SLAStatus>
    </AuditFlag>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="524482" uri="/api/space/nsas/device-roles/pe-devices/524482" href="/api/space/nsas/device-roles/pe-devices/524482">
    <DeviceName>amx-1100-a</DeviceName>
    <DeviceID>524482</DeviceID>
    <CMPDeviceID>131285</CMPDeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/3/4</InterfaceName>
    <InterfaceIndex>566</InterfaceIndex>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    <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="524482" uri="/api/space/nsas/device-roles/pe-devices/524482" href="/api/space/nsas/device-roles/pe-devices/524482">
    <DeviceName>amx-1100-a</DeviceName>
    <DeviceID>524482</DeviceID>
    <CMPDeviceID>131285</CMPDeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/3/5</InterfaceName>
    <InterfaceIndex>567</InterfaceIndex>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    <UNIDescription>N/A</UNIDescription>
    <VlanId>12</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>12</UnitId>
    </ServiceEndpointConfiguration>
    <ServiceTemplates/>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterServiceType">
    <RouteTarget>69:1454096390</RouteTarget>
    <VLANNormalization>Not Normalized</VLANNormalization>
    <AutoDiscovery>false</AutoDiscovery>
    </ServiceParameters>
    <Reference>
    <ServiceOrder uri="/api/space/nsas/elan-vpls/service-management/service-orders/2785319" href="/api/space/nsas/elan-vpls/service-management/service-orders/2785319" key="2785319"/>
    <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>
    <Customer uri="/api/space/nsas/customer-management/customers/524831" href="/api/space/nsas/customer-management/customers/524831" key="524831"/>
    </Reference>
    </Service>
    </ServiceResource>
    </Data>
    

    Force-Deploy an ELAN VPLS BGP Service

    This request is used to forcibly deploy a previously created ELAN VPLS BGP service.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/{serviceId}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

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

    • DeployNow
    • DeployLater

    Produces

    Forcibly deploys a previously created ELAN VPLS BGP service.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                   <CustomAction xsi:type="ServiceCustomActionType">
                               <Action>DeployNow</Action>
                     </CustomAction>
    </Data>
     
    

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>Service</Type>
    			<Value>3112986</Value>
    		</Identity>
    		<Job>
    			<ID>1245202</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Force Deploy was Successfully triggered. Please check
    			the status using the JOB ID.</Message>
    	</Status>
    </Data>
     
    

    Bulk Force-Deploy an ELAN VPLS Service

    This request is used to forcibly deploy previously created services in a bulk operation.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/{serviceId}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

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

    • DeployNow
    • DeployLater

    Produces

    Forcibly deploys previously created services in a bulk operation.

    Input (Bulk Force-Deploy Immediately)

    Sample XML Input

    <Data  xmlns="services.schema.networkapi.jmp.juniper.net"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd">
              <Identity>
    		<Type>Service</Type>
    		<Value>1085688</Value>
              </Identity>
               <Identity>
    		<Type>Service</Type>
    		<Value>1085713</Value>
                </Identity>
                <Identity>
    		<Type>Service</Type>
    		<Value>1085724</Value>
                 </Identity>
                 <CustomAction xsi:type="ServiceCustomActionType">
                                <Action>DeployNow</Action>
              </CustomAction>
    </Data>
    

    Input (Bulk Force-Deploy Later)

    Sample XML Input

    <Data  xmlns="services.schema.networkapi.jmp.juniper.net"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd">
              <Identity>
    		<Type>Service</Type>
    		<Value>1085688</Value>
              </Identity>
               <Identity>
    		<Type>Service</Type>
    		<Value>1085713</Value>
                </Identity>
                <Identity>
    		<Type>Service</Type>
    		<Value>1085724</Value>
                 </Identity>
    
               <CustomAction xsi:type="ServiceCustomActionType">
                             <Action>DeployLater</Action>
                              <ScheduledDateTime> 2014-11-12T12:15:18.000</ScheduledDateTime>
                </CustomAction>
    </Data>
    

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <Status>
          <Identity>
             <Type>Service</Type>
             <Value>1638623</Value>
          </Identity>
          <Job>
             <ID>622725</ID>
             <Status>INPROGRESS</Status>
          </Job>
          <Code>200</Code>
          <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message>
       </Status>
       <Status>
          <Identity>
             <Type>Service</Type>
             <Value>1638634</Value>
          </Identity>
          <Job>
             <ID>622730</ID>
             <Status>INPROGRESS</Status>
          </Job>
          <Code>200</Code>
          <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message>
       </Status>
    </Data>
    

    Bulk Decommission ELAN VPLS Services

    This request is used to decommission previously created services in a bulk operation..

    URI

    api/space/nsas/elan-vpls/service-management/
    services/{serviceId}

    HTTP Method

    DELETE

    Content-Type

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

    Consumes

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

    Produces

    Performs a single-step, wholesale decommissioning of previously created services.

    Input (Bulk Decommission Immediately)

    Sample XML Input

    <Data  xmlns="services.schema.networkapi.jmp.juniper.net"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd">
              <Identity>
    		<Type>Service</Type>
    		<Value>1085688</Value>
              </Identity>
               <Identity>
    		<Type>Service</Type>
    		<Value>1085713</Value>
                </Identity>
                <Identity>
    		<Type>Service</Type>
    		<Value>1085724</Value>
                 </Identity>
                 <CustomAction xsi:type="ServiceCustomActionType">
                                <Action>DecommissionNow</Action>
              </CustomAction>
    </Data>
    

    Input (Bulk Decommission Later)

    Sample XML Input

    <Data  xmlns="services.schema.networkapi.jmp.juniper.net"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd">
              <Identity>
    		<Type>Service</Type>
    		<Value>1085688</Value>
              </Identity>
               <Identity>
    		<Type>Service</Type>
    		<Value>1085713</Value>
                </Identity>
                <Identity>
    		<Type>Service</Type>
    		<Value>1085724</Value>
                 </Identity>
    
               <CustomAction xsi:type="ServiceCustomActionType">
                             <Action>DecommissionLater</Action>
                              <ScheduledDateTime> 2014-11-12T12:15:18.000</ScheduledDateTime>
                </CustomAction>
    </Data>
    

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
       <Status>
          <Identity>
             <Type>Service</Type>
             <Value>1638623</Value>
          </Identity>
          <Job>
             <ID>622760</ID>
             <Status>INPROGRESS</Status>
          </Job>
          <Code>200</Code>
          <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message>
       </Status>
       <Status>
          <Identity>
             <Type>Service</Type>
             <Value>1638634</Value>
          </Identity>
          <Job>
             <ID>622761</ID>
             <Status>INPROGRESS</Status>
          </Job>
          <Code>200</Code>
          <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message>
       </Status>
    </Data>
    

    Decommission an ELAN VPLS BGP Service Immediately

    This request is used to decommission a previously created ELAN VPLS BGP service immediately.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/{serviceId}

    HTTP Method

    DELETE

    Content-Type

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

    Produces

    Decommissions a previously created ELAN VPLS BGP service immediately.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                   <CustomAction xsi:type="ServiceCustomActionType">
                               <Action>DecommissionNow</Action>
                     </CustomAction>
    </Data>
     
    

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>Service</Type>
    			<Value>3112986</Value>
    		</Identity>
    		<Job>
    			<ID>1245209</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Decommission was Successfully triggered. Please check
    			the status using the JOB ID.</Message>
    	</Status>
    </Data>
     
    

    Get VPLS Service Details with Endpoints Paginated

    This request is used to get VPLS service details with endpoints paginated.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/paging

    HTTP Method

    GET

    Content-Type

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

    Produces

    Gets VPLS BGP service details..

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="true"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <Service href="/api/space/nsas/elan-vpls/service-management/services/9569287" uri="/api/space/nsas/elan-vpls/service-management/services/9569287" key="9569287">
    <Common>
    <Name>VPLS-3213210</Name>
    <Identity>9569287</Identity>
    <State>Deployed</State>
    <CreatedDate>2016-06-26T21:41:23.000+05:30</CreatedDate>
    <LastUpdatedDate>2016-06-26T22:57:05.000+05:30</LastUpdatedDate>
    </Common>
    <ServiceType>VPLS</ServiceType>
    <Signalling>BGP</Signalling>
    <AuditFlag>
    <FunctionalAudit>Pending</FunctionalAudit>
    <ConfigurationAudit>Pending</ConfigurationAudit>
    <FaultStatus>None</FaultStatus>
    <SLAStatus>None</SLAStatus>
    <OverallStatus>N/A</OverallStatus>
    </AuditFlag>
    <endpointcount>14</endpointcount>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA href="/api/space/nsas/device-roles/pe-devices/917507" uri="/api/space/nsas/device-roles/pe-devices/917507" key="917507">
    <DeviceName>480R3_EL_AB_re</DeviceName>
    <DeviceID>917507</DeviceID>
    <CMPDeviceID>458774</CMPDeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/4</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSBGPEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <PhysicalEncapsulation>flexible-ethernet-services</PhysicalEncapsulation>
    <EthernetOption>qinq</EthernetOption>
    <UNIDescription>N/A</UNIDescription>
    <VlanId>555</VlanId>
    <MTU>1522</MTU>
    <Bandwidth unit="Mbps">10</Bandwidth>
    <MACLearning>false</MACLearning>
    <InterfaceMACLimit>1024</InterfaceMACLimit>
    <MACStatistics>false</MACStatistics>
    <MACTableSize>5120</MACTableSize>
    <OuterTPID>None</OuterTPID>
    <UnitId>34</UnitId>
    <CFMIntfEnabled>false</CFMIntfEnabled>
    </ServiceEndpointConfiguration>
    <ServiceTemplates/>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceParameters xsi:type="VPLSConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <TrafficType>Transport all traffic</TrafficType>
    <RouteTarget>36000:20</RouteTarget>
    <VLANNormalization>Normalize All</VLANNormalization>
    <MTUFactor>10</MTUFactor>
    <RouteDistinguisher>36000:35</RouteDistinguisher>
    <AutoDiscovery>false</AutoDiscovery>
    </ServiceParameters>
    <Reference>
    <ServiceOrder href="/api/space/nsas/elan-vpls/service-management/service-orders/9569214" uri="/api/space/nsas/elan-vpls/service-management/service-orders/9569214" key="9569214"/>
    <ServiceDefinition>
    <ServiceDefinitionID href="/api/space/nsas/elan-vpls/service-management/service-definitions/9569105" uri="/api/space/nsas/elan-vpls/service-management/service-definitions/9569105" key="9569105">
    <ServiceDefinitionName>VPLS_Def</ServiceDefinitionName>
    </ServiceDefinitionID>
    </ServiceDefinition>
    <Customer href="/api/space/nsas/customer-management/customers/917644" uri="/api/space/nsas/customer-management/customers/917644" key="917644">
    <CustomerName>Juniper</CustomerName>
    </Customer>
    </Reference>
    </Service>
    </ServiceResource>
    </Data>

    Submit modified VPLS Service

    This request submits modified VPLS service.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/1869230/update-sites

    HTTP Method

    SUBMIT

    Content-Type

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

    Produces

    Submits modified VPLS service.

    Input

    Sample XML Intput

    <?xml version="1.0"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder>
    <Common>
    <Name>VPLS_PMP_LDP_modify_Jul-05-2016_14-47</Name>
    <CreatedBy>super</CreatedBy>
    </Common>
    <DeletedDeviceInfo>
    <DeviceInfo>
    <NA>
    <DeviceName>960R1_EN_Alok_re</DeviceName>
    <DeviceID>2097235</DeviceID>
    </NA>
    </DeviceInfo>
    </DeletedDeviceInfo>
    <HubSpokeDevicesInfo>
    <HubSpokeDeviceInfo>
    <SpokeDeviceName>960R2_EN_Alok_re</SpokeDeviceName>
    <NeighbourHub>480R3_EN_Alok_re</NeighbourHub>
    <EnableP2PSpoke>false</EnableP2PSpoke>
    <BackUpNeighbourHub>480R3_SV_Alok_re</BackUpNeighbourHub>
    </HubSpokeDeviceInfo>
    <HubSpokeDeviceInfo>
    <SpokeDeviceName>480R4_EN_Alok_re</SpokeDeviceName>
    <NeighbourHub>480R3_EN_Alok_re</NeighbourHub>
    <EnableP2PSpoke>true</EnableP2PSpoke>
    <BackUpNeighbourHub>480R3_SV_Alok_re</BackUpNeighbourHub>
    </HubSpokeDeviceInfo>
    </HubSpokeDevicesInfo>
    <ServiceEndPointGroup>
    <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
    <DeviceInfo>
    <NA>
    <DeviceName>960R2_EN_Alok_re</DeviceName>
    <DeviceID>2097154</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/5</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSHSLDPEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <NeighbourHub>480R3_EN_Alok_re</NeighbourHub>
    <BackupNeighbourHub>480R3_SV_Alok_re</BackupNeighbourHub>
    <Hub>false</Hub>
    <UnitId>1</UnitId>
    <VlanId>1</VlanId>
    <UNIDescription>N/A</UNIDescription>
    </ServiceEndpointConfiguration>
    <OppType>MODIFY-ENDPOINT</OppType>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
    <DeviceInfo>
    <NA>
    <DeviceName>480R4_EN_Alok_re</DeviceName>
    <DeviceID>2097181</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/6</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSHSLDPEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <EnableP2PSpoke>true</EnableP2PSpoke>
    <VCID>999</VCID>
    <HubConnectivityName>VPLS_PMP_LDP</HubConnectivityName>
    <NeighbourHub>480R3_EN_Alok_re</NeighbourHub>
    <BackupNeighbourHub>480R3_SV_Alok_re</BackupNeighbourHub>
    <Hub>false</Hub>
    <UnitId>1</UnitId>
    <VlanId>1</VlanId>
    <UNIDescription>N/A</UNIDescription>
    </ServiceEndpointConfiguration>
    <OppType>MODIFY-ENDPOINT</OppType>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
    <DeviceInfo>
    <NA>
    <DeviceName>960R1_EN_Alok_re</DeviceName>
    <DeviceID>2097235</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/6</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSHSLDPEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Hub>true</Hub>
    <UnitId>2</UnitId>
    <VlanId>2</VlanId>
    <UNIDescription>N/A</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
    <DeviceInfo>
    <NA>
    <DeviceName>960R1_EN_Alok_re</DeviceName>
    <DeviceID>2097235</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/6</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSHSLDPEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Hub>true</Hub>
    <UnitId>2</UnitId>
    <VlanId>2</VlanId>
    <UNIDescription>N/A</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
    <DeviceInfo>
    <NA>
    <DeviceName>480R3_EN_Alok_re</DeviceName>
    <DeviceID>2097208</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/5</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSHSLDPEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Hub>true</Hub>
    <UnitId>1</UnitId>
    <VlanId>1</VlanId>
    <UNIDescription>N/A</UNIDescription>
    </ServiceEndpointConfiguration>
    <OppType>DELETE</OppType>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD>
    <DeviceInfo>
    <OppType>ADD</OppType>
    <NA>
    <DeviceName>480R3_SV_Alok_re</DeviceName>
    <DeviceID>2097285</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/4</InterfaceName>
    <ServiceEndpointConfiguration xsi:type="VPLSHSLDPEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Hub>true</Hub>
    <AutoPickUnitId>true</AutoPickUnitId>
    <AutoPickVlanId>true</AutoPickVlanId>
    </ServiceEndpointConfiguration>
    <OppType>ADD</OppType>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xsi:type="VPLSConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <HubRouteTarget AutoPick="true"/>
    <SpokeRouteTarget AutoPick="true"/>
    <RouteDistinguisher>undefined</RouteDistinguisher>
    <RouteTarget AutoPick="true"/>
    <RouteTarget_AutoPick>false</RouteTarget_AutoPick>
    </ServiceOrderParameter>
    </ServiceOrder>
    </ServiceResource>
    <CustomAction xsi:type="ServiceCustomActionType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Action>SaveAndValidate</Action>
    </CustomAction>
    </Data>

    Output

    Sample XML Output

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

    Modified: 2016-07-14