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

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

    Get All RSVP LSP Service Definitions

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

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured RSVP LSP service definitions.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="4">
    		<ServiceDefinition
    			href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/69"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/69"
    			key="69">
    			<Common>
    				<Name>RSVP LSP with BFD - P2MP Topology</Name>
    				<Identity>69</Identity>
    				<State>Published</State>
    				<CreatedDate>2013-10-01T05:59:58.000+05:30</CreatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType> RSVP </ServiceType>
    		</ServiceDefinition>
    		<ServiceDefinition
    			href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/48"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/48"
    			key="48">
    			<Common>
    				<Name>RSVP LSP with BFD - Path Protection</Name>
    				<Identity>48</Identity>
    				<State>Published</State>
    				<CreatedDate>2013-10-01T05:59:58.000+05:30</CreatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType> RSVP </ServiceType>
    		</ServiceDefinition>
    		<ServiceDefinition
    			href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/36"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/36"
    			key="36">
    			<Common>
    				<Name>RSVP LSP with Node Link Protection</Name>
    				<Identity>36</Identity>
    				<State>Published</State>
    				<CreatedDate>2013-10-01T05:59:58.000+05:30</CreatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType> RSVP </ServiceType>
    		</ServiceDefinition>
    		<ServiceDefinition
    			href="/api/space/nsas/rsvp-lsp/service-management/service-definitions/23"
    			uri="/api/space/nsas/rsvp-lsp/service-management/service-definitions/23"
    			key="23">
    			<Common>
    				<Name>RSVP LSP with Path Protection</Name>
    				<Identity>23</Identity>
    				<State>Published</State>
    				<CreatedDate>2013-10-01T05:59:58.000+05:30</CreatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType> RSVP </ServiceType>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
    
    

    Get RSVP LSP Service Definition Details By Definition ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet LAN VPLS BGP service definition, based on the service definition ID.

    URI

    api/space/nsas/rsvp-lsp/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 RSVP LSP 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>
    			<Common>
    				<Name>RSVP LSP with BFD - P2MP Topology</Name>
    				<Identity>69</Identity>
    				<State>Published</State>
    				<Comments>RSVP LSP with BFD- P2MP Topology</Comments>
    				<CreatedDate>2013-10-01T05:59:58.000+05:30</CreatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>RSVP</ServiceType>
    			<TA>
    				<Topology>P2MP</Topology>
    				<PathSelectionType>CSPF</PathSelectionType>
    				<LSPProtectionType>No Protection</LSPProtectionType>
    				<LocalProtectionType>N/A</LocalProtectionType>
    				<ServiceTemplate>None</ServiceTemplate>
    				<Advanced>
    					<HopLimit Editable="true" Value="255" />
    					<ClassofService Editable="true" Value="1" />
    					<Bandwidth Editable="false" Value="0" />
    					<HoldPriority Editable="true" Value="0" />
    					<SetupPriority Editable="true" Value="7" />
    					<RetryLimit Editable="true" Value="30" />
    					<Adaptive Editable="false" Value="false" />
    					<LDPTunneling Editable="false" Value="false" />
    					<FastReroute Editable="false" Value="false" />
    					<Standby Editable="true" Value="true" />
    				</Advanced>
    				<Autobandwidth>
    					<AutoBWidth Editable="true" Value="false" />
    					<AdjustInterval Editable="false" Value="0" />
    					<MaxBandwidth Editable="false" Value="0" />
    					<MinBandwidth Editable="false" Value="0" />
    				</Autobandwidth>
    				<BFD>
    					<MinimumInterval Editable="true" Value="300" />
    					<MiniRecieveInterval Editable="true" Value="50" />
    					<Multiplier Editable="true" Value="3" />
    					<NoAdaption Editable="true" Value="true" />
    					<TransmitMinInterval Editable="true" Value="50" />
    					<TransmitThreshold Editable="true" Value="300" />
    					<DetectionThreshold Editable="true" Value="1000" />
    					<FailureAction Editable="true" Value="Teardown" />
    				</BFD>
    			</TA>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
    
    
    

    Create an RSVP LSP Service Definition

    This request is used to create an RSVP LSP service definition.

    URI

    api/space/nsas/rsvp-lsp/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 RSVP LSP service definition.

    Input

    Sample XML Input

        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceDefinition>
        <Common>
        <Name>RSVP_LSP_Test_Via_API</Name>
         <Comments>P2P_CSPF_LP_LinkProtect</Comments>
         </Common>
        <ServiceType>RSVP</ServiceType>
    <ServiceElementConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPServiceEndpointGroupParameterDefType"/>
    <ServiceEndPointConfigurationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPEndPointParameterDefType"/>
        <TransportActivate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RSVPLSPType">
        <Topology>P2P</Topology>
        <PathSelectionType>CSPF</PathSelectionType>
        <LSPProtectionType>Path Protection</LSPProtectionType>
        <ServiceTemplate>None</ServiceTemplate>
        <Advanced>
        <HopLimit Editable="false">255</HopLimit>
        <ClassofService Editable="false">5</ClassofService>
        <Bandwidth Editable="false">159</Bandwidth>
        <HoldPriority Editable="false">0</HoldPriority>
        <SetupPriority Editable="false">7</SetupPriority>
        <RetryLimit Editable="false">0</RetryLimit>
        <RetryTimer Editable="false">1</RetryTimer>
        <Adaptive Editable="false">false</Adaptive>
        <LDPTunneling Editable="false">false</LDPTunneling>
        <FastReroute Editable="false">false</FastReroute>
        <Standby Editable="false">false</Standby>
        </Advanced>
        <Autobandwidth>
        <AutoBWidth Editable="false">true</AutoBWidth>
        <AdjustInterval Editable="true">86400</AdjustInterval>
        <MaxBandwidth Editable="true">10000</MaxBandwidth>
        <MinBandwidth Editable="true">4545</MinBandwidth>
        </Autobandwidth>
        <BFD>
        <MinimumInterval Editable="false">1</MinimumInterval>
        <MiniRecieveInterval Editable="false">1</MiniRecieveInterval>
        <Multiplier Editable="false">1</Multiplier>
        <NoAdaption Editable="false">false</NoAdaption>
        <TransmitMinInterval Editable="false">10</TransmitMinInterval>
        <TransmitThreshold Editable="false">11</TransmitThreshold>
        <DetectionThreshold Editable="false">2</DetectionThreshold>
        <FailureAction Editable="false">Make before break</FailureAction>
        <TearDownTimeout>30</TearDownTimeout>
        </BFD>
        </TransportActivate>
        </ServiceDefinition>
        </ServiceResource>
         <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceDefinitionCustomActionType">
    	        <Action>Publish</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>ServiceDefinition</Type>
        <Value>98796</Value>
        </Identity>
        <Code>200</Code>
        <Message>ServiceDefinition Created and Published Successfully</Message>
        </Status>
        </Data>
    	
    	
    
    

    Publish and Unpublish an RSVP LSP Service Definition

    This request is used to publish or unpublish an RSVP LSP service definition.

    URI

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

    Action types are Publish and Unpublish.

    Produces

    Publishes or unpublishes an RSVP LSP service definition.

    Input for Unpublishing a Service Definition

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">	
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceDefinitionCustomActionType">
    		<Action>UnPublish</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>ServiceDefinition</Type>
    			<Value>7012365</Value>
    		</Identity>
    		<Code>200</Code>
    		<Message>ServiceDefinition UnPublished Successfully</Message>
    	</Status>
    </Data>
     
    

    Input for Publishing a Service Definition

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">	
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceDefinitionCustomActionType">
    		<Action>Publish</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>ServiceDefinition</Type>
    			<Value>7012365</Value>
    		</Identity>
    		<Code>200</Code>
    		<Message>ServiceDefinition Published Successfully</Message>
    	</Status>
    </Data>
     
    

    Delete an RSVP LSP Service Definition

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

    URI

    api/space/nsas/rsvp-lsp/service-management/service-definitions/
    <servicedefinition-id>

    HTTP Method

    DELETE

    Consumes

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

    Produces

    Deletes an RSVP LSP service definition.

    Output

    Sample XML Output

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

    Modified: 2015-10-13