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

    Multicast VPN Service and Service Orders Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Multicast VPN (MVPN) Services and Service Orders Management RESTful Web Services.

    Get MVPN Service Definition Details By Definition ID

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

    URI

    api/space/nsas/l3vpn/service-management/service-definitions/
    <servicedefinition-Id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific MVPN service definition.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition
    			href="/api/space/nsas/l3vpn/service-management/service-definitions/3768526"
    			uri="/api/space/nsas/l3vpn/service-management/service-definitions/3768526"
    			key="3768526">
    			<Common>
    				<Name>Test_MVPN</Name>
    				<Identity>3768526</Identity>
    				<State>Published</State>
    				<Comments>Test_MVPN</Comments>
    				<CreatedDate>2013-09-20T15:03:01.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-09-20T15:03:01.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>L3VPN</ServiceType>
    			<EnableMVPN>true</EnableMVPN>
    			<InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
    				<RouteTarget selection="Auto pick" editable="false" />
    				<RouteDistinguisher selection="Auto pick"
    					editable="false" />
    				<VRFTabelLabel editable="false">true</VRFTabelLabel>
    				<ExportDirectRoutes>true</ExportDirectRoutes>
    				<RoutingProtocol>OSPF/Static Route</RoutingProtocol>
    				<PEInterfaceIP selection="Auto pick" editable="false" />
    				<IPPoolType editable="false">Global</IPPoolType>
    				<AddressBlockSize editable="false">30</AddressBlockSize>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
    				<VlanIdSelection selection="Auto pick" editable="false" />
    				<VlanIdAuto min="0" max="0" />
    				<VlanIdManual min="0" max="0" />
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
    
    
    

    Create an MVPN Service Definition

    This request is used to create an MVPN service definition.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates an MVPN service definition.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition
    			href="/api/space/nsas/l3vpn/service-management/service-definitions/3768526"
    			uri="/api/space/nsas/l3vpn/service-management/service-definitions/3768526"
    			key="3768526">
    			<Common>
    				<Name>Test_MVPNAPI</Name>				
    				<Comments>Test_MVPNAPI</Comments>				
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>L3VPN</ServiceType>
    			<EnableMVPN>true</EnableMVPN>
    			<InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
    				<RouteTarget selection="Auto pick" editable="false" />
    				<RouteDistinguisher selection="Auto pick"
    					editable="false" />
    				<VRFTabelLabel editable="false">true</VRFTabelLabel>
    				<ExportDirectRoutes>true</ExportDirectRoutes>
    				<RoutingProtocol>OSPF/Static Route</RoutingProtocol>
    				<PEInterfaceIP selection="Auto pick" editable="false" />
    				<IPPoolType editable="false">Global</IPPoolType>
    				<AddressBlockSize editable="false">30</AddressBlockSize>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
    				<VlanIdSelection selection="Auto pick" editable="false" />
    				<VlanIdAuto min="0" max="0" />
    				<VlanIdManual min="0" max="0" />
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
    
    
    

    Get an MVPN Service Order

    This request is used to retrieve the details of a particular MVPN service order, based on the service order ID.

    URI

    api/space/nsas/l3vpn/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific MVPN service order.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/l3vpn/service-management/service-orders/3768422"
    			uri="/api/space/nsas/l3vpn/service-management/service-orders/3768422"
    			key="3768422">
    			<Common>
    				<Name>tes_miver</Name>
    				<Identity>3768422</Identity>
    				<State>Completed</State>
    				<Comments>ter</Comments>
    				<CreatedDate>2013-09-13T15:27:03.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-09-13T15:28:13.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>l3vpn</ServiceType>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/8</InterfaceName>
    					<InterfaceIndex>530</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>2</VlanId>
    						<InterfaceIP>10.0.77.21</InterfaceIP>
    						<RouteDistinguisher>100:47349771</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-1/1/8.2 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<MVPNMode>rpt-spt</MVPNMode>
    							<ProviderTunnelType>RSVP-TE</ProviderTunnelType>
    							<RSVPLSPName>P2MP_API_Test_Path</RSVPLSPName>
    							<SiteType>sender-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>lo0</InterfaceName>
    					<InterfaceIndex>6</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>0</VlanId>
    						<UnitID>29</UnitID>
    						<InterfaceIP>10.0.88.13</InterfaceIP>
    						<RouteDistinguisher>100:47349771</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-1/1/8.2 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<MVPNMode>rpt-spt</MVPNMode>
    							<ProviderTunnelType>RSVP-TE</ProviderTunnelType>
    							<RSVPLSPName>P2MP_API_Test_Path</RSVPLSPName>
    							<SiteType>sender-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440699" uri="/api/space/nsas/device-roles/pe-devices/3440699"
    						key="3440699">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3440699</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<InterfaceIndex>795</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>6</VlanId>
    						<InterfaceIP>10.0.77.25</InterfaceIP>
    						<RouteDistinguisher>100:47349772</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-0/0/3.6 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<SiteType>receiver-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440699" uri="/api/space/nsas/device-roles/pe-devices/3440699"
    						key="3440699">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3440699</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>lo0</InterfaceName>
    					<InterfaceIndex>6</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>0</VlanId>
    						<UnitID>29</UnitID>
    						<InterfaceIP>10.0.88.14</InterfaceIP>
    						<RouteDistinguisher>100:47349772</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-0/0/3.6 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<SiteType>receiver-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="L3VPNConfigParameterOrderType">
    				<RouteTarget>100:2</RouteTarget>
    				<VRFTabelLabel>true</VRFTabelLabel>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="3440819"
    					href="/api/space/nsas/customer-management/customers/3440819" uri="/api/space/nsas/customer-management/customers/3440819" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="425998"
    						href="/api/space/nsas/l3vpn/service-management/service-definitions/425998"
    						uri="/api/space/nsas/l3vpn/service-management/service-definitions/425998" />
    				</ServiceDefinition>
    				<Service key="3768471"
    					href="/api/space/nsas/l3vpn/service-management/services/3768471"
    					uri="/api/space/nsas/l3vpn/service-management/services/3768471" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Create an MVPN Service Order

    This request is used to create a multicast VPN service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates an MVPN service order.

    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>tes_miverAPI</Name>
    				<Comments>ter</Comments>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>l3vpn</ServiceType>
    			<EnableMVPN>true</EnableMVPN>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/8</InterfaceName>
    					<InterfaceIndex>530</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<AutoPickVlanID>false</AutoPickVlanID>
    						<VlanId>3</VlanId>
    						<InterfaceIP>10.0.88.0</InterfaceIP>
    						<RouteDistinguisher>100:47349771</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-1/1/8.2 lo0.35</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.35</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<MVPNMode>rpt-spt</MVPNMode>
    							<ProviderTunnelType>RSVP-TE</ProviderTunnelType>
    							<RSVPLSPName>API_temp</RSVPLSPName>
    							<SiteType>sender-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>lo0</InterfaceName>
    					<InterfaceIndex>6</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>		
    						<UnitID>35</UnitID>
    						<InterfaceIP>10.0.88.13</InterfaceIP>
    						<RouteDistinguisher>100:47349771</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-1/1/8.2 lo0.35</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.35</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<MVPNMode>rpt-spt</MVPNMode>
    							<ProviderTunnelType>RSVP-TE</ProviderTunnelType>
    							<RSVPLSPName>P2MP_API_Test_Path</RSVPLSPName>
    							<SiteType>sender-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440699" uri="/api/space/nsas/device-roles/pe-devices/3440699"
    						key="3440699">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3440699</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<InterfaceIndex>795</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<AutoPickVlanID>false</AutoPickVlanID>
    						<VlanId>7</VlanId>
    						<InterfaceIP>10.0.88.0</InterfaceIP>
    						<RouteDistinguisher>100:47349772</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-0/0/3.6 lo0.35</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.35</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<SiteType>receiver-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440699" uri="/api/space/nsas/device-roles/pe-devices/3440699"
    						key="3440699">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3440699</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>lo0</InterfaceName>
    					<InterfaceIndex>6</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<UnitID>35</UnitID>
    						<InterfaceIP>10.0.88.14</InterfaceIP>
    						<RouteDistinguisher>100:47349772</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-0/0/3.6 lo0.35</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.35</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<SiteType>receiver-site</SiteType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="L3VPNConfigParameterOrderType">
    
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="3440819"
    					href="/api/space/nsas/customer-management/customers/3440819" uri="/api/space/nsas/customer-management/customers/3440819" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="425998"
    						href="/api/space/nsas/l3vpn/service-management/service-definitions/425998"
    						uri="/api/space/nsas/l3vpn/service-management/service-definitions/425998" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Modify an MVPN Service Order

    This request is used to modify a saved MVPN service order.

    URI

    api/space/nsas/l3vpn/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an MVPN service order.

    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>L3UnitTestAPI2</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786447" uri="/api/space/nsas/device-roles/pe-devices/786447"
    						href="/api/space/nsas/device-roles/pe-devices/786447">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786447</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/9</InterfaceName>
    					<InterfaceIndex>525</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType">
    						<UNIDescription>a-End</UNIDescription>
    						<EthernetOption>Dot1Q</EthernetOption>
    						<AutoPickUnitID>false</AutoPickUnitID>
    						<UnitID>171</UnitID>
    						<AutoPickVlanID>false</AutoPickVlanID>
    						<VlanId>151</VlanId>
    						<InterfaceIP AutoPick="true" />
    						<IPAddressPool>10.0.99.0/24</IPAddressPool>
    						<PeerAS>1</PeerAS>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786568" uri="/api/space/nsas/device-roles/pe-devices/786568"
    						href="/api/space/nsas/device-roles/pe-devices/786568">
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>786568</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/0</InterfaceName>
    					<InterfaceIndex>522</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType">
    						<UNIDescription>z-End</UNIDescription>
    						<EthernetOption>QinQ</EthernetOption>
    						<AutoPickUnitID>false</AutoPickUnitID>
    						<UnitID>21</UnitID>
    						<AutoPickVlanID>false</AutoPickVlanID>
    						<VlanId>81</VlanId>
    						<InterfaceIP AutoPick="true" />
    						<IPAddressPool>10.0.99.0/24</IPAddressPool>
    						<CustomerVlanType>Transport single vlan</CustomerVlanType>
    						<CustomerVlan>70</CustomerVlan>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x9100</InnerTPID>
    						<PeerAS>1</PeerAS>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="L3VPNConfigParameterOrderType">
    				<ASOverride>true</ASOverride>
    				<MaximumPrefixes>1</MaximumPrefixes>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/557118"
    					href="/api/space/nsas/customer-management/customers/557118" key="557118" />
    				<ServiceDefinition>
    					<ServiceDefinitionID
    						uri="/api/space/nsas/l3vpn/service-management/service-definitions/425984"
    						href="/api/space/nsas/l3vpn/service-management/service-definitions/425984"
    						key="425984" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    
     
    

    Output

    Sample XML Output

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>L3UnitTestAPI2</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786447" uri="/api/space/nsas/device-roles/pe-devices/786447"
    						href="/api/space/nsas/device-roles/pe-devices/786447">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786447</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/9</InterfaceName>
    					<InterfaceIndex>525</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType">
    						<UNIDescription>a-End</UNIDescription>
    						<EthernetOption>Dot1Q</EthernetOption>
    						<AutoPickUnitID>false</AutoPickUnitID>
    						<UnitID>171</UnitID>
    						<AutoPickVlanID>false</AutoPickVlanID>
    						<VlanId>151</VlanId>
    						<InterfaceIP AutoPick="true" />
    						<IPAddressPool>10.0.99.0/24</IPAddressPool>
    						<PeerAS>1</PeerAS>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786568" uri="/api/space/nsas/device-roles/pe-devices/786568"
    						href="/api/space/nsas/device-roles/pe-devices/786568">
    						<DeviceName>junos-mx80-1-space</DeviceName>
    						<DeviceID>786568</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/0</InterfaceName>
    					<InterfaceIndex>522</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType">
    						<UNIDescription>z-End</UNIDescription>
    						<EthernetOption>QinQ</EthernetOption>
    						<AutoPickUnitID>false</AutoPickUnitID>
    						<UnitID>21</UnitID>
    						<AutoPickVlanID>false</AutoPickVlanID>
    						<VlanId>81</VlanId>
    						<InterfaceIP AutoPick="true" />
    						<IPAddressPool>10.0.99.0/24</IPAddressPool>
    						<CustomerVlanType>Transport single vlan</CustomerVlanType>
    						<CustomerVlan>70</CustomerVlan>
    						<OuterTPID>0x8100</OuterTPID>
    						<InnerTPID>0x9100</InnerTPID>
    						<PeerAS>1</PeerAS>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="L3VPNConfigParameterOrderType">
    				<ASOverride>true</ASOverride>
    				<MaximumPrefixes>1</MaximumPrefixes>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/557118"
    					href="/api/space/nsas/customer-management/customers/557118" key="557118" />
    				<ServiceDefinition>
    					<ServiceDefinitionID
    						uri="/api/space/nsas/l3vpn/service-management/service-definitions/425984"
    						href="/api/space/nsas/l3vpn/service-management/service-definitions/425984"
    						key="425984" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    
     
    

    Get an MVPN Service By Service ID

    This request is used to retrieve the details of a particular MVPN service.

    URI

    api/space/nsas/l3vpn/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific MVPN 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/l3vpn/service-management/services/3768471"
    			uri="/api/space/nsas/l3vpn/service-management/services/3768471" key="3768471">
    			<Common>
    				<Name>tes_miver</Name>
    				<Identity>3768471</Identity>
    				<State>Deployed</State>
    				<Comments>ter</Comments>
    				<CreatedDate>2013-09-13T15:28:12.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-09-13T15:28:12.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>L3VPN</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    				<SLAStatus>None</SLAStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/8</InterfaceName>
    					<InterfaceIndex>530</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>2</VlanId>
    						<InterfaceIP>10.0.77.21</InterfaceIP>
    						<RouteDistinguisher>100:47349771</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-1/1/8.2 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<MVPNMode>rpt-spt</MVPNMode>
    							<ProviderTunnelType>RSVP-TE</ProviderTunnelType>
    							<RSVPLSPName>P2MP_API_Test_Path</RSVPLSPName>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>lo0</InterfaceName>
    					<InterfaceIndex>6</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>0</VlanId>
    						<UnitID>29</UnitID>
    						<InterfaceIP>10.0.88.13</InterfaceIP>
    						<RouteDistinguisher>100:47349771</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-1/1/8.2 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<MVPNMode>rpt-spt</MVPNMode>
    							<ProviderTunnelType>RSVP-TE</ProviderTunnelType>
    							<RSVPLSPName>P2MP_API_Test_Path</RSVPLSPName>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440699" uri="/api/space/nsas/device-roles/pe-devices/3440699"
    						key="3440699">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3440699</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3</InterfaceName>
    					<InterfaceIndex>795</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>6</VlanId>
    						<InterfaceIP>10.0.77.25</InterfaceIP>
    						<RouteDistinguisher>100:47349772</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-0/0/3.6 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440699" uri="/api/space/nsas/device-roles/pe-devices/3440699"
    						key="3440699">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3440699</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>lo0</InterfaceName>
    					<InterfaceIndex>6</InterfaceIndex>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>0</VlanId>
    						<UnitID>29</UnitID>
    						<InterfaceIP>10.0.88.14</InterfaceIP>
    						<RouteDistinguisher>100:47349772</RouteDistinguisher>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    					<MVPNSettings>
    						<PIMSettings>
    							<PIMMode>sparse</PIMMode>
    							<Interface>ge-0/0/3.6 lo0.29</Interface>
    							<RPAddress>
    								<Device>
    									<NA href="/api/space/nsas/device-roles/pe-devices/3440699"
    										uri="/api/space/nsas/device-roles/pe-devices/3440699" key="3440699">
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0.29</Interface>
    							</RPAddress>
    						</PIMSettings>
    						<MVPNSetting>
    							<MVPNType>NG-MVPN</MVPNType>
    							<UpstreamMCHop>false</UpstreamMCHop>
    							<ImportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<Sender>false</Sender>
    								<Receiver>false</Receiver>
    								<TargetSender>false</TargetSender>
    								<TargetReceiver>false</TargetReceiver>
    							</ImportTarget>
    							<ExportTarget>
    								<UnicastTarget>false</UnicastTarget>
    								<AutoPickRT>true</AutoPickRT>
    							</ExportTarget>
    						</MVPNSetting>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="L3VPNConfigParameterServiceType">
    				<RouteTarget>100:2</RouteTarget>
    				<VRFTabelLabel>Enabled</VRFTabelLabel>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="3768422"
    					href="/api/space/nsas/l3vpn/service-management/service-orders/3768422"
    					uri="/api/space/nsas/l3vpn/service-management/service-orders/3768422" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="425998"
    						href="/api/space/nsas/l3vpn/service-management/service-definitions/425998"
    						uri="/api/space/nsas/l3vpn/service-management/service-definitions/425998" />
    				</ServiceDefinition>
    				<Customer key="3440819"
    					href="/api/space/nsas/customer-management/customers/3440819" uri="/api/space/nsas/customer-management/customers/3440819" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
    
    
    

    Modify an MVPN Service

    This request is used to modify an MVPN service for service name and endpoint information.

    URI

    api/space/nsas/l3vpn/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 MVPN 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>
    			<EnableMVPN>true</EnableMVPN>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3440703" uri="/api/space/nsas/device-roles/pe-devices/3440703"
    						key="3440703">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3440703</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/8</InterfaceName>
    					<MVPNSettings>
    						<PIMSettings>
    							<RPAddress>
    								<Device>
    									<NA>
    										<DeviceName>jaipur</DeviceName>
    										<DeviceID>3440699</DeviceID>
    									</NA>
    								</Device>
    								<Interface>lo0</Interface>
    							</RPAddress>
    							<RPAddress>
    								<Device>
    									<NA>
    										<DeviceName>embassy</DeviceName>
    										<DeviceID>3440703</DeviceID>
    									</NA>
    								</Device>
    								<Interface>ge-1/1/1</Interface>
    							</RPAddress>
    						</PIMSettings>
    					</MVPNSettings>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Bulk Decommission MVPN Services

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

    URI

    api/space/nsas/l3vpn/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>
    

    Deactivation of an MVPN Service

    This request is used to deactivate a previously created service.

    URI

    api/space/nsas/l3vpn/service-management/
    services/{serviceId}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Deactivates a previously created service.

    Input ( Deactivation Immediately)

    Sample XML Input

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

    Input (Deactivation Later)

    Sample XML Input

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

    Output

    Sample XML Output

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

    Bulk Deactivation of MVPN Services

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

    URI

    api/space/nsas/l3vpn/service-management/
    services/{serviceId}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Performs a single-step deactivation of previously created services.

    Input (Bulk Deactivation Immediately)

    Sample XML Input

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

    Input (Bulk Deactivation Later)

    Sample XML Input

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

    Output

    Sample XML Output

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

    Reactivation of an MVPN Service

    This request is used to reactivate a previously created service.

    URI

    api/space/nsas/l3vpn/service-management/
    services/{serviceId}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Reactivates a previously created service.

    Input (Reactivation Immediately)

    Sample XML Input

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

    Input (Reactivation Later)

    Sample XML Input

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

    Output

    Sample XML Output

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

    Bulk Reactivation of MVPN Services

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

    URI

    api/space/nsas/l3vpn/service-management/
    services/{serviceId}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Performs a single-step reactivation of previously created services.

    Input (Bulk Reactivation Immediately)

    Sample XML Input

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

    Input (Bulk Reactivation Later)

    Sample XML Input

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

    Output

    Sample XML Output

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

    Decommission an MVPN Service Immediately

    This request is used to decommission a previously created MVPN service immediately.

    URI

    api/space/nsas/l3vpn/service-management/
    services/{serviceId}

    HTTP Method

    DELETE

    Content-Type

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

    Produces

    Decommissions a previously created MVPN service immediately.

    Input

    Sample XML Input

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

    Output

    Sample XML Output

    Modified: 2016-05-26