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

    RSVP LSP Service Orders Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director RSVP LSP Service Orders Management RESTful Web Services.

    Get All RSVP LSP Service Orders

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

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured RSVP LSP service orders.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="8">
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/196678"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/196678"
    			key="196678">
    			<Common>
    				<Name>RVSP_BFD_P2MP_002</Name>
    				<Identity>196678</Identity>
    				<State>Invalid</State>
    				<Comments>RVSP_BFD_P2MP_002</Comments>
    				<CreatedDate>2013-03-05T11:14:23.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-05T11:14:23.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="196643"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/196643"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/196643" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/196668"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/196668"
    			key="196668">
    			<Common>
    				<Name>RVSP_BFD_P2MP_001</Name>
    				<Identity>196668</Identity>
    				<State>Invalid</State>
    				<Comments>RVSP_BFD_P2MP_001</Comments>
    				<CreatedDate>2013-03-04T17:24:22.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-04T17:24:22.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="196643"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/196643"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/196643" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/196632"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/196632"
    			key="196632">
    			<Common>
    				<Name>TA_BFD_P2P_004</Name>
    				<Identity>196632</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-03-04T17:11:41.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-04T17:11:41.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="87"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/196618"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/196618"
    			key="196618">
    			<Common>
    				<Name>TA_BFD_P2P_003</Name>
    				<Identity>196618</Identity>
    				<State>Scheduled</State>
    				<CreatedDate>2013-03-04T15:41:38.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-04T15:41:38.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="87"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/196611"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/196611"
    			key="196611">
    			<Common>
    				<Name>TA_BFD_P2P_002</Name>
    				<Identity>196611</Identity>
    				<State>Scheduled</State>
    				<CreatedDate>2013-03-04T15:38:37.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-04T15:38:37.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="87"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/131142"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/131142"
    			key="131142">
    			<Common>
    				<Name>RSVP_BFD_SD_002</Name>
    				<Identity>131142</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-02-28T17:21:25.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-28T17:21:25.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="87"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/87" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/136"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/136"
    			key="136">
    			<Common>
    				<Name>RSVP_BFD_PATH</Name>
    				<Identity>136</Identity>
    				<State>Completed</State>
    				<Comments>RSVP_BFD_PATH</Comments>
    				<CreatedDate>2013-02-08T14:28:42.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-08T14:29:08.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="48"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/48"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/48" />
    				</ServiceDefinition>
    				<Service key="141"
    					href="/api/space/nsas/rsvp-lsp/service-management/services/141"
    					uri="/api/space/nsas/rsvp-lsp/service-management/services/141" />
    			</Reference>
    		</ServiceOrder>
    		<ServiceOrder
    			href="/api/space/nsas/rsvp-lsp/service-management/service-orders/118"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/118"
    			key="118">
    			<Common>
    				<Name>RSVP_BFD_001</Name>
    				<Identity>118</Identity>
    				<State>Completed</State>
    				<CreatedDate>2013-02-08T12:56:26.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-08T12:56:49.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="48"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/48"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/48" />
    				</ServiceDefinition>
    				<Service key="123"
    					href="/api/space/nsas/rsvp-lsp/service-management/services/123"
    					uri="/api/space/nsas/rsvp-lsp/service-management/services/123" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Get an RSVP LSP Service Order By Order ID

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

    URI

    api/space/nsas/rsvp-lsp/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

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

    Produces

    Collects the details of a specific RSVP LSP service order.

    Output (Point-to-Multipoint RSVP LSP Service Order)

    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/rsvp-lsp/service-management/service-orders/7372820"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/7372820"
    			key="7372820">
    			<Common>
    				<Name>RSVP_SP_BFD_SO</Name>
    				<Identity>10289179</Identity>
    				<State>Completed</State>
    				<Comments>RSVP_SP_BFD Service Order</Comments>
    				<CreatedDate>2013-01-10T13:08:43.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-01-10T13:08:42.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA href="/api/space/nsas/device-roles/pe-devices/3997766" uri="/api/space/nsas/device-roles/pe-devices/3997766"
    						key="3997766">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3997766</DeviceID>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path1</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>1</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<Adaptive>true</Adaptive>
    						<BandWidth>0</BandWidth>
    						<ExistingAdminGroup>
    							<Name></Name>
    							<GroupValue></GroupValue>
    						</ExistingAdminGroup>
    						<AdminGroups>
    							<IncludeAll></IncludeAll>
    							<IncludeAny></IncludeAny>
    							<Exclude></Exclude>
    						</AdminGroups>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type=" RSVPLSPBFDEndPointParameterOrderType ">
    						<PathName>embassy_path2</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>1</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<Adaptive>true</Adaptive>
    						<BandWidth>0</BandWidth>
    						<StandBy>true</StandBy>
    						<ExistingAdminGroup>
    							<Name></Name>
    							<GroupValue></GroupValue>
    						</ExistingAdminGroup>
    						<AdminGroups>
    							<IncludeAll></IncludeAll>
    							<IncludeAny></IncludeAny>
    							<Exclude></Exclude>
    						</AdminGroups>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPBFDConfigParameterOrderType">
    				<RetryLimit>3</RetryLimit>
    				<RetryTimer>30</RetryTimer>
    				<LDPTunneling>true</LDPTunneling>
    				<AutoBandWidth>
    					<AutoBandwidth>true</AutoBandwidth>
    					<AdjustInterval>300</AdjustInterval>
    					<MaxBandwidth>100</MaxBandwidth>
    					<MinBandwidth>60</MinBandwidth>
    				</AutoBandWidth>
    				<ProtectionSetting>
    					<LSPProtectionType>Path Protection</LSPProtectionType>
    					<LocalProtection>N/A</LocalProtection>
    					<FastReroute>Enabled</FastReroute>
    				</ProtectionSetting>
    				<BFD>
    					<BFDdetection>Secondary Path</BFDdetection>
    					<BFDdetection>300</BFDdetection>
    					<MinReceiveInterval>100</MinReceiveInterval>
    					<Multiplier>3</Multiplier>
    					<NoAdaption>true</NoAdaption>
    					<TransmitMinInterval>50</TransmitMinInterval>
    					<TransmitThreshold>300</TransmitThreshold>
    					<DetectionThreshold>1000</DetectionThreshold>
    					<FailureAction>Make before break</FailureAction>
    					<TeardownTimeout>30</TeardownTimeout>
    				</BFD>
    			</ServiceOrderParameter>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7372800"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output (Point-to-Point RSVP LSP Service Order)

    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/rsvp-lsp/service-management/service-orders/196678"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/196678"
    			key="196678">
    			<Common>
    				<Name>RVSP_BFD_P2MP_002</Name>
    				<Identity>196678</Identity>
    				<State>Invalid</State>
    				<Comments>RVSP_BFD_P2MP_002</Comments>
    				<CreatedDate>2013-03-05T11:14:23.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-05T11:14:23.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>65570</DeviceID>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>65596</DeviceID>
    						</Source>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path1</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>2</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<Adaptive>Disabled</Adaptive>
    						<BandWidth>0</BandWidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>65538</DeviceID>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>65596</DeviceID>
    						</Source>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path2</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>2</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<Adaptive>Disabled</Adaptive>
    						<BandWidth>0</BandWidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPBFDConfigParameterOrderType">
    				<RetryLimit>0</RetryLimit>
    				<RetryTimer>30</RetryTimer>
    				<BandWidth>0</BandWidth>
    				<LDPTunneling>Enabled</LDPTunneling>
    				<ProtectionSetting>
    					<LSPProtectionType>No Protection</LSPProtectionType>
    					<LocalProtection>N/A</LocalProtection>
    				</ProtectionSetting>
    				<BFD>
    					<BFDdetection>Primary Path</BFDdetection>
    					<MinInterval>300</MinInterval>
    					<MinReceiveInterval>50</MinReceiveInterval>
    					<Multiplier>3</Multiplier>
    					<NoAdaption>false</NoAdaption>
    					<TransmitMinInterval>50</TransmitMinInterval>
    					<TransmitThreshold>300</TransmitThreshold>
    					<DetectionThreshold>300</DetectionThreshold>
    					<FailureAction>Make before break</FailureAction>
    					<TeardownTimeout>20</TeardownTimeout>
    				</BFD>
    			</ServiceOrderParameter>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="196643"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/196643"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/196643" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create a Point-to-Point RSVP LSP Service Order

    This request is used to create a point-to-point RSVP LSP service order.

    URI

    api/space/nsas/rsvp-lsp/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 a point-to-point RSVP LSP 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>RSVP_BFD_PATH</Name>
    				<Identity>136</Identity>
    				<State>Completed</State>
    				<Comments>RSVP_BFD_PATH</Comments>
    				<CreatedDate>2013-02-08T14:28:42.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-02-08T14:29:08.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>65596</DeviceID>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path1</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>1</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<Adaptive>Enabled</Adaptive>
    						<BandWidth>0</BandWidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>65570</DeviceID>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path2</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>1</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<Adaptive>Enabled</Adaptive>
    						<BandWidth>0</BandWidth>
    						<StandBy>true</StandBy>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPBFDConfigParameterOrderType">
    				<RetryLimit>3</RetryLimit>
    				<RetryTimer>30</RetryTimer>
    				<BandWidth>0</BandWidth>
    				<LDPTunneling>Enabled</LDPTunneling>
    				<AutoBandWidth>
    					<AutoBandwidth>true</AutoBandwidth>
    					<AdjustInterval>300</AdjustInterval>
    					<MaxBandwidth>20</MaxBandwidth>
    					<MinBandwidth>10</MinBandwidth>
    				</AutoBandWidth>
    				<ProtectionSetting>
    					<LSPProtectionType>Path Protection</LSPProtectionType>
    					<LocalProtection>N/A</LocalProtection>
    				</ProtectionSetting>
    				<BFD>
    					<BFDdetection>This LSP</BFDdetection>
    					<MinInterval>300</MinInterval>
    					<MinReceiveInterval>50</MinReceiveInterval>
    					<Multiplier>3</Multiplier>
    					<NoAdaption>true</NoAdaption>
    					<TransmitMinInterval>50</TransmitMinInterval>
    					<TransmitThreshold>300</TransmitThreshold>
    					<DetectionThreshold>1000</DetectionThreshold>
    					<FailureAction>Teardown</FailureAction>
    				</BFD>
    			</ServiceOrderParameter>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="48"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create a Point-to-Multipoint RSVP LSP Service Order

    This request is used to create a point-to-multipoint RSVP LSP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

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

    • Save (Create and only Save a SO)

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

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

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

    Produces

    Creates an RSVP LSP 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>RVSP_BFD_P2MP_003</Name>
    				<Comments>RVSP_BFD_P2MP_002</Comments>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>65570</DeviceID>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>65596</DeviceID>
    						</Source>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path1</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>2</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<BandWidth>0</BandWidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>65538</DeviceID>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>65596</DeviceID>
    						</Source>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PathName>embassy_path2</PathName>
    						<SetupPriority>7</SetupPriority>
    						<HoldPriority>0</HoldPriority>
    						<ClassOfService>2</ClassOfService>
    						<HopLimit>255</HopLimit>
    						<BandWidth>0</BandWidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPBFDConfigParameterOrderType">
    				<RetryLimit>0</RetryLimit>
    				<RetryTimer>30</RetryTimer>
    				<BandWidth>0</BandWidth>
    				<LDPTunneling>Enabled</LDPTunneling>
    				<ProtectionSetting>
    					<LSPProtectionType>No Protection</LSPProtectionType>
    					<LocalProtection>N/A</LocalProtection>
    				</ProtectionSetting>
    				<BFD>
    					<BFDdetection>Primary Path</BFDdetection>
    					<MinInterval>300</MinInterval>
    					<MinReceiveInterval>50</MinReceiveInterval>
    					<Multiplier>3</Multiplier>
    					<NoAdaption>false</NoAdaption>
    					<TransmitMinInterval>50</TransmitMinInterval>
    					<TransmitThreshold>300</TransmitThreshold>
    					<DetectionThreshold>300</DetectionThreshold>
    					<FailureAction>Make before break</FailureAction>
    					<TeardownTimeout>20</TeardownTimeout>
    				</BFD>
    			</ServiceOrderParameter>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="196643">
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create an RSVP LSP Service Order and a Service Definition

    This request is used to create an RSVP LSP service order and a service definition in a single REST API call.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates an RSVP LSP service order and a service definition in a single REST API call

    Input

    Sample XML Input

    - <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    - <ServiceResource>
    - <ServiceDefinition>
    - <Common>
      <Name>fm_nocspf</Name> 
      </Common>
      <ServiceType>RSVP</ServiceType> 
      <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType" /> 
      <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType" /> 
    - <TransportActivate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPType">
      <Topology>Full Mesh</Topology> 
      <PathSelectionType>CSPF</PathSelectionType> 
      <LSPProtectionType Editable="true">Path Protection</LSPProtectionType> 
    - <Advanced>
      <HopLimit Editable="true">255</HopLimit> 
      <ClassofService Editable="true">3</ClassofService> 
      <Bandwidth Editable="true">333</Bandwidth> 
      <HoldPriority Editable="true">3</HoldPriority> 
      <SetupPriority Editable="true">3</SetupPriority> 
      <RetryLimit Editable="true">3</RetryLimit> 
      <RetryTimer Editable="true">33</RetryTimer> 
      <FastReroute Editable="true">true</FastReroute> 
      <LDPTunneling Editable="true">true</LDPTunneling> 
      <Standby Editable="true">true</Standby> 
      <Adaptive Editable="true">true</Adaptive> 
      </Advanced>
    - <Autobandwidth>
      <AutoBWidth Editable="true">true</AutoBWidth> 
      <AdjustInterval Editable="false">86403</AdjustInterval> 
      <MaxBandwidth Editable="false">10001</MaxBandwidth> 
      <MinBandwidth Editable="false">1003</MinBandwidth> 
      </Autobandwidth>
    - <BFD>
      <BFDdetection>This LSP</BFDdetection> 
      <MinimumInterval Editable="true">300</MinimumInterval> 
      <MiniRecieveInterval Editable="true">50</MiniRecieveInterval> 
      <Multiplier Editable="true">3</Multiplier> 
      <TransmitMinInterval Editable="true">50</TransmitMinInterval> 
      <TransmitThreshold Editable="true" /> 
      <DetectionThreshold Editable="true" /> 
      <NoAdaption Editable="true">false</NoAdaption> 
      <FailureAction Editable="true">Teardown</FailureAction> 
      </BFD>
      </TransportActivate>
      </ServiceDefinition>
    - <ServiceOrder>
    - <Common>
      <Name>fm_nocspf</Name> 
      </Common>
      <LSPPattern key="134" /> 
    - <ServiceEndPointGroup>
    - <DeviceInfo>
    - <TA>
    - <Source>
      <DeviceName>MAC11re</DeviceName> 
      <DeviceID>65564</DeviceID> 
      </Source>
    - <Destination>
      <DeviceName>MAC12re</DeviceName> 
      <DeviceID>65558</DeviceID> 
      </Destination>
      </TA>
      </DeviceInfo>
    - <ServiceEndPoint>
    - <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    - <PrimaryPath>
      <PathName>pripath1</PathName> 
      <SetupPriority>3</SetupPriority> 
      <Adaptive>Enabled</Adaptive> 
      <HoldPriority>3</HoldPriority> 
      <ClassOfService>3</ClassOfService> 
      <HopLimit>255</HopLimit> 
      <Bandwidth>333</Bandwidth> 
    - <Paths>
    - <Path>
      <PathName>pripath1</PathName> 
      <IPAddress>undefined</IPAddress> 
      <Connection>undefined</Connection> 
      </Path>
      </Paths>
      </PrimaryPath>
    - <SecondaryPath>
      <PathName>pripath2</PathName> 
      <SetupPriority>3</SetupPriority> 
      <Adaptive>Enabled</Adaptive> 
      <HoldPriority>3</HoldPriority> 
      <ClassOfService>3</ClassOfService> 
      <HopLimit>255</HopLimit> 
      <Bandwidth>333</Bandwidth> 
      <StandBy>true</StandBy> 
    - <Paths>
    - <Path>
      <PathName>pripath2</PathName> 
      <IPAddress>undefined</IPAddress> 
      <Connection>undefined</Connection> 
      </Path>
      </Paths>
      </SecondaryPath>
      </ServiceEndpointConfiguration>
      </ServiceEndPoint>
      </ServiceEndPointGroup>
    - <ServiceEndPointGroup>
    - <DeviceInfo>
    - <TA>
    - <Source>
      <DeviceName>MAC12re</DeviceName> 
      <DeviceID>65558</DeviceID> 
      </Source>
    - <Destination>
      <DeviceName>MAC11re</DeviceName> 
      <DeviceID>65564</DeviceID> 
      </Destination>
      </TA>
      </DeviceInfo>
    - <ServiceEndPoint>
      <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType" /> 
      </ServiceEndPoint>
      </ServiceEndPointGroup>
    - <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDConfigParameterOrderType">
      <ClassOfService>3</ClassOfService> 
      <HopLimit>255</HopLimit> 
      <HoldPriority>3</HoldPriority> 
      <SetupPriority>3</SetupPriority> 
      <StandBy>true</StandBy> 
      <Adaptive>Enabled</Adaptive> 
      <RetryLimit>3</RetryLimit> 
      <RetryTimer>33</RetryTimer> 
      <BandWidth>333</BandWidth> 
      <LDPTunneling>Enabled</LDPTunneling> 
    - <AutoBandWidth>
      <AutoBandwidth>true</AutoBandwidth> 
      <AdjustInterval>86403</AdjustInterval> 
      <MaxBandwidth>10001</MaxBandwidth> 
      <MinBandwidth>1003</MinBandwidth> 
      </AutoBandWidth>
    - <ProtectionSetting>
      <EnableFR>Enabled</EnableFR> 
      </ProtectionSetting>
    - <BFD>
      <BFDdetection>This LSP</BFDdetection> 
      <MinInterval>300</MinInterval> 
      <MinReceiveInterval>50</MinReceiveInterval> 
      <Multiplier>3</Multiplier> 
      <NoAdaption>false</NoAdaption> 
      <TransmitMinInterval>50</TransmitMinInterval> 
      <FailureAction>Teardown</FailureAction> 
      </BFD>
      </ServiceOrderParameter>
      </ServiceOrder>
      </ServiceResource>
    - <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
      <Action>SaveAndValidate</Action> 
      </CustomAction>
      </Data>

    Output

    Sample XML Output

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

    Deploy, Validate, and Partially-Delete an RSVP LSP Service Order

    This request is used to deploy, validate, or partially delete a previously created RSVP LSP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

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

    • DeployNow (Deploy an already created SO)

    • DeployLater (Deploy Later an already created SO)

    • ValidateNow (Validate now an already created SO)

    • ValidateLater (Validate later an already created SO)

    • PartialDeleteNow (Delete the partially created configuration now)

    • PartialDeleteLater (Delete the partially created configuration Later

    Produces

    Deploys, validates or, partially-deletes a previously created RSVP LSP service order.

    Input

    Sample XML Input

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

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>196789</Value>
    		</Identity>
    		<Code>200</Code>
    		<Message>Service order Deleted Successfully.</Message>
    	</Status>
    </Data>
    
    

    Delete an RSVP LSP Service Order

    This request is used to delete a previously configured RSVP LSP service order.

    URI

    api/space/nsas/rsvp-lsp/service-management/service-orders/
    <serviceOrder-id>

    HTTP Method

    DELETE

    Consumes

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

    Produces

    Deletes an RSVP LSP service order.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>196789</Value>
    		</Identity>
    		<Code>200</Code>
    		<Message>Service order Deleted Successfully.</Message>
    	</Status>
    </Data>
    
    

    View the Pending Configuration of an RSVP LSP Service Order

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

    URI

    api/space/nsas/rsvp-lsp/service-management/service-orders/
    view-pendingorderconfiguration/<serviceOrder-id>

    HTTP Method

    GET

    Consumes

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

    Produces

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

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data
        xmlns="services.schema.networkapi.jmp.juniper.net">
        <PendingOrderConfiguration>
            <PendingOrderConfigDeviceEnd>
                <DeviceName>embassy</DeviceName>
                <Configuration>
                    <configuration
                        xmlns:a="http://transportactivate.jmp.juniper.net/lsp/shared"
                        xmlns:b="http://jmp.juniper.net/lsp/shared">
                        <protocols>
                            <mpls>
                                <log-updown>
                                    <trap/>
                                    <trap-path-down/>
                                    <trap-path-up/>
                                </log-updown>
                                <label-switched-path>
                                    <name>RSVP_BFD_PATH_100_to_50_1_2_2</name>
                                    <from>50.1.2.4</from>
                                    <to>50.1.2.2</to>
                                    <ldp-tunneling/>
                                    <oam>
                                        <bfd-liveness-detection>
                                            <minimum-interval>300</minimum-interval>
                                            <minimum-receive-interval>50</minimum-receive-interval>
                                            <multiplier>3</multiplier>
                                            <no-adaptation/>
                                            <transmit-interval>
                                                <minimum-interval>50</minimum-interval>
                                            </transmit-interval>
                                            <failure-action>
                                                <teardown/>
                                            </failure-action>
                                        </bfd-liveness-detection>
                                    </oam>
                                    <auto-bandwidth>
                                        <minimum-bandwidth>10000</minimum-bandwidth>
                                        <maximum-bandwidth>20000</maximum-bandwidth>
                                        <adjust-interval>300</adjust-interval>
                                    </auto-bandwidth>
                                    <primary>
                                        <name>embassy_path1</name>
                                        <class-of-service>1</class-of-service>
                                        <hop-limit>255</hop-limit>
                                        <adaptive/>
                                    </primary>
                                    <secondary>
                                        <name>embassy_path2</name>
                                        <class-of-service>1</class-of-service>
                                        <hop-limit>255</hop-limit>
                                        <standby/>
                                        <adaptive/>
                                    </secondary>
                                </label-switched-path>
                                <path>
                                    <name>embassy_path1</name>
                                    <path-list>
                                        <name>10.216.114.114</name>
                                        <loose/>
                                    </path-list>
                                </path>
                                <path>
                                    <name>embassy_path2</name>
                                    <path-list>
                                        <name>10.216.114.110</name>
                                        <loose/>
                                    </path-list>
                                </path>
                            </mpls>
                        </protocols>
                    </configuration>
                </Configuration>
            </PendingOrderConfigDeviceEnd>
        </PendingOrderConfiguration>
    </Data>
    
    

    Get an RSVP LSP Service Order Without BFD with Admin Groups By Order ID

    This request is used to retrieve the details of a particular RSVP LSP service order without BFD with admin groups, based on the service order ID.

    URI

    api/space/nsas/rsvp-lsp/service-management/service-orders/
    <serviceOrderId>

    HTTP Method

    GET

    Consumes

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

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

    Produces

    Collects the details of a specific RSVP LSP service order without BFD with admin groups.

    Output (With Admin Groups

    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/rsvp-lsp/service-management/service-orders/393282"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/393282"
    			key="393282">
    			<Common>
    				<Name>test_admin</Name>
    				<Identity>393282</Identity>
    				<State>Requested</State>
    				<CreatedDate>2013-12-29T11:42:46.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-12-29T11:42:46.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<LSPPattern key="102"
    				uri="/api/space/nsas/lsp-pattern/service-management/service-patterns/102"
    				href="/api/space/nsas/lsp-pattern/service-management/service-patterns/102">
    				<PatternName>Default LSP Pattern</PatternName>
    				<PatternID>102</PatternID>
    				<PatternTemplate>$Name_to_$EgressLoopbackAddress</PatternTemplate>
    			</LSPPattern>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>98626</DeviceID>
    						</Source>
    						<Destination>
    							<DeviceName>junos-space2</DeviceName>
    							<DeviceID>98778</DeviceID>
    						</Destination>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPBFDEndPointParameterOrderType">
    						<PrimaryPath>
    							<PathName>primary</PathName>
    							<SetupPriority>7</SetupPriority>
    							<Adaptive>Disabled</Adaptive>
    							<HoldPriority>0</HoldPriority>
    							<ClassOfService>0</ClassOfService>
    							<HopLimit>255</HopLimit>
    							<StandBy>false</StandBy>
    							<Bandwidth>0</Bandwidth>
    							<AdminGroups>
    								<IncludeAll>copper,silver,gold</IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude>silver</Exclude>
    							</AdminGroups>
    						</PrimaryPath>
    						<SecondaryPath>
    							<PathName>Second</PathName>
    							<SetupPriority>7</SetupPriority>
    							<Adaptive>Disabled</Adaptive>
    							<HoldPriority>0</HoldPriority>
    							<ClassOfService>0</ClassOfService>
    							<HopLimit>255</HopLimit>
    							<StandBy>false</StandBy>
    							<Bandwidth>0</Bandwidth>
    							<AdminGroups>
    								<IncludeAll></IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude></Exclude>
    							</AdminGroups>
    						</SecondaryPath>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPBFDConfigParameterOrderType">
    				<RetryLimit>0</RetryLimit>
    				<RetryTimer>30</RetryTimer>
    				<BandWidth>0</BandWidth>
    				<LDPTunneling>Disabled</LDPTunneling>
    				<AutoBandWidth>
    					<AutoBandwidth>false</AutoBandwidth>
    					<AdjustInterval>0</AdjustInterval>
    					<MaxBandwidth>0</MaxBandwidth>
    					<MinBandwidth>0</MinBandwidth>
    				</AutoBandWidth>
    				<ProtectionSetting>
    					<LSPProtectionType>Path Protection</LSPProtectionType>
    					<LocalProtection>N/A</LocalProtection>
    				</ProtectionSetting>
    				<BFD>
    					<BFDdetection>Primary Path</BFDdetection>
    					<MinInterval>310</MinInterval>
    					<MinReceiveInterval>55</MinReceiveInterval>
    					<Multiplier>3</Multiplier>
    					<NoAdaption>false</NoAdaption>
    					<TransmitMinInterval>55</TransmitMinInterval>
    					<TransmitThreshold>155</TransmitThreshold>
    					<DetectionThreshold>180</DetectionThreshold>
    					<FailureAction>Teardown</FailureAction>
    				</BFD>
    			</ServiceOrderParameter>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393216"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/393216"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/393216" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    
    

    Output (Without Admin Groups)

    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/rsvp-lsp/service-management/service-orders/327768"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-orders/327768"
    			key="327768">
    			<Common>
    				<Name>so_p2pWbfd</Name>
    				<Identity>327768</Identity>
    				<State>Validated</State>
    				<CreatedDate>2013-12-27T18:54:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-12-27T18:54:30.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<LSPPattern key="102"
    				uri="/api/space/nsas/lsp-pattern/service-management/service-patterns/102"
    				href="/api/space/nsas/lsp-pattern/service-management/service-patterns/102">
    				<PatternName>Default LSP Pattern</PatternName>
    				<PatternID>102</PatternID>
    				<PatternTemplate>$Name_to_$EgressLoopbackAddress</PatternTemplate>
    			</LSPPattern>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>98626</DeviceID>
    						</Source>
    						<Destination>
    							<DeviceName>exora</DeviceName>
    							<DeviceID>98878</DeviceID>
    						</Destination>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPEndPointParameterOrderType">
    						<PrimaryPath>
    							<PathName>EmbPath1</PathName>
    							<SetupPriority>7</SetupPriority>
    							<Adaptive>Disabled</Adaptive>
    							<HoldPriority>0</HoldPriority>
    							<ClassOfService>0</ClassOfService>
    							<HopLimit>255</HopLimit>
    							<StandBy>false</StandBy>							
    							<AdminGroups>
    								<IncludeAll></IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude></Exclude>
    							</AdminGroups>
    						</PrimaryPath>
    						<SecondaryPath>
    							<PathName>EmbPath4</PathName>
    							<SetupPriority>7</SetupPriority>
    							<Adaptive>Disabled</Adaptive>
    							<HoldPriority>0</HoldPriority>
    							<ClassOfService>0</ClassOfService>
    							<HopLimit>255</HopLimit>
    							<StandBy>false</StandBy>							
    							<AdminGroups>
    								<IncludeAll></IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude></Exclude>
    							</AdminGroups>
    						</SecondaryPath>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPConfigOrderParameterType" />
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="327694"
    						href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/327694"
    						uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/327694" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    

    Create an RSVP LSP Service Order Without BFD with Admin Groups

    This request is used to create an RSVP LSP service order without BFD with admin groups.

    URI

    api/space/nsas/rsvp-lsp/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 RSVP LSP service order without BFD with admin groups.

    Input (Without BFD and Without Admin groups)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>so_p2pWbfdAPI</Name>
    				
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<Source>
    							<DeviceName>embassy</DeviceName>
    							<DeviceID>98626</DeviceID>
    						</Source>
    						<Destination>
    							<DeviceName>exora</DeviceName>
    							<DeviceID>98878</DeviceID>
    						</Destination>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPEndPointParameterOrderType">
    						<PrimaryPath>
    							<PathName>EmbPath1</PathName>										<AdminGroups>
    								<IncludeAll></IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude></Exclude>
    							</AdminGroups>
    						</PrimaryPath>
    						<SecondaryPath>
    							<PathName>EmbPath4</PathName>										<AdminGroups>
    								<IncludeAll></IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude></Exclude>
    							</AdminGroups>
    						</SecondaryPath>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPConfigOrderParameterType" />
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="327694"
    						/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    

    Input (Without BFD and With Admin Groups)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>p2p_wobfd_admin_so_api</Name>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<LSPPattern>
    				<PatternName>Default LSP Pattern</PatternName>
    				<PatternID>102</PatternID>
    				<PatternTemplate>$Name_to_$EgressLoopbackAddress</PatternTemplate>
    			</LSPPattern>
    			<Signaling></Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<TA>
    						<Source>
    							<DeviceName>exora</DeviceName>
    							<DeviceID>98878</DeviceID>
    						</Source>
    						<Destination>
    							<DeviceName>junos-space2</DeviceName>
    							<DeviceID>98778</DeviceID>
    						</Destination>
    					</TA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPEndPointParameterOrderType">
    						<PrimaryPath>
    							<PathName>EmbPath4</PathName>										<AdminGroups>
    								<IncludeAll>copper,silver,gold</IncludeAll>
    								<IncludeAny>copper</IncludeAny>
    								<Exclude>silver</Exclude>
    							</AdminGroups>
    						</PrimaryPath>
    						<SecondaryPath>
    							<PathName>Timex1</PathName>										<AdminGroups>
    								<IncludeAll></IncludeAll>
    								<IncludeAny></IncludeAny>
    								<Exclude></Exclude>
    							</AdminGroups>
    						</SecondaryPath>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="RSVPLSPConfigOrderParameterType">
    				
    			</ServiceOrderParameter>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="327694"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Get Job Details By Job ID for an RSVP LSP Point-to-Point Service Order

    This request is used to obtain the details of a specific job, based on its unique identifier, for an RSVP LSP service order.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves the details of a particular job.

    Mandatory Parameters

    jobID

    Output

    Sample XML Output

    <Data>
    	<JobDetailsType>
    		<jobDetailType>
    			<nodeName>PE3_re0</nodeName>
    			<statusMessage>Success</statusMessage>
    			<jobStatus>VALIDATED</jobStatus>
    			<serviceName>asdasdas</serviceName>
    		</jobDetailType>
    		<jobDetailType>
    			<nodeName>PE4_re0</nodeName>
    			<statusMessage>Success</statusMessage>
    			<jobStatus>VALIDATED</jobStatus>
    			<serviceName>asdasdas</serviceName>
    		</jobDetailType>
    		<jobDetailType>
    			<nodeName>PE2_re0</nodeName>
    			<statusMessage>Success</statusMessage>
    			<jobStatus>VALIDATED</jobStatus>
    			<serviceName>asdasdas</serviceName>
    		</jobDetailType>
    	</JobDetailsType>
     </Data>
    

    Modified: 2017-09-13