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. |
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/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
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- |
Consumes | application/vnd.net.juniper.space.service-management. |
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- |
Consumes | application/vnd.net.juniper.space.service-management. For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:
|
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. |
Consumes | application/vnd.net.juniper.space.service-management. |
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. |
Consumes | application/vnd.net.juniper.space.service-management. The options must be specified in the Action Element inside OperationSpecificData. The various options are as follows:
|
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/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service-management. |
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/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
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/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
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- |
Consumes | application/vnd.net.juniper.space.service-management. |
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- |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service- |
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>
Create LSP Service Order
This request is used to create an LSP Service Order.
URL | /api/space/nsas/csd/service-order |
HTTP Method | POST |
Sample URL | https://192.0.2.10/api/space/nsas/csd/service-order |
Accept Header | application/xml |
Content Type | application/xml |
Request
""<?xml version=""1.0"" encoding=""UTF-8""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <ServiceResource> <ServiceDefinition> <Common> <Name>LSP_SO</Name> <CreatedBy>super</CreatedBy> </Common> <ServiceType>RSVP</ServiceType> <ProvisioningMethodType>NETCONF</ProvisioningMethodType> <IsNorthStarLSPSD>true</IsNorthStarLSPSD> <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> <ProvisioningMethodType Editable=""true"">NETCONF</ProvisioningMethodType> <Advanced> <HopLimit Editable=""true"">-1</HopLimit> <Bandwidth Editable=""true"">-1</Bandwidth> <HoldPriority Editable=""true"">0</HoldPriority> <SetupPriority Editable=""true"">7</SetupPriority> <TunnelMetric Editable=""true"">-1</TunnelMetric> <RoutingMethod Editable=""true"">RouteByPCC</RoutingMethod> <MaxCost Editable=""true"">-1</MaxCost> <MaxDelay Editable=""true"">-1</MaxDelay> </Advanced> </TransportActivate> </ServiceDefinition> <ServiceOrder> <Common> <Name>LSP_SO</Name> <CreatedBy>super</CreatedBy> </Common> <LSPPattern key=""1"" /> <ServiceEndPointGroup> <DeviceInfo> <TA> <Source> <DeviceName>ARI2re</DeviceName> <DeviceID>32769</DeviceID> </Source> <Destination> <DeviceName>ARI3re</DeviceName> <DeviceID>32768</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""> <TunnelMetric>-1</TunnelMetric> <ProvisioningMethodType>NETCONF</ProvisioningMethodType> <RoutingMethod>RouteByPCC</RoutingMethod> <MaxCost>-1</MaxCost> <MaxDelay>-1</MaxDelay> <HopLimit>-1</HopLimit> <HoldPriority>0</HoldPriority> <SetupPriority>7</SetupPriority> <RetryLimit>0</RetryLimit> <RetryTimer>30</RetryTimer> <BandWidth>-1</BandWidth> <ProtectionSetting> <LSPProtectionType>Path Protection</LSPProtectionType> </ProtectionSetting> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""ServiceOrderCustomActionType""> <Action>SaveAndDeployNow</Action> </CustomAction> </Data>" "
Response
""<?xml version=""1.0"" encoding=""UTF-8""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <Status> <Identity> <Type>ServiceOrder</Type> <Value>98304</Value> </Identity> <Job> <ID>851975</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>" "
GET LSP Service Order
This request is used to retrieve previously configured LSP service orders.
URL | /api/space/nsas/rsvp-lsp/service-management/services/paging/<id> |
HTTP Method | GET |
Sample URL | https://192.0.2.10/api/space/nsas/rsvp-lsp/service-management/services/paging/98304 |
Accept | application/vnd.net.juniper.space.service-management.service-order+xml;version=2; |
Content Type | application/vnd.net.juniper.space.service-management.service-order+xml;version=2;charset=UTF-8; |
Request
Not Applicable
Response
""<?xml version=""1.0"" encoding=""UTF-8""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <ServiceResource> <Service key=""98304"" uri=""/api/space/nsas/rsvp-lsp/service-management/services/98304"" href=""/api/space/nsas/rsvp-lsp/service-management/services/98304""> <Common> <Name>LSP_SO</Name> <Identity>98304</Identity> <State>Deployed</State> <CreatedDate>2018-06-20T07:25:38.000Z</CreatedDate> <LastUpdatedDate>2018-06-20T07:25:38.000Z</LastUpdatedDate> </Common> <ServiceType>LSP</ServiceType> <LSPPattern href=""/api/space/nsas/lsp-pattern/service-management/service-patterns/1"" uri=""/api/space/nsas/lsp-pattern/service-management/service-patterns/1"" key=""1""> <PatternName>Default LSP Pattern</PatternName> <PatternID>1</PatternID> <PatternTemplate>$Name_to_$EgressLoopbackAddress</PatternTemplate> </LSPPattern> <CreatedFrom>Tunnel</CreatedFrom> <DeployBy>NorthStar</DeployBy> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>1</endpointcount> <ServiceEndPointGroup> <DeviceInfo> <TA> <Source key=""32769"" uri=""/api/space/nsas/prestage-ta-device/manage-devices/devices/32769"" href=""/api/space/nsas/prestage-ta-device/manage-devices/devices/32769""> <DeviceName>ARI2re</DeviceName> <DeviceID>32769</DeviceID> <CMPDeviceID>32769</CMPDeviceID> <Role>N_PE</Role> </Source> <Destination key=""32768"" uri=""/api/space/nsas/prestage-ta-device/manage-devices/devices/32768"" href=""/api/space/nsas/prestage-ta-device/manage-devices/devices/32768""> <DeviceName>ARI3re</DeviceName> <DeviceID>32768</DeviceID> <CMPDeviceID>32768</CMPDeviceID> <Role>N_PE</Role> </Destination> <LSPName>LSP_SO_to_128_204_49_215</LSPName> <NSLSPIndex>388</NSLSPIndex> </TA> </DeviceInfo> <ServiceEndPoint> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDEndPointParameterServiceType"" /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceTemplates /> <ServiceParameters xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""RSVPLSPBFDConfigParameterServiceType""> <RetryLimit>0</RetryLimit> <RetryTimer>30</RetryTimer> <LDPTunneling>Disabled</LDPTunneling> <AutoBandWidth> <AutoBandwidth>false</AutoBandwidth> <AdjustInterval>0</AdjustInterval> <MaxBandwidth>0</MaxBandwidth> <MinBandwidth>0</MinBandwidth> </AutoBandWidth> <ProtectionSetting> <LSPProtectionType>Unknown</LSPProtectionType> <LocalProtection>N/A</LocalProtection> <EnableFR>Disabled</EnableFR> </ProtectionSetting> <StandBy>true</StandBy> <Adaptive>Disabled</Adaptive> <SetupPriority>7</SetupPriority> <HoldPriority>0</HoldPriority> <MaxCost>-1</MaxCost> <MaxDelay>-1</MaxDelay> <TunnelMetric>-1</TunnelMetric> <RoutingMethod>RouteByPCC</RoutingMethod> <ProvisioningMethodType>NETCONF</ProvisioningMethodType> </ServiceParameters> <Reference> <ServiceOrder uri=""/api/space/nsas/rsvp-lsp/service-management/service-orders/98304"" href=""/api/space/nsas/rsvp-lsp/service-management/service-orders/98304"" key=""98304"" /> <ServiceDefinition> <ServiceDefinitionID uri=""/api/space/nsas/rsvp-lsp/service-management/service-definitions/131072"" href=""/api/space/nsas/rsvp-lsp/service-management/service-definitions/131072"" key=""131072"" /> </ServiceDefinition> </Reference> </Service> </ServiceResource> </Data>" "
Get Decommissioned Service Orders for LSP Service Definitions
This request is used to retrieve decommissioned service orders for LSP service definitions.
URL | /api/space/nsas/rsvp-lsp/service-management/service-orders/decomserviceorders?defnId=<defnID> |
HTTP Method | GET |
Sample URL | https://192.0.2.10:8443/api/space/nsas/rsvp-lsp/service-management/service-orders/decomserviceorders?defnId=4 |
Accept Header | application/vnd.net.juniper.space.service-management.service-orders+xml |
Content Type | application/vnd.net.juniper.space.service-management.service-orders+xml |
Request
Not Applicable
Response
""<?xml version=""1.0"" encoding=""UTF-8""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <ServiceResource size=""1""> <ServiceOrder key=""3"" uri=""/api/space/nsas/rsvp-lsp/service-management/service-orders/3"" href=""/api/space/nsas/rsvp-lsp/service-management/service-orders/3""> <Common> <Name>Test2_decommission_Jun-19-2018_01-24-24</Name> <Identity>3</Identity> <State>Completed</State> <ScheduledState>Completed</ScheduledState> <CreatedDate>2018-06-19T01:24:25.000+05:30</CreatedDate> <LastUpdatedDate>2018-06-19T01:24:35.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> <CreatedFrom>Tunnel</CreatedFrom> <DeployBy>CSD</DeployBy> </Common> <ServiceType>LSP</ServiceType> <JobIdsList>229400</JobIdsList> <Signaling /> <Action>Decommission</Action> <endpointcount>0</endpointcount> <Reference> <Customer uri=""/api/space/nsas/customer-management/customers/-1"" href=""/api/space/nsas/customer-management/customers/-1"" key=""-1"" /> <ServiceDefinition> <ServiceDefinitionID uri=""/api/space/nsas/rsvp-lsp/service-management/service-definitions/9"" href=""/api/space/nsas/rsvp-lsp/service-management/service-definitions/9"" key=""9""> <ServiceDefinitionName>ELAN-Hub-Spoke-QinQ-AllVLAN</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Service uri=""/api/space/nsas/rsvp-lsp/service-management/services/2"" href=""/api/space/nsas/rsvp-lsp/service-management/services/2"" key=""2"" /> </Reference> </ServiceOrder> </ServiceResource> </Data>" "