IP Services Management RESTful Web Services
The following operations can be performed using the Connectivity Services Director IP Services Management RESTful Web Services.
Get a Full-Mesh IP Service with Loopback Service By Service ID
This request is used to retrieve the details of a particular full-mesh IP service with loopback service.
URI | api/space/nsas/l3vpn/service-management/services/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects the details of a specific IP service with loopback service. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/1736717" uri="/api/space/nsas/l3vpn/servicemanagement/services/1736717" key="1736717"> <Common> <Name>FullMesh</Name> <Identity>1736717</Identity> <State>Deployed</State> <Comments>test</Comments> <CreatedDate>20130606T11:07:13.000+05:30</CreatedDate> <LastUpdatedDate>20130606T11:07:13.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/1704067" uri="/api/space/nsas/deviceroles/pedevices/1704067" key="1704067"> <DeviceName>jaipur</DeviceName> <DeviceID>1704067</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/3</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterServiceType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>2</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.88.1</InterfaceIP> <PeerAS>3</PeerAS> <NeighborIP>10.0.88.2</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/1704067" uri="/api/space/nsas/deviceroles/pedevices/1704067" key="1704067"> <DeviceName>jaipur</DeviceName> <DeviceID>1704067</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lo0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterServiceType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>0</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.88.5</InterfaceIP> <PeerAS>10</PeerAS> <NeighborIP>10.0.88.6</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>100:5619714</RouteTarget> <RouteDistinguisher>100:47349761</RouteDistinguisher> <VRFTabelLabel>Enabled</VRFTabelLabel> <ASOverride>true</ASOverride> <MaximumPrefixes>2</MaximumPrefixes> </ServiceParameters> <Reference> <ServiceOrder key="1736704" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1736704" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1736704" /> <ServiceDefinition> <ServiceDefinitionID key="393216" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/393216" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/393216" /> </ServiceDefinition> <Customer key="1704096" href="/api/space/nsas/customermanagement/customers/1704096" uri="/api/space/nsas/customermanagement/customers/1704096" /> </Reference> </Service> </ServiceResource> </Data>
Get a Hub-and-Spoke IP Service with Loopback Service By Service ID
This request is used to retrieve the details of a particular hub-and-spoke IP service with loopback service.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects the details of a specific IP service with loopback service. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/1736746" uri="/api/space/nsas/l3vpn/servicemanagement/services/1736746" key="1736746"> <Common> <Name>HubSpoke</Name> <Identity>1736746</Identity> <State>Deployed</State> <Comments>test</Comments> <CreatedDate>20130606T11:09:38.000+05:30</CreatedDate> <LastUpdatedDate>20130606T11:09:38.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/1704067" uri="/api/space/nsas/deviceroles/pedevices/1704067" key="1704067"> <DeviceName>jaipur</DeviceName> <DeviceID>1704067</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/3</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSOSPFEndPointConfigParameterServiceType"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>3</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.88.9</InterfaceIP> <Hub>true</Hub> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/1704067" uri="/api/space/nsas/deviceroles/pedevices/1704067" key="1704067"> <DeviceName>jaipur</DeviceName> <DeviceID>1704067</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lo0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSOSPFEndPointConfigParameterServiceType"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>0</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.88.6</InterfaceIP> <Hub>false</Hub> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <VRFTabelLabel>Enabled</VRFTabelLabel> <HubRouteTarget>100:5619715</HubRouteTarget> <SpokeRouteTarget>100:5619716</SpokeRouteTarget> </ServiceParameters> <Reference> <ServiceOrder key="1736733" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1736733" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1736733" /> <ServiceDefinition> <ServiceDefinitionID key="393244" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/393244" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/393244" /> </ServiceDefinition> <Customer key="1704096" href="/api/space/nsas/customermanagement/customers/1704096" uri="/api/space/nsas/customermanagement/customers/1704096" /> </Reference> </Service> </ServiceResource> </Data>
Get an IP Service with Manual Route Distinguisher and Route Target By Service ID
This request is used to retrieve the details of a particular IP service with manually-configured route distinguisher and route target.
URI | api/space/nsas/l3vpn/service-management/services/<serviceId> |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects the details of a specific IP service with manually-configured route distinguisher and route target. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/1605706" uri="/api/space/nsas/l3vpn/servicemanagement/services/1605706" key="1605706"> <Common> <Name>RDRTManual</Name> <Identity>1605706</Identity> <State>Deployed</State> <Comments> </Comments> <CreatedDate>20121216T19:56:53.000+05:30</CreatedDate> <LastUpdatedDate>20121216T19:56:53.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/721075" uri="/api/space/nsas/deviceroles/pedevices/721075" key="721075"> <DeviceName>embassy</DeviceName> <DeviceID>721075</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/0/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>3</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.77.5</InterfaceIP> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>10:2</RouteTarget> <RouteDistinguisher>10:2</RouteDistinguisher> <VRFTabelLabel>Enabled</VRFTabelLabel> </ServiceParameters> <Reference> <ServiceOrder key="1605699" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1605699" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1605699"/> <ServiceDefinition> <ServiceDefinitionID key="1605682" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/1605682" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/1605682"/> </ServiceDefinition> <Customer key="720896" href="/api/space/nsas/customermanagement/customers/720896" uri="/api/space/nsas/customermanagement/customers/720896"/> </Reference> </Service> </ServiceResource> </Data>
Get All IP Services
This request is used to retrieve all the configured IP services.
URI | api/space/nsas/l3vpn/service-management/services |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.servicesxml |
Produces | Collects all the configured IP services. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="4"> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/360513" uri="/api/space/nsas/l3vpn/servicemanagement/services/360513" key="360513"> <Common> <Name>L3VPNBGPFMService</Name> <Identity>360513</Identity> <State>Deployed</State> <Comments>L3VPNBGPFMService</Comments> <CreatedDate>20120906T15:10:06.000+05:30</CreatedDate> <LastUpdatedDate>20120906T15:10:06.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="360500" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/360500" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/360500" /> <ServiceDefinition> <ServiceDefinitionID key="360448" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/786452" uri="/api/space/nsas/l3vpn/servicemanagement/services/786452" key="786452"> <Common> <Name>L3VPPOSPFFMService</Name> <Identity>786452</Identity> <State>Deployed</State> <Comments>L3VPPOSPFFMService</Comments> <CreatedDate>20120907T17:15:29.000+05:30</CreatedDate> <LastUpdatedDate>20120908T11:19:30.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="786439" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786439" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786439" /> <ServiceDefinition> <ServiceDefinitionID key="360461" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360461" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360461" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/983167" uri="/api/space/nsas/l3vpn/servicemanagement/services/983167" key="983167"> <Common> <Name>L3VPNHSBGPService</Name> <Identity>983167</Identity> <State>Deployed</State> <Comments>L3VPNHSBGPService</Comments> <CreatedDate>20120908T11:53:49.000+05:30</CreatedDate> <LastUpdatedDate>20120908T13:55:50.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="983154" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/983154" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/983154" /> <ServiceDefinition> <ServiceDefinitionID key="360487" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360487" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360487" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/983303" uri="/api/space/nsas/l3vpn/servicemanagement/services/983303" key="983303"> <Common> <Name>L3VPNHSOSPFService</Name> <Identity>983303</Identity> <State>Deployed</State> <Comments>L3VPNHSOSPFService</Comments> <CreatedDate>20120908T14:00:13.000+05:30</CreatedDate> <LastUpdatedDate>20120908T15:10:05.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="983290" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/983290" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/983290" /> <ServiceDefinition> <ServiceDefinitionID key="360474" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360474" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360474" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> </ServiceResource> </Data>
Get All IP Services By Customer ID or Name
This request is used to retrieve all the configured IP services based on customer name or customer ID.
URI | api/space/nsas/l3vpn/service-management/ api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured IP services based on the customer name or ID. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/360513" uri="/api/space/nsas/l3vpn/servicemanagement/services/360513" key="360513"> <Common> <Name>L3VPNBGPFMService</Name> <Identity>360513</Identity> <State>Deployed</State> <Comments>L3VPNBGPFMService</Comments> <CreatedDate>20120906T15:10:06.000+05:30</CreatedDate> <LastUpdatedDate>20120906T15:10:06.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="360500" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/360500" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/360500" /> <ServiceDefinition> <ServiceDefinitionID key="360448" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/786452" uri="/api/space/nsas/l3vpn/servicemanagement/services/786452" key="786452"> <Common> <Name>L3VPPOSPFFMService</Name> <Identity>786452</Identity> <State>Deployed</State> <Comments>L3VPPOSPFFMService</Comments> <CreatedDate>20120907T17:15:29.000+05:30</CreatedDate> <LastUpdatedDate>20120908T11:19:30.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="786439" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786439" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786439" /> <ServiceDefinition> <ServiceDefinitionID key="360461" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360461" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360461" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> </ServiceResource> </Data>
Get All IP Services with Pagination, Search, and Filter
This request is used to retrieve all the configured IP services with pagination, and to filter the results based on the search criteria
URI | api/space/nsas/l3vpn/service-management/services api/space/nsas/l3vpn/service-management/services api/space/nsas/l3vpn/service-management/services |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured IP services with pagination applied, and with a filtered result-set that matches the search criteria |
For service orders, you can sort with “sortedby=CreatedDate” and “sortedby=State”.
For Start and Limit attributes, you can provide integer values based on your requirement to sort and filter the API output. Sortorder can be “asc” and “desc”. The SortedBy attribute differs based on the APIs. For service orders, the SortedBy option can be “CtreatedDate”, “State”. For services, the SortedBy option can be “Name”, “LastModifiedDate”. The FilteredBy attribute differs based on the APIs. For service orders, the FilteredBy option can be “Name” and “State”. For services, the FilteredBy option can be “Name”.
If you enter “paging=(starteq 2, limit eq 3)”, which is not a single integer value, the display is according to index of records. In this case, it shows from the first indexed record to the third indexed record. If you enter "start=2&limit=3", it starts from the second record and displays the next three records in all.
You can specify multiple key:value pairs with the FilteredBy attribute. For example, to get service orders, you can use Get ServiceOrders with Name and State as “filteredby=Name::L3VPN@@State::Invalid”. Similarly, to get service orders, you can use with Name OR state “filteredby=Name::L3VPN!! State::Invalid”.
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/360513" uri="/api/space/nsas/l3vpn/servicemanagement/services/360513" key="360513"> <Common> <Name>L3VPNBGPFMService</Name> <Identity>360513</Identity> <State>Deployed</State> <Comments>L3VPNBGPFMService</Comments> <CreatedDate>20120906T15:10:06.000+05:30</CreatedDate> <LastUpdatedDate>20120906T15:10:06.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="360500" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/360500" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/360500" /> <ServiceDefinition> <ServiceDefinitionID key="360448" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/786452" uri="/api/space/nsas/l3vpn/servicemanagement/services/786452" key="786452"> <Common> <Name>L3VPPOSPFFMService</Name> <Identity>786452</Identity> <State>Deployed</State> <Comments>L3VPPOSPFFMService</Comments> <CreatedDate>20120907T17:15:29.000+05:30</CreatedDate> <LastUpdatedDate>20120908T11:19:30.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="786439" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786439" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786439" /> <ServiceDefinition> <ServiceDefinitionID key="360461" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360461" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360461" /> </ServiceDefinition> <Customer key="557278" href="/api/space/nsas/customermanagement/customers/557278" uri="/api/space/nsas/customermanagement/customers/557278" /> </Reference> </Service> </ServiceResource> </Data>
Get an IP Service By Service ID
This request is used to retrieve the details of a particular IP service.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific IP service. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="1278070" uri="/api/space/nsas/l3vpn/servicemanagement/services/1278070" href="/api/space/nsas/l3vpn/servicemanagement/services/1278070"> <Common> <Name>l3vpnospfstatc</Name> <Identity>1278070</Identity> <State>Deployed</State> <CreatedDate>20140709T15:12:11.000+05:30</CreatedDate> <LastUpdatedDate>20140709T15:12:11.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="786663" uri="/api/space/nsas/deviceroles/pedevices/786663" href="/api/space/nsas/deviceroles/pedevices/786663"> <DeviceName>junosspace1</DeviceName> <DeviceID>786663</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/0</InterfaceName> <InterfaceIndex>525</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"> <UNIDescription>AEnd</UNIDescription> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>QinQ</EthernetOption> <UnitID>1</UnitID> <VlanId>1</VlanId> <InterfaceIP>10.0.77.5</InterfaceIP> <CustomerVlanType>Transport single vlan</CustomerVlanType> <CustomerVlan>212</CustomerVlan> <OuterTPID>0x8100</OuterTPID> <InnerTPID>0x8100</InnerTPID> <RouteDistinguisher>69:2147467297</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="786635" uri="/api/space/nsas/deviceroles/pedevices/786635" href="/api/space/nsas/deviceroles/pedevices/786635"> <DeviceName>junosspace2</DeviceName> <DeviceID>786635</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/1</InterfaceName> <InterfaceIndex>526</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"> <UNIDescription>ZEnd</UNIDescription> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>DOT1Q</EthernetOption> <UnitID>1</UnitID> <VlanId>1</VlanId> <InterfaceIP>10.0.77.9</InterfaceIP> <RouteDistinguisher>69:2147467298</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>69:1454096404</RouteTarget> <VRFTabelLabel>Enabled</VRFTabelLabel> <OSPFDomainID>10.10.10.10</OSPFDomainID> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1278055" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1278055" key="1278055" /> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/426002" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/426002" key="426002" /> </ServiceDefinition> <Customer uri="/api/space/nsas/customermanagement/customers/557118" href="/api/space/nsas/customermanagement/customers/557118" key="557118" /> </Reference> </Service> </ServiceResource> </Data>
Get an IP Service with Pseudowire Stitching By Service ID
This request is used to retrieve the details of a particular IP service with E-Line pseudowire stitching.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific IP service with E-Line pseudowire stitching. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/327749" uri="/api/space/nsas/l3vpn/servicemanagement/services/327749" key="327749"> <Common> <Name>Sti</Name> <Identity>327749</Identity> <State>Deployed</State> <CreatedDate>20130301T11:36:25.000+05:30</CreatedDate> <LastUpdatedDate>20130301T11:36:25.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Down</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/557158" uri="/api/space/nsas/deviceroles/pedevices/557158" key="557158"> <DeviceName>junosspace1</DeviceName> <DeviceID>557158</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/3</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterServiceType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>1</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.88.5</InterfaceIP> <PeerAS>30</PeerAS> <NeighborIP>10.0.88.6</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/557126" uri="/api/space/nsas/deviceroles/pedevices/557126" key="557126"> <DeviceName>embassy</DeviceName> <DeviceID>557126</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/1/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterServiceType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <VlanId>3</VlanId> <UnitID>0</UnitID> <InterfaceIP>10.0.88.1</InterfaceIP> <PeerAS>3</PeerAS> <NeighborIP>10.0.88.2</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/557126" uri="/api/space/nsas/deviceroles/pedevices/557126" key="557126"> <DeviceName>embassy</DeviceName> <DeviceID>557126</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lt1/3/10</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterServiceType"> <EthernetOption>Port</EthernetOption> <InterfaceIP>10.0.99.1</InterfaceIP> <PeerAS>0</PeerAS> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <PWExtension> <Device>kochin</Device> <Interface>ge0/0/5</Interface> <VCId>2147467267</VCId> </PWExtension> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/557126" uri="/api/space/nsas/deviceroles/pedevices/557126" key="557126"> <DeviceName>embassy</DeviceName> <DeviceID>557126</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lt1/1/10</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterServiceType"> <EthernetOption>Vlan</EthernetOption> <VlanId>512</VlanId> <InterfaceIP>10.0.77.9</InterfaceIP> <PeerAS>0</PeerAS> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <PWExtension> <Device>kochin</Device> <Interface>ge0/1/1</Interface> <VlanId>512</VlanId> <VCId>2147467273</VCId> </PWExtension> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>100:114696</RouteTarget> <RouteDistinguisher>100:1146906</RouteDistinguisher> <VRFTabelLabel>Enabled</VRFTabelLabel> <ASOverride>true</ASOverride> <MaximumPrefixes>0</MaximumPrefixes> </ServiceParameters> <Reference> <ServiceOrder key="327736" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/327736" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/327736" /> <ServiceDefinition> <ServiceDefinitionID key="327680" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/327680" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/327680" /> </ServiceDefinition> <Customer key="557188" href="/api/space/nsas/customermanagement/customers/557188" uri="/api/space/nsas/customermanagement/customers/557188" /> </Reference> </Service> </ServiceResource> </Data>
Get an E-Line Service with Pseudowire Stitching for an L3VPN By Service ID
This request is used to retrieve the details of a particular E-Line service stitched to an L3VPN.
URI | api/space/nsas/eline-ptp/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific E-Line service stitched to an L3VPN. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/elineptp/servicemanagement/services/295216" uri="/api/space/nsas/elineptp/servicemanagement/services/295216" key="295216"> <Common> <Name>zfdhgf</Name> <Identity>295216</Identity> <State>Deployed</State> <CreatedDate>20130301T13:01:29.000+05:30</CreatedDate> <LastUpdatedDate>20130301T13:01:29.000+05:30</LastUpdatedDate> </Common> <ServiceType>LDP</ServiceType> <AuditFlag> <FunctionalAudit>Down</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/557126" uri="/api/space/nsas/deviceroles/pedevices/557126" key="557126"> <DeviceName>embassy</DeviceName> <DeviceID>557126</DeviceID> <CMPDeviceID>426036</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lt1/3/10.0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>ethernetccc</PhysicalEncapsulation> <LogicalEncapsulation>N/A</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <VlanId>0</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">0</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <PWStitching> <L3RoutingInstName>Sti</L3RoutingInstName> <IPAddressPool>10.0.99.1/30</IPAddressPool> <PeerUnitName>4096</PeerUnitName> </PWStitching> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.4</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.1</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/557063" uri="/api/space/nsas/deviceroles/pedevices/557063" key="557063"> <DeviceName>kochin</DeviceName> <DeviceID>557063</DeviceID> <CMPDeviceID>426020</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/5.0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType"> <EndPointCategory>PTP</EndPointCategory> <TrafficType>Transport using port</TrafficType> <PhysicalEncapsulation>ethernetccc</PhysicalEncapsulation> <LogicalEncapsulation>N/A</LogicalEncapsulation> <UNIDescription>N/A</UNIDescription> <VlanId>0</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">0</Bandwidth> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <ServiceEndPointGroupParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="PTPServiceEndpointGroupParameterServiceType"> <PEDevice_LoopBackIP>50.1.2.1</PEDevice_LoopBackIP> <PEDevice_NeighborIP>50.1.2.4</PEDevice_NeighborIP> </ServiceEndPointGroupParameter> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="PTPConfigParameterServiceType"> <MTU>1522</MTU> <VCID>2147467267</VCID> </ServiceParameters> <Reference> <ServiceOrder key="295209" href="/api/space/nsas/elineptp/servicemanagement/serviceorders/295209" uri="/api/space/nsas/elineptp/servicemanagement/serviceorders/295209" /> <ServiceDefinition> <ServiceDefinitionID key="295154" href="/api/space/nsas/elineptp/servicemanagement/servicedefinitions/295154" uri="/api/space/nsas/elineptp/servicemanagement/servicedefinitions/295154" /> </ServiceDefinition> <Customer key="557188" href="/api/space/nsas/customermanagement/customers/557188" uri="/api/space/nsas/customermanagement/customers/557188" /> </Reference> </Service> </ServiceResource> </Data>
Get an IP Service with VRF Route Label By Service ID
This request is used to retrieve the details of a particular IP service with VRF route label.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Collects the details of a specific IP service with VRF route label. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPNAPI</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>embassy</DeviceName> <DeviceID>721075</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/0/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Vlan</EthernetOption> <UnitID>0</UnitID> <InterfaceIP>10.0.77.1</InterfaceIP> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterOrderType"> <RouteTarget>100:7</RouteTarget> <RouteDistinguisher>100:34</RouteDistinguisher> <VRFTabelLabel>Enable</VRFTabelLabel> </ServiceOrderParameter> <Reference> <Customer key="720896"/> <ServiceDefinition> <ServiceDefinitionID key="1441826"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
Modify an IP Service with Addition of a Site
This request is used to modify an IP service with addition of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with addition of a site. |
The XPath tag in a service template attribute is optional and we recommend that you use this tag.
Input (Version 1)
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPNHSOSPFModified_addSite</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>m10i2</DeviceName> <DeviceID>1736846</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/3/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSOSPFEndPointConfigParameterOrderType"> <EthernetOption>VLAN</EthernetOption> <Hub>false</Hub> <InterfaceIP AutoPick="true" /> <IPAddressPool>10.0.88.0/24</IPAddressPool> <VlanID>14</VlanID> <OSPFAreaId>1.1.1.1</OSPFAreaId> <OSPFVersion>Ver 3</OSPFVersion> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Input (With XPath)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>testL3vpn_FMADDSites_1</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace3</DeviceName> <DeviceID>524459</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/3</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate> <ID>6357015</ID> <ConfigParams> <Name>Description</Name> <Value>DemoDescription</Value> <Xpath>/configuration/cp1/interface/description</Xpath> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> </ServiceTemplate> <ServiceTemplate> <ID>66341</ID> <ConfigParams> <Name>Outer</Name> <Value>$junosvlanid</Value> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> <ConfigParams> <Name>Inner</Name> <Value>$junosvlanid</Value> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 1)
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>2818205</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2818348</Value> </Identity> <Job> <ID>597830</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Input (Version 2)
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPNHSOSPFModified_addSite</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosmx801space</DeviceName> <DeviceID>786568</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/2/6</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType"> <UNIDescription>AEnd</UNIDescription> <EthernetOption>QinQ</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>17</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>11</VlanId> <CustomerVlanType>Transport single vlan</CustomerVlanType> <CustomerVlan>212</CustomerVlan> <OuterTPID>0x8100</OuterTPID> <InnerTPID>0x8100</InnerTPID> <InterfaceIP AutoPick="true" /> <IPAddressPool>10.0.99.0/24</IPAddressPool> <PeerAS>1</PeerAS> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 2)
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>950332</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1245196</Value> </Identity> <Job> <ID>458781</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an IP Service with Deletion of a Site
This request is used to modify an IP service with deletion of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with deletion of a site. |
Input (Version 1)
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>kochin</DeviceName> <DeviceID>2883721</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/2/9</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType"> <EthernetOption>VLAN</EthernetOption> <VlanId>2</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 1)
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>2818205</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2818348</Value> </Identity> <Job> <ID>597830</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Input (Version 2)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_UnitHandling_Test_001_delSites</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA key="589845" uri="/api/space/nsas/deviceroles/pedevices/589845" href="/api/space/nsas/deviceroles/pedevices/589845"> <DeviceName>junosspace2</DeviceName> <DeviceID>589845</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/3</InterfaceName> <InterfaceIndex>520</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>45</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>42</VlanId> <InterfaceIP>10.0.77.33</InterfaceIP> <RouteDistinguisher>69:2147467288</RouteDistinguisher> <PeerAS>1</PeerAS> <NeighborIP>10.0.77.34</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 2)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1016500</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1016525</Value> </Identity> <Job> <ID>393339</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an IP Service for Service Name and Endpoint Details
This request is used to modify an IP service for service name and endpoint information.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with updates to service name and endpoint details. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>l3vpnospfstatcAPI</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace1</DeviceName> <DeviceID>786663</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType"> <UNIDescription>AEnd</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace2</DeviceName> <DeviceID>786635</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/1</InterfaceName> <InterfaceIndex>526</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType"> <UNIDescription>ZEnd</UNIDescription> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>950332</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1245196</Value> </Identity> <Job> <ID>458781</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify an IP Service with Loopback Interfaces for Addition of a Site
This request is used to modify an IP service with loopback interfaces for addition of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with loopback interfaces for addition of a site. |
Input (Version 2)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPNBGPStatic_SO_SPAPI_ADDSites</Name> <Comments>BGP_FullMesh</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace1</DeviceName> <DeviceID>524377</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>10</VlanId> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <PeerAS>7</PeerAS> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <EnableLoopback>true</EnableLoopback> <DeviceInfo> <NA> <DeviceName>junosspace3</DeviceName> <DeviceID>524444</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lo0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <UnitID>235</UnitID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <PeerAS>1</PeerAS> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 2)
Sample XML Input
<Data> <Status> <Identity> <Type>Service</Type> <Value>1048585</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1048598</Value> </Identity> <Job> <ID>360453</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Modify an IP Service with Loopback Interfaces for Deletion of a Site
This request is used to modify an IP service with loopback interfaces for deletion of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with loopback interfaces for deletion of a site. |
Input (Version 2)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPNBGP_SO_SPAPI_DeleteSites</Name> <Comments>BGP_FullMesh</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace1</DeviceName> <DeviceID>524377</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>10</VlanId> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <PeerAS>7</PeerAS> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <EnableLoopback>true</EnableLoopback> <DeviceInfo> <NA> <DeviceName>junosspace3</DeviceName> <DeviceID>524444</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lo0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <UnitID>235</UnitID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <PeerAS>1</PeerAS> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 2)
Sample XML Input
Modify an IP Service with Loopback Interfaces
This request is used to modify an IP service with loopback interfaces for service name and endpoint details.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with loopback interfaces for service name and endpoint details. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_Service_Modify</Name> </Common> <ServiceEndPointGroup> <EnableLoopback>true</EnableLoopback> <DeviceInfo> <NA> <DeviceName>junosspace2</DeviceName> <DeviceID>524349</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>lo0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <UnitID>235</UnitID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <PeerAS>1</PeerAS> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>426100</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>786432</Value> </Identity> <Job> <ID>294921</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Get an IP Service with Stitching Point By Service ID
This request is used to retrieve the details of a particular IP service configured with a stitching point.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific IP service configured with a stitching point. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="786511" uri="/api/space/nsas/l3vpn/servicemanagement/services/786511" href="/api/space/nsas/l3vpn/servicemanagement/services/786511"> <Common> <Name>L3VPN_OSPF_SP_API</Name> <Identity>786511</Identity> <State>Deployed</State> <CreatedDate>20150108T18:07:13.000+05:30</CreatedDate> <LastUpdatedDate>20150108T18:07:13.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <EnableMCLAG>false</EnableMCLAG> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="524377" uri="/api/space/nsas/deviceroles/pedevices/524377" href="/api/space/nsas/deviceroles/pedevices/524377"> <DeviceName>junosspace1</DeviceName> <DeviceID>524377</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>400</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.0.88.9</InterfaceIP> <RouteDistinguisher>69:2147467282</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="524302" uri="/api/space/nsas/deviceroles/pedevices/524302" href="/api/space/nsas/deviceroles/pedevices/524302"> <DeviceName>junosmx240space</DeviceName> <DeviceID>524302</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"/> </ServiceEndPoint> <EnableStitchingPoint>true</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>69:1454096387</RouteTarget> <VRFTabelLabel>Enabled</VRFTabelLabel> <OSPFDomainID>2.2.2.2</OSPFDomainID> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786502" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/786502" key="786502"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/426002" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/426002" key="426002"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customermanagement/customers/524492" href="/api/space/nsas/customermanagement/customers/524492" key="524492"/> </Reference> </Service> </ServiceResource> </Data>
Modify an IP Service with Stitching Point for Addition of a Site
This request is used to modify an IP service with stitching point for addition of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with stitching point for addition of a site. |
Input (Version 2)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPNBGPStatic_SO_SPAPI_ADDSites</Name> <Comments>BGP_FullMesh</Comments> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace1</DeviceName> <DeviceID>524377</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <EthernetOption>Dot1Q</EthernetOption> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>10</VlanId> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <PeerAS>7</PeerAS> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <EnableStitchingPoint>true</EnableStitchingPoint> <DeviceInfo> <NA> <DeviceName>junosspace3</DeviceName> <DeviceID>524444</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 2)
Sample XML Input
<Data> <Status> <Identity> <Type>Service</Type> <Value>1048585</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1048598</Value> </Identity> <Job> <ID>360453</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Modify an IP Service with Stitching Point for Deletion of a Site
This request is used to modify an IP service with stitching point for deletion of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with stitching point for deletion of a site. |
Input (Version 2)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_StitchingPoint_Test_001_delSites</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA key="589845" uri="/api/space/nsas/deviceroles/pedevices/589845" href="/api/space/nsas/deviceroles/pedevices/589845"> <DeviceName>junosspace2</DeviceName> <DeviceID>589845</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/3</InterfaceName> <InterfaceIndex>520</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>45</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>45</VlanId> <InterfaceIP>10.0.77.33</InterfaceIP> <RouteDistinguisher>69:2147467288</RouteDistinguisher> <PeerAS>1</PeerAS> <NeighborIP>10.0.77.34</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <EnableStitchingPoint>true</EnableStitchingPoint> <DeviceInfo> <NA key="589845" uri="/api/space/nsas/deviceroles/pedevices/589845" href="/api/space/nsas/deviceroles/pedevices/589845"> <DeviceName>junosspace2</DeviceName> <DeviceID>589845</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output (Version 2)
Sample XML Input
<Data> <Status> <Identity> <Type>Service</Type> <Value>1048585</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1048598</Value> </Identity> <Job> <ID>360453</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Modify an IP Service with Stitching Point
This request is used to modify an IP service with stitching point.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with stitching point. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder key="1016481" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1016481" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1016481"> <Common> <Name>L3VPN_UnitHandling_test_001_1</Name> </Common> <ServiceEndPointGroup> <DeviceInfo> <NA key="589874" uri="/api/space/nsas/deviceroles/pedevices/589874" href="/api/space/nsas/deviceroles/pedevices/589874"> <DeviceName>junosspace1</DeviceName> <DeviceID>589874</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <UNIDescription>ge0/1/5 is used</UNIDescription> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <AutoPickVlanID>false</AutoPickVlanID> <UnitID>45</UnitID> <VlanId>42</VlanId> <InterfaceIP>10.0.77.29</InterfaceIP> <RouteDistinguisher>69:2147467286</RouteDistinguisher> <PeerAS>1</PeerAS> <NeighborIP>10.0.77.30</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="589970" uri="/api/space/nsas/deviceroles/pedevices/589970" href="/api/space/nsas/deviceroles/pedevices/589970"> <DeviceName>junosspace3</DeviceName> <DeviceID>589970</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/6</InterfaceName> <InterfaceIndex>523</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType"> <RoutingProtocol>BGP</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <AutoPickVlanID>false</AutoPickVlanID> <UnitID>45</UnitID> <VlanId>42</VlanId> <InterfaceIP>10.0.77.37</InterfaceIP> <RouteDistinguisher>65501:5455883</RouteDistinguisher> <PeerAS>1</PeerAS> <NeighborIP>10.0.77.38</NeighborIP> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterOrderType"> <RouteTarget>69:1454096391</RouteTarget> <VRFTabelLabel>true</VRFTabelLabel> <ASOverride>true</ASOverride> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>426100</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>786432</Value> </Identity> <Job> <ID>294921</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Get All IP Services
This request is used to retrieve all the configured IP services.
URI | api/space/nsas/l3vpn/service-management/services |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured IP services. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3112986" uri="/api/space/nsas/l3vpn/servicemanagement/services/3112986" key="3112986"> <Common> <Name>Ser3</Name> <Identity>3112986</Identity> <State>Deployed</State> <Comments>Ser3</Comments> <CreatedDate>20120922T12:07:23.000+05:30</CreatedDate> <LastUpdatedDate>20120922T12:07:23.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="3112974" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3112974" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3112974" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" /> </ServiceDefinition> <Customer key="1048781" href="/api/space/nsas/customermanagement/customers/1048781" uri="/api/space/nsas/customermanagement/customers/1048781" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3113013" uri="/api/space/nsas/l3vpn/servicemanagement/services/3113013" key="3113013"> <Common> <Name>Ser1</Name> <Identity>3113013</Identity> <State>Deployed</State> <Comments>Ser1</Comments> <CreatedDate>20120922T12:10:26.000+05:30</CreatedDate> <LastUpdatedDate>20120922T12:10:26.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="3113001" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3113001" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3113001" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" /> </ServiceDefinition> <Customer key="1048781" href="/api/space/nsas/customermanagement/customers/1048781" uri="/api/space/nsas/customermanagement/customers/1048781" /> </Reference> </Service> </ServiceResource> </Data>
Get All IP Services By Customer ID or Name
This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-Line) services based on customer name or customer ID.
URI | api/space/nsas/l3vpn/service-management/ api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured IP services based on the customer name or ID. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3112986" uri="/api/space/nsas/l3vpn/servicemanagement/services/3112986" key="3112986"> <Common> <Name>Ser3</Name> <Identity>3112986</Identity> <State>Deployed</State> <Comments>Ser3</Comments> <CreatedDate>20120922T12:07:23.000+05:30</CreatedDate> <LastUpdatedDate>20120922T12:07:23.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="3112974" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3112974" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3112974" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" /> </ServiceDefinition> <Customer key="1048781" href="/api/space/nsas/customermanagement/customers/1048781" uri="/api/space/nsas/customermanagement/customers/1048781" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3113013" uri="/api/space/nsas/l3vpn/servicemanagement/services/3113013" key="3113013"> <Common> <Name>Ser1</Name> <Identity>3113013</Identity> <State>Deployed</State> <Comments>Ser1</Comments> <CreatedDate>20120922T12:10:26.000+05:30</CreatedDate> <LastUpdatedDate>20120922T12:10:26.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="3113001" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3113001" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3113001" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" /> </ServiceDefinition> <Customer key="1048781" href="/api/space/nsas/customermanagement/customers/1048781" uri="/api/space/nsas/customermanagement/customers/1048781" /> </Reference> </Service> </ServiceResource> </Data> <h4><span id="vplsserss"></span>4.9 Get All Services with Sorting/Searching/PaginationVPLS <a href="#contents" style="fontsize:14px;">[ ▴Top ]</a></h4> <p> <b><u>URI1</u></b> : <a> api/space/nsas/l3vpn/servicemanagement/services?sortorder=desc&sortedby=Name&filteredby="Name::Ser </a> </p> <p> <b><u>METHOD</u></b> : GET </p> <p> <b><u>Accept:</u></b> application/vnd.net.juniper.space.servicemanagement.services+xml;version=2 </p> <p> <b><u>Sample Response</u></b> <u>:</u> </p> <textarea rows="25" spellcheck=false readonly=true style="backgroundcolor: lightyellow;width: 1250px; height: 200px;"> <?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3112986" uri="/api/space/nsas/l3vpn/servicemanagement/services/3112986" key="3112986"> <Common> <Name>Ser3</Name> <Identity>3112986</Identity> <State>Deployed</State> <Comments>Ser3</Comments> <CreatedDate>20120922T12:07:23.000+05:30</CreatedDate> <LastUpdatedDate>20120922T12:07:23.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="3112974" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3112974" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3112974" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" /> </ServiceDefinition> <Customer key="1048781" href="/api/space/nsas/customermanagement/customers/1048781" uri="/api/space/nsas/customermanagement/customers/1048781" /> </Reference> </Service> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3113013" uri="/api/space/nsas/l3vpn/servicemanagement/services/3113013" key="3113013"> <Common> <Name>Ser1</Name> <Identity>3113013</Identity> <State>Deployed</State> <Comments>Ser1</Comments> <CreatedDate>20120922T12:10:26.000+05:30</CreatedDate> <LastUpdatedDate>20120922T12:10:26.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> </AuditFlag> <Reference> <ServiceOrder key="3113001" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3113001" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3113001" /> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/262144" /> </ServiceDefinition> <Customer key="1048781" href="/api/space/nsas/customermanagement/customers/1048781" uri="/api/space/nsas/customermanagement/customers/1048781" /> </Reference> </Service> </ServiceResource> </Data>
Get IP Service Details By Service ID
This request is used to retrieve the details of a particular IP service based on the service ID.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific IP service by service ID. |
Output (Version 2)
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="2785331" uri="/api/space/nsas/l3vpn/servicemanagement/services/2785331" href="/api/space/nsas/l3vpn/servicemanagement/services/2785331"> <Common> <Name>VPLSSO_BGP_MDFSO_20140722172855.366</Name> <Identity>2785331</Identity> <State>Deployed</State> <CreatedDate>20140722T17:33:57.000+05:30</CreatedDate> <LastUpdatedDate>20140722T17:33:57.000+05:30</LastUpdatedDate> </Common> <ServiceType>VPLS</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="524482" uri="/api/space/nsas/deviceroles/pedevices/524482" href="/api/space/nsas/deviceroles/pedevices/524482"> <DeviceName>amx1100a</DeviceName> <DeviceID>524482</DeviceID> <CMPDeviceID>131285</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/3/4</InterfaceName> <InterfaceIndex>566</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="VPLSBGPEndPointConfigParameterServiceType"> <PhysicalEncapsulation>flexibleethernetservices</PhysicalEncapsulation> <UNIDescription>N/A</UNIDescription> <VlanId>2</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> <MACLearning>true</MACLearning> <InterfaceMACLimit>1024</InterfaceMACLimit> <MACStatistics>false</MACStatistics> <MACTableSize>5120</MACTableSize> <OuterTPID>None</OuterTPID> <UnitId>2</UnitId> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="524482" uri="/api/space/nsas/deviceroles/pedevices/524482" href="/api/space/nsas/deviceroles/pedevices/524482"> <DeviceName>amx1100a</DeviceName> <DeviceID>524482</DeviceID> <CMPDeviceID>131285</CMPDeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge1/3/5</InterfaceName> <InterfaceIndex>567</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="VPLSBGPEndPointConfigParameterServiceType"> <PhysicalEncapsulation>flexibleethernetservices</PhysicalEncapsulation> <UNIDescription>N/A</UNIDescription> <VlanId>12</VlanId> <MTU>1522</MTU> <Bandwidth unit="Mbps">10</Bandwidth> <MACLearning>true</MACLearning> <InterfaceMACLimit>1024</InterfaceMACLimit> <MACStatistics>false</MACStatistics> <MACTableSize>5120</MACTableSize> <OuterTPID>None</OuterTPID> <UnitId>12</UnitId> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="VPLSConfigParameterServiceType"> <RouteTarget>69:1454096390</RouteTarget> <VLANNormalization>Not Normalized</VLANNormalization> <AutoDiscovery>false</AutoDiscovery> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/2785319" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/2785319" key="2785319"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/360448" key="360448"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customermanagement/customers/524831" href="/api/space/nsas/customermanagement/customers/524831" key="524831"/> </Reference> </Service> </ServiceResource> </Data>
Force-Deploy an IP Service
This request is used to forcibly deploy a previously created IP service.
URI | api/space/nsas/l3vpn/service-management/ |
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 | Forcibly deploys a previously created IP service. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime>20120409T19:07:18.000+05:30</ScheduledDateTime> </ CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>2097255</Value> </Identity> <Job> <ID>655791</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Force-Deploy an IP Service
This request is used to forcibly deploy previously created services in a bulk operation.
URI | api/space/nsas/l3vpn/service-management/ |
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 | Forcibly deploys previously created services in a bulk operation. |
Input (Bulk Force-Deploy Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Input (Bulk Force-Deploy Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeployLater</Action> <ScheduledDateTime> 20141112T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622725</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622730</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Force Deploy was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Decommission IP Services
This request is used to decommission previously created services in a bulk operation..
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management.service+xml |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a single-step, wholesale decommissioning of previously created services. |
Input (Bulk Decommission Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DecommissionNow</Action> </CustomAction> </Data>
Input (Bulk Decommission Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DecommissionLater</Action> <ScheduledDateTime> 20141112T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622760</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622761</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Deactivation of an IP Service
This request is used to deactivate a previously created service.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deactivates a previously created service. |
Input ( Deactivation Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeActivateNow </Action> </CustomAction> </Data>
Input (Deactivation Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DeActivateLater</Action> <ScheduledDateTime>20141112T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622698</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message>Service DeActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Deactivation of IP Services
This request is used to deactivate previously created services in a bulk operation.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a single-step deactivation of previously created services. |
Input (Bulk Deactivation Immediately)
Sample XML Input
<Data xmlns=”services.schema.networkapi.jmp.juniper.net” xmlns:xsi=”http://www.w3.org/2001/XMLSchemainstance” xsi:schemaLocation=”services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd”> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type=”ServiceCustomActionType”> <Action>DeActivateNow </Action> </CustomAction> </Data>
Input (Bulk Deactivation Later)
Sample XML Input
<Data xmlns=”services.schema.networkapi.jmp.juniper.net” xmlns:xsi=”http://www.w3.org/2001/XMLSchemainstance” xsi:schemaLocation=”services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd”> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type=”ServiceCustomActionType”> <Action>DeActivateLater</Action> <ScheduledDateTime> 20141112T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622735</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service DeActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622740</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service DeActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Reactivation of an IP Service
This request is used to reactivate a previously created service.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Reactivates a previously created service. |
Input (Reactivation Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>ReActivateNow </Action> </CustomAction> </Data>
Input (Reactivation Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>ReActivateLater</Action> <ScheduledDateTime></ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622718</ID> <Status>SCHEDULED</Status> </Job> <Code>200</Code> <Message>Service ReActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Bulk Reactivation of IP Services
This request is used to reactivate previously created services in a bulk operation.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Performs a single-step reactivation of previously created services. |
Input (Bulk Reactivation Immediately)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>ReActivateNow </Action> </CustomAction> </Data>
Input (Bulk Reactivation Later)
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <Identity> <Type>Service</Type> <Value>1085688</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085713</Value> </Identity> <Identity> <Type>Service</Type> <Value>1085724</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>ReActivateLater</Action> <ScheduledDateTime> 20141112T12:15:18.000</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1638623</Value> </Identity> <Job> <ID>622745</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service ReActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> <Status> <Identity> <Type>Service</Type> <Value>1638634</Value> </Identity> <Job> <ID>622750</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>Service ReActivate was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Decommission an IP Service Immediately
This request is used to decommission a previously created IP service immediately.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management.service+xml |
Produces | Decommissions a previously created IP service immediately. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation="services.schema.networkapi.jmp.juniper.net REST_Data_Model.xsd"> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DecommissionLater</Action> <ScheduledDateTime></ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
Modify a Full-Mesh IP Service with Static Routing Protocol for Addition of a Site
This request is used to modify an IP service with static routing protocol for addition of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with static routing protocol and with addition of a site. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_FM_SO_Addsite_API01</Name> <Comments>fdgdfg</Comments> </Common> <ServiceType>l3vpn</ServiceType> <EnableMVPN>false</EnableMVPN> <Action>Modification</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="524310" uri="/api/space/nsas/deviceroles/pedevices/524557" href="/api/space/nsas/deviceroles/pedevices/524310"> <DeviceName>junosm102space</DeviceName> <DeviceID>524310</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>fe1/1/1</InterfaceName> <InterfaceIndex>525</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterOrderType"> <AutoPickUnitID>false</AutoPickUnitID> <AutoPickVlanID>true</AutoPickVlanID> <UNIDescription>fghfghf</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.2.6.9/30</InterfaceIP> <RouteDistinguisher>69:2147467305</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.3.6.5/32</DestinationPrefix> <NextHop>10.3.6.1</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1671233</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1671295</Value> </Identity> <Job> <ID>491628</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify a Full-Mesh IP Service with Static Routing Protocol for Deletion of a Site
This request is used to modify an IP service with deletion of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with static routing protocol and with deletion of a site. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosm102space</DeviceName> <DeviceID>524310</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>fe1/1/1</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterOrderType"> <UNIDescription>hfghf</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>6</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>1</VlanId> <InterfaceIP>10.2.6.9/30</InterfaceIP> <RouteDistinguisher>69:2147467305</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.3.6.5/32</DestinationPrefix> <NextHop>10.3.6.1</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1671233</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1671295</Value> </Identity> <Job> <ID>491628</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify a Full-Mesh IP Service with Static Routing Protocol for Service Name and Endpoint Details
This request is used to modify an IP service for service name and endpoint information.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with static routing protocol and with updates to service name and endpoint details. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_FM_STATIC_ModifyService_05</Name> <Comments>ertert</Comments> </Common> <ServiceType>l3vpn</ServiceType> <EnableMVPN>false</EnableMVPN> <EnableMCLAG>false</EnableMCLAG> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="557168" uri="/api/space/nsas/deviceroles/pedevices/557168" href="/api/space/nsas/deviceroles/pedevices/557168"> <DeviceName>junosspace1</DeviceName> <DeviceID>557168</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterOrderType"> <UNIDescription>retretre</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.2.3.6</InterfaceIP> <RouteDistinguisher>69:2147467264</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.10.10.10/32</DestinationPrefix> <NextHop>10.10.10.10</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates /> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557143" uri="/api/space/nsas/deviceroles/pedevices/557143" href="/api/space/nsas/deviceroles/pedevices/557143"> <DeviceName>junosspace2</DeviceName> <DeviceID>557143</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterOrderType"> <UNIDescription>rtyrt</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.2.3.5</InterfaceIP> <RouteDistinguisher>69:2147467268</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.3.6/32</DestinationPrefix> <NextHop>10.2.3.6</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557290" uri="/api/space/nsas/deviceroles/pedevices/557290" href="/api/space/nsas/deviceroles/pedevices/557290"> <DeviceName>junosspace3</DeviceName> <DeviceID>557290</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/6</InterfaceName> <InterfaceIndex>523</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterOrderType"> <UNIDescription>rtyrty</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.2.3.4</InterfaceIP> <RouteDistinguisher>65501:5455873</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.3.9/32</DestinationPrefix> <NextHop>10.2.8.4</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterOrderType"> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>720997</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>721119</Value> </Identity> <Job> <ID>294944</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Get a Full-Mesh IP Service with Static Routing Protocol By Service ID
This request is used to retrieve the details of a particular full-mesh IP service with static routing protocol.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects the details of a specific IP service with static routing protocol. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="426095" uri="/api/space/nsas/l3vpn/servicemanagement/services/426095" href="/api/space/nsas/l3vpn/servicemanagement/services/426095"> <Common> <Name>L3VPN_FM_STATIC_SO</Name> <Identity>426095</Identity> <State>Deployed</State> <Comments>ertert</Comments> <CreatedDate>20150121T11:53:29.000+05:30</CreatedDate> <LastUpdatedDate>20150121T11:53:29.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <EnableMCLAG>false</EnableMCLAG> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="557168" uri="/api/space/nsas/deviceroles/pedevices/557168" href="/api/space/nsas/deviceroles/pedevices/557168"> <DeviceName>junosspace1</DeviceName> <DeviceID>557168</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterServiceType"> <UNIDescription>retretre</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>3</UnitID> <VlanId>3</VlanId> <InterfaceIP>10.2.3.6</InterfaceIP> <RouteDistinguisher>69:2147467264</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.4.1/32</DestinationPrefix> <NextHop>10.2.4.5</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557143" uri="/api/space/nsas/deviceroles/pedevices/557143" href="/api/space/nsas/deviceroles/pedevices/557143"> <DeviceName>junosspace2</DeviceName> <DeviceID>557143</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterServiceType"> <UNIDescription>rtyrt</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.2.3.5</InterfaceIP> <RouteDistinguisher>69:2147467268</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.3.6/32</DestinationPrefix> <NextHop>10.2.3.6</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557290" uri="/api/space/nsas/deviceroles/pedevices/557290" href="/api/space/nsas/deviceroles/pedevices/557290"> <DeviceName>junosspace3</DeviceName> <DeviceID>557290</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/6</InterfaceName> <InterfaceIndex>523</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMSTATICEndPointConfigParameterServiceType"> <UNIDescription>rtyrty</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.2.3.4</InterfaceIP> <RouteDistinguisher>65501:5455873</RouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.3.9/32</DestinationPrefix> <NextHop>10.2.8.4</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>69:1454096384</RouteTarget> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/426079" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/426079" key="426079"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/426056" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/426056" key="426056"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customermanagement/customers/557305" href="/api/space/nsas/customermanagement/customers/557305" key="557305"/> </Reference> </Service> </ServiceResource> </Data>
Modify a Hub-and-Spoke IP Service with Static Routing Protocol for Addition of a Site
This request is used to modify an IP service with static routing protocol for addition of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with static routing protocol and with addition of a site. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_HS_Static_SO_Addsite_API</Name> <Comments>fdgdfg</Comments> </Common> <ServiceType>l3vpn</ServiceType> <EnableMVPN>false</EnableMVPN> <Action>Modification</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="524557" uri="/api/space/nsas/deviceroles/pedevices/524557" href="/api/space/nsas/deviceroles/pedevices/524557"> <DeviceName>junosspace3</DeviceName> <DeviceID>524557</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/0</InterfaceName> <InterfaceIndex>525</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterOrderType"> <UNIDescription>hfghf</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>5</UnitID> <AutoPickVlanID>true</AutoPickVlanID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <Hub>false</Hub> <SpokeRouteDistinguisher>65501:5455881</SpokeRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.3.6/32</DestinationPrefix> <NextHop>10.2.3.4</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterOrderType"> <HubRouteTarget>69:1454096390</HubRouteTarget> <SpokeRouteTarget>69:1454096391</SpokeRouteTarget> </ServiceOrderParameter> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1671233</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1671295</Value> </Identity> <Job> <ID>491628</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify a Hub-and-Spoke IP Service with Static Routing Protocol for Deletion of a Site
This request is used to modify an IP service with deletion of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with static routing protocol and with deletion of a site. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace3</DeviceName> <DeviceID>524557</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/0</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterOrderType"> <UNIDescription>hfghf</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>5</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>3</VlanId> <InterfaceIP>10.0.88.9/30</InterfaceIP> <Hub>false</Hub> <SpokeRouteDistinguisher>65501:5455882</SpokeRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.3.6/32</DestinationPrefix> <NextHop>10.2.3.4</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Input
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>1671233</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>1671295</Value> </Identity> <Job> <ID>491628</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Modify a Hub-and-Spoke IP Service with Static Routing Protocol for Service Name and Endpoint Details
This request is used to modify an IP service for service name and endpoint information.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service with static routing protocol and with updates to service name and endpoint details. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_HupSpoke_ModifyService_API</Name> <Comments>fdgfdgd</Comments> </Common> <ServiceType>l3vpn</ServiceType> <EnableMVPN>false</EnableMVPN> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA key="557168" uri="/api/space/nsas/deviceroles/pedevices/557168" href="/api/space/nsas/deviceroles/pedevices/557168"> <DeviceName>junosspace1</DeviceName> <DeviceID>557168</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/6</InterfaceName> <InterfaceIndex>523</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterOrderType"> <UNIDescription>rewtr</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.2.3.4</InterfaceIP> <Hub>false</Hub> <SpokeRouteDistinguisher>69:2147467288</SpokeRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>12.12.12.12/32</DestinationPrefix> <NextHop>10.2.1.3</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557143" uri="/api/space/nsas/deviceroles/pedevices/557143" href="/api/space/nsas/deviceroles/pedevices/557143"> <DeviceName>junosspace2</DeviceName> <DeviceID>557143</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterOrderType"> <UNIDescription>dtgdfg</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.6.9.1</InterfaceIP> <Hub>false</Hub> <SpokeRouteDistinguisher>69:2147467290</SpokeRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.9.1/32</DestinationPrefix> <NextHop>10.2.3.6</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557290" uri="/api/space/nsas/deviceroles/pedevices/557290" href="/api/space/nsas/deviceroles/pedevices/557290"> <DeviceName>junosspace3</DeviceName> <DeviceID>557290</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/1</InterfaceName> <InterfaceIndex>526</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterOrderType"> <UNIDescription>werwer</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <InterfaceIP>10.2.9.4</InterfaceIP> <Hub>true</Hub> <HubRouteDistinguisher>65501:5455881</HubRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10..9.7/32</DestinationPrefix> <NextHop>10.2.9.8</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterOrderType"> </ServiceOrderParameter> <Reference> <Customer key="557305" /> <ServiceDefinition> <ServiceDefinitionID key="721135" /> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>720887</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>721899</Value> </Identity> <Job> <ID>295244</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Get a Hub-and-Spoke IP Service with Static Routing Protocol By Service ID
This request is used to retrieve the details of a particular hub-and-spoke IP service with static routing protocol.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific IP service with static routing protocol. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="1310752" uri="/api/space/nsas/l3vpn/servicemanagement/services/1310752" href="/api/space/nsas/l3vpn/servicemanagement/services/1310752"> <Common> <Name>L3VPN_HupSpoke_ModifySO_API</Name> <Identity>1310752</Identity> <State>Deployed</State> <Comments>fdgfdgd</Comments> <CreatedDate>20150121T20:50:16.000+05:30</CreatedDate> <LastUpdatedDate>20150121T20:50:16.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="557168" uri="/api/space/nsas/deviceroles/pedevices/557168" href="/api/space/nsas/deviceroles/pedevices/557168"> <DeviceName>junosspace1</DeviceName> <DeviceID>557168</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/6</InterfaceName> <InterfaceIndex>523</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterServiceType"> <UNIDescription>rewtr</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>4</UnitID> <VlanId>4</VlanId> <InterfaceIP>10.2.3.4</InterfaceIP> <Hub>false</Hub> <SpokeRouteDistinguisher>69:2147467295</SpokeRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>12.12.12.12/32</DestinationPrefix> <NextHop>10.2.1.3</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557143" uri="/api/space/nsas/deviceroles/pedevices/557143" href="/api/space/nsas/deviceroles/pedevices/557143"> <DeviceName>junosspace2</DeviceName> <DeviceID>557143</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>522</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterServiceType"> <UNIDescription>dtgdfg</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>11</UnitID> <VlanId>11</VlanId> <InterfaceIP>10.6.9.1</InterfaceIP> <Hub>false</Hub> <SpokeRouteDistinguisher>69:2147467297</SpokeRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.9.1/32</DestinationPrefix> <NextHop>10.2.3.6</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557290" uri="/api/space/nsas/deviceroles/pedevices/557290" href="/api/space/nsas/deviceroles/pedevices/557290"> <DeviceName>junosspace3</DeviceName> <DeviceID>557290</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/2/1</InterfaceName> <InterfaceIndex>526</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSSTATICEndPointConfigParameterServiceType"> <UNIDescription>werwer</UNIDescription> <RoutingProtocol>Static</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>3</UnitID> <VlanId>3</VlanId> <InterfaceIP>10.2.9.4</InterfaceIP> <Hub>true</Hub> <HubRouteDistinguisher>65501:5455884</HubRouteDistinguisher> <StaticRoutingProtocolDetails> <DestinationPrefix>10.3.9.7/32</DestinationPrefix> <NextHop>10.2.9.8</NextHop> </StaticRoutingProtocolDetails> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <VRFTabelLabel>Enabled</VRFTabelLabel> <HubRouteTarget>69:1454096396</HubRouteTarget> <SpokeRouteTarget>69:1454096397</SpokeRouteTarget> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1310736" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/1310736" key="1310736"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/721135" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/721135" key="721135"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customermanagement/customers/557305" href="/api/space/nsas/customermanagement/customers/557305" key="557305"/> </Reference> </Service> </ServiceResource> </Data>
Get an IP Service with MC-LAG By Service ID
This request is used to retrieve the details of a particular IP service with MC-LAG.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects the details of a specific IP service with MC-LAG. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service key="3440670" uri="/api/space/nsas/l3vpn/servicemanagement/services/3440670" href="/api/space/nsas/l3vpn/servicemanagement/services/3440670"> <Common> <Name>L3VPN_SO_API_ModifySO_01</Name> <Identity>3440670</Identity> <State>Deployed</State> <Comments>sreret</Comments> <CreatedDate>20150102T18:10:45.000+05:30</CreatedDate> <LastUpdatedDate>20150102T18:10:45.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <EnableMCLAG>true</EnableMCLAG> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> </AuditFlag> <ServiceEndPointGroup> <DeviceInfo> <NA key="557127" uri="/api/space/nsas/deviceroles/pedevices/557127" href="/api/space/nsas/deviceroles/pedevices/557127"> <DeviceName>junosmx240space</DeviceName> <DeviceID>557127</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>irb</InterfaceName> <InterfaceIndex>507</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>14</UnitID> <VlanId>8</VlanId> <InterfaceIP>10.2.4.8</InterfaceIP> <RouteDistinguisher>69:2147467294</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> <MCLAGinterface>ae2</MCLAGinterface> <MCLAGDescription>erwer</MCLAGDescription> <VRRPSettings> <VRRPGroupname>40</VRRPGroupname> <VRRPIPaddress>10.1.1.1/29</VRRPIPaddress> </VRRPSettings> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key="557292" uri="/api/space/nsas/deviceroles/pedevices/557292" href="/api/space/nsas/deviceroles/pedevices/557292"> <DeviceName>junosmx801space</DeviceName> <DeviceID>557292</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>irb</InterfaceName> <InterfaceIndex>507</InterfaceIndex> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType"> <UNIDescription>gfhgth</UNIDescription> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <UnitID>8</UnitID> <VlanId>8</VlanId> <InterfaceIP>10.7.2.8</InterfaceIP> <RouteDistinguisher>69:2147467295</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> <MCLAGinterface>em0</MCLAGinterface> <MCLAGDescription>trtyrt</MCLAGDescription> <VRRPSettings> <VRRPGroupname>40</VRRPGroupname> <VRRPIPaddress>10.1.1.1/29</VRRPIPaddress> </VRRPSettings> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNConfigParameterServiceType"> <RouteTarget>69:1454096399</RouteTarget> <VRFTabelLabel>Enabled</VRFTabelLabel> </ServiceParameters> <Reference> <ServiceOrder uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3440655" href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3440655" key="3440655"/> <ServiceDefinition> <ServiceDefinitionID uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/884828" href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/884828" key="884828"/> </ServiceDefinition> <Customer uri="/api/space/nsas/customermanagement/customers/558401" href="/api/space/nsas/customermanagement/customers/558401" key="558401"/> </Reference> </Service> </ServiceResource> </Data>
Modify an IP Service with Default Service Template for Addition of a Site
This request is used to modify an IP service configured with default service template for addition of a site.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Modifies an IP service configured with default service template for addition of a site. |
Input (Full-Mesh IP)
Sample XML Input
<example> <title>Sample XML Input</title> <code><Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>L3VPN_OSPFHS_ModifySO_API</Name> <Comments>dgdgdfg</Comments> </Common> <ServiceType>l3vpn</ServiceType> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <NA> <DeviceName>junosspace1</DeviceName> <DeviceID>524377</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSOSPFEndPointConfigParameterOrderType"> <EthernetOption>VLAN</EthernetOption> <AutoPickVlanID>true</AutoPickVlanID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <Hub>true</Hub> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate> <ID>66341</ID> <ConfigParams> <Name>3</Name> <Value>None</Value> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> <ConfigParams> <Name>Inner</Name> <Value>None</Value> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <EnableLoopback>true</EnableLoopback> <DeviceInfo> <NA> <DeviceName>junosmx240space</DeviceName> <DeviceID>524302</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="L3VPNHSOSPFEndPointConfigParameterOrderType"> <EthernetOption>VLAN</EthernetOption> <AutoPickVlanID>true</AutoPickVlanID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.88.0/24</IPAddressPool> <Hub>true</Hub> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate> <ID>66341</ID> <ConfigParams> <Name>3</Name> <Value>None</Value> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> <ConfigParams> <Name>Inner</Name> <Value>None</Value> <Decommission>false</Decommission> <SvcSpecificValue>false</SvcSpecificValue> <ConfigPageName>cp1</ConfigPageName> </ConfigParams> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> </Data> </code> </example>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>917826</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>917920</Value> </Identity> <Job> <ID>294967</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message>The Service Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message> </Status> </Data>
Get IP Service Details with Endpoints Paginated
This request is used to get IP service details with endpoints paginated.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Gets IP service details with endpoints paginated. |
Output
Sample XML Output
?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3803200" uri="/api/space/nsas/l3vpn/servicemanagement/services/3803200" key="3803200"> <Common> <Name>Deploytestverify</Name> <Identity>3803200</Identity> <State>Deployed</State> <CreatedDate>20160627T19:46:53.000+05:30</CreatedDate> <LastUpdatedDate>20160629T12:18:02.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <ConfigurationAudit>Pending</ConfigurationAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>31</endpointcount> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/6</InterfaceName> <InterfaceIndex>536</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.0.77.45/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/8</InterfaceName> <InterfaceIndex>538</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>4</UnitID> <VlanId>3</VlanId> <InterfaceIP>10.0.88.93/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/8</InterfaceName> <InterfaceIndex>538</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>5</UnitID> <VlanId>4</VlanId> <InterfaceIP>10.0.77.53/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo><ServiceEndPoint> <InterfaceName>ge0/0/7</InterfaceName> <InterfaceIndex>537</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>6</UnitID> <VlanId>6</VlanId> <InterfaceIP>10.0.77.49/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate></ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/0/7</InterfaceName> <InterfaceIndex>537</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>5</UnitID> <VlanId>5</VlanId> <InterfaceIP>10.0.88.89/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/1</InterfaceName> <InterfaceIndex>541</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>3</UnitID> <VlanId>3</VlanId> <InterfaceIP>10.0.88.97/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceIndex>545</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.0.88.105/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA></DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/7</InterfaceName> <InterfaceIndex>547</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.0.88.109/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID><Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688240" uri="/api/space/nsas/deviceroles/pedevices/688240" key="688240"> <DeviceName>2MX480</DeviceName> <DeviceID>688240</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/2</InterfaceName> <InterfaceIndex>542</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.0.88.37/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:26</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA href="/api/space/nsas/deviceroles/pedevices/688204" uri="/api/space/nsas/deviceroles/pedevices/688204" key="688204"> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge0/1/3</InterfaceName> <InterfaceIndex>543</InterfaceIndex> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>1</UnitID> <VlanId>1</VlanId> <InterfaceIP>10.0.88.101/30</InterfaceIP> <MTU>1522</MTU> <RouteDistinguisher>65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate href="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" uri="/api/space/nsas/l3vpn/servicemanagement/servicetemplates/3866624" key="3866624"> <ID>3866624</ID> <Name>Set Family CCC</Name> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceParameters xsi:type="L3VPNConfigParameterServiceType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RouteTarget>65001:9</RouteTarget> <VRFTabelLabel>Enabled</VRFTabelLabel> <ExportDirectRoutes>false</ExportDirectRoutes> </ServiceParameters> <Reference> <ServiceOrder href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3803013" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3803013" key="3803013"/> <ServiceDefinition> <ServiceDefinitionID href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/3802984" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/3802984" key="3802984"> <ServiceDefinitionName>SDtest123</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Customer href="/api/space/nsas/customermanagement/customers/688455" uri="/api/space/nsas/customermanagement/customers/688455" key="688455"> <CustomerName>newCustomer</CustomerName> </Customer> </Reference> </Service> </ServiceResource> </Data>
Get an L3VPN Basic Service Details
This request is used to get an L3VPN basic service details.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Gets an L3VPN basic service details. |
Input (Full-Mesh IP)
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <Service href="/api/space/nsas/l3vpn/servicemanagement/services/3803200" uri="/api/space/nsas/l3vpn/servicemanagement/services/3803200" key="3803200"> <Common> <Name>Deploytestverify</Name> <Identity>3803200</Identity> <State>Deployed</State> <CreatedDate>20160627T19:46:53.000+05:30</CreatedDate> <LastUpdatedDate>20160629T12:18:02.000+05:30</LastUpdatedDate> </Common> <ServiceType>L3VPN</ServiceType> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <ConfigurationAudit>Pending</ConfigurationAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>0</endpointcount> <Reference> <ServiceOrder href="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3803013" uri="/api/space/nsas/l3vpn/servicemanagement/serviceorders/3803013" key="3803013"/> <ServiceDefinition> <ServiceDefinitionID href="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/3802984" uri="/api/space/nsas/l3vpn/servicemanagement/servicedefinitions/3802984" key="3802984"> <ServiceDefinitionName>SDtest123</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Customer href="/api/space/nsas/customermanagement/customers/688455" uri="/api/space/nsas/customermanagement/customers/688455" key="688455"> <CustomerName>newCustomer</CustomerName> </Customer> </Reference> </Service> </ServiceResource> </Data>
Get an IP Service Device Details
This request is used to get an IP service device details.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | GET |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Gets an IP service device details. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <DevicesEndpoint size="1"> <DeviceDeviceEndPoint> <Device href="/api/space/nsas/deviceroles/pedevices/688397" uri="/api/space/nsas/deviceroles/pedevices/688397" key="688397"> <Common> <Name>240MX</Name> <Identity>688397</Identity> </Common> <Role>N_PE</Role> <MEId>329515</MEId> <IPAddress>10.220.25.103</IPAddress> <RouteDistinguisher>65001:27</RouteDistinguisher> <RouteTarget>65001:9</RouteTarget> <EnableStitchingPoint>false</EnableStitchingPoint> <StaticRoutingProtocolDetails> <DestinationPrefix>10.2.2.2/32</DestinationPrefix> <NextHop>10.3.3.3</NextHop> </StaticRoutingProtocolDetails> <StaticRoutingProtocolDetails> <DestinationPrefix>10.1.1.1/32</DestinationPrefix> <NextHop>10.1.1.1</NextHop> </StaticRoutingProtocolDetails> </Device> <devConfigType>Full mesh</devConfigType> </DeviceDeviceEndPoint> </DevicesEndpoint> </Data>
Submit Modified IP Service
This request is used to submit a modified IP service.
URI | api/space/nsas/l3vpn/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service- |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Submits a modified IP service. |
Sample XML Output
<?xml version="1.0" encoding="UTF8"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>Deploytestverify_modify_Jul012016_1507</Name> </Common> <EnableMVPN>false</EnableMVPN> <ServiceEndPointGroup> <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD> <DeviceInfo> <NA> <DeviceName>480R4_EN__re</DeviceName> <DeviceID>688176</DeviceID> </NA> </DeviceInfo> <EnableStitchingPoint>false</EnableStitchingPoint> <ServiceEndPoint> <InterfaceName>ge0/1/5</InterfaceName> <InterfaceID>1467365984886</InterfaceID> <OppType>ADD</OppType> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>true</AutoPickUnitID> <AutoPickVlanID>true</AutoPickVlanID> <InterfaceIP AutoPick="true"/> <IPAddressPool>10.0.77.0/24</IPAddressPool> <IPBlockSize>30</IPBlockSize> <MTU>1522</MTU> </ServiceEndpointConfiguration> <ServiceTemplates> <ServiceTemplate> <Name>Set Family CCC</Name> <ID>3866624</ID> </ServiceTemplate> </ServiceTemplates> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD> <DeviceInfo> <NA> <DeviceName>2MX480</DeviceName> <DeviceID>688240</DeviceID> /NA> </DeviceInfo> <EnableStitchingPoint>false</EnableStitchingPoint> <ServiceEndPoint> <InterfaceName>ge0/1/2</InterfaceName> <InterfaceID>542</InterfaceID> <OppType>MODIFYENDPOINT</OppType> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RouteDistinguisher AutoPick="false">65001:26</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> <UNIDescription>Interface Description Endpoint Modify</UNIDescription> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>2</VlanId> <InterfaceIP AutoPick="false">10.0.88.37</InterfaceIP> <IPBlockSize>30</IPBlockSize> <MTU>1522</MTU> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD> <DeviceInfo> <NA> <DeviceName>240MX</DeviceName> <DeviceID>688397</DeviceID> </NA> </DeviceInfo> <EnableStitchingPoint>false</EnableStitchingPoint> <ServiceEndPoint> <InterfaceName>ge0/1/3</InterfaceName> <OppType>MODIFYTEMPLATE</OppType> <ServiceEndpointConfiguration xsi:type="L3VPNFMSTATICEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"><RouteDistinguisher AutoPick="false">65001:27</RouteDistinguisher> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <InterfaceIP AutoPick="false">undefined</InterfaceIP> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD> <DeviceInfo> <NA> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <EnableStitchingPoint>false</EnableStitchingPoint> <ServiceEndPoint> <InterfaceName>ge0/1/1</InterfaceName> <InterfaceID>541</InterfaceID> <OppType>DELETE</OppType> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RouteDistinguisher AutoPick="false">65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>3</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>3</VlanId> <InterfaceIP AutoPick="false">10.0.88.97</InterfaceIP> <IPBlockSize>30</IPBlockSize> <MTU>1522</MTU> </ServiceEndpointConfiguration> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD> <DeviceInfo> <NA> <DeviceName>480MX</DeviceName> <DeviceID>688204</DeviceID> </NA> </DeviceInfo> <EnableStitchingPoint>false</EnableStitchingPoint> <ServiceEndPoint> <InterfaceName>ge0/0/7</InterfaceName> <InterfaceID>537</InterfaceID> <OppType>MODIFYBOTH</OppType> <ServiceEndpointConfiguration xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <RouteDistinguisher AutoPick="false">65001:28</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> <UNIDescription>Interface desc Both Modify</UNIDescription> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>6</UnitID> <AutoPickVlanID>false</AutoPickVlanID> <VlanId>6</VlanId> <InterfaceIP AutoPick="false">10.0.77.49</InterfaceIP> <IPBlockSize>30</IPBlockSize> <MTU>1522</MTU> </ServiceEndpointConfiguration> <ServiceTemplates/> </ServiceEndPoint> </ServiceEndPointGroup> <DeletedDeviceInfo> <DeviceInfo> <NA> <DeviceName>960MX</DeviceName> <DeviceID>688293</DeviceID> </NA> </DeviceInfo> </DeletedDeviceInfo> <DevicesStaticRoutingProtocol> <DeviceStaticRoutes> <DeviceInfo> <NA> <DeviceName>240MX</DeviceName> <DeviceID>688397</DeviceID> </NA> </DeviceInfo> <StaticRoutingProtocolDetail> <DestinationPrefix>2.2.2.2/32</DestinationPrefix> <NextHop>3.3.3.3</NextHop> </StaticRoutingProtocolDetail> <StaticRoutingProtocolDetail> <DestinationPrefix>1.1.1.1/32</DestinationPrefix> <NextHop>1.1.1.1</NextHop> </StaticRoutingProtocolDetail> </DeviceStaticRoutes> </DevicesStaticRoutingProtocol> </ServiceOrder> </ServiceResource> <CustomAction xsi:type="ServiceCustomActionType" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <Action>SaveAndValidate</Action> /CustomAction> </Data>
Get an IP Service to Create an LSP
This request is used to retrieve an IP service for creating an LSP.
URL | /api/space/nsas/l3vpn/service-management/services/paging/<orderID> |
HTTP Method | GET |
Sample URL | https://192.0.2.10:8443/api/space/nsas/l3vpn/service-management/services/paging/131072 |
Accept | application/vnd.net.juniper.space.service-management.service+xml;version=2 |
Content Type | application/vnd.net.juniper.space.service-management.service+xml;version="2" |
Request
Not Applicable
Response
""<?xml version=""1.0"" encoding=""UTF-8""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <ServiceResource> <Service key=""131072"" uri=""/api/space/nsas/l3vpn/service-management/services/131072"" href=""/api/space/nsas/l3vpn/service-management/services/131072""> <Common> <Name>L3VPN_CreateLSP</Name> <Identity>131072</Identity> <State>Deployed</State> <CreatedDate>2018-06-20T21:19:54.000+05:30</CreatedDate> <LastUpdatedDate>2018-06-20T21:19:54.000+05:30</LastUpdatedDate> <InstanceType>vrf</InstanceType> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <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> </LSPPattern> <LspServiceDefinition> <ServiceDefinitionID uri=""/api/space/nsas/rsvp-lsp/service-management/service-definitions/8"" href=""/api/space/nsas/rsvp-lsp/service-management/service-definitions/8"" key=""8""> <ServiceDefinitionName>FullMesh LSP with Node Link Protection</ServiceDefinitionName> </ServiceDefinitionID> </LspServiceDefinition> <LspId>131072</LspId> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <ConfigurationAudit>Pending</ConfigurationAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>2</endpointcount> <ServiceEndPointGroup> <DeviceInfo> <NA key=""2"" uri=""/api/space/nsas/device-roles/pe-devices/2"" href=""/api/space/nsas/device-roles/pe-devices/2""> <DeviceName>SG2re</DeviceName> <DeviceID>2</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/5</InterfaceName> <InterfaceId>26</InterfaceId> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""L3VPNFMOSPFEndPointConfigParameterServiceType""> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>3</UnitID> <VlanId>3</VlanId> <InterfaceIP>10.0.77.13/30</InterfaceIP> <MTU>0</MTU> <RouteDistinguisher>100:10</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>163844</ServiceEndpointID> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key=""1"" uri=""/api/space/nsas/device-roles/pe-devices/1"" href=""/api/space/nsas/device-roles/pe-devices/1""> <DeviceName>SG3re</DeviceName> <DeviceID>1</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/6</InterfaceName> <InterfaceId>4</InterfaceId> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""L3VPNFMOSPFEndPointConfigParameterServiceType""> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>2</UnitID> <VlanId>2</VlanId> <InterfaceIP>10.0.88.5/30</InterfaceIP> <MTU>0</MTU> <RouteDistinguisher>100:11</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>163845</ServiceEndpointID> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""L3VPNConfigParameterServiceType""> <RouteTarget>100:8</RouteTarget> <VRFTabelLabel>Enabled</VRFTabelLabel> <IsBGPEpPresent>false</IsBGPEpPresent> <ExportDirectRoutes>true</ExportDirectRoutes> <AutoExportRoutes>true</AutoExportRoutes> <PolicyBasedRT>true</PolicyBasedRT> </ServiceParameters> <Reference> <ServiceOrder uri=""/api/space/nsas/l3vpn/service-management/service-orders/163840"" href=""/api/space/nsas/l3vpn/service-management/service-orders/163840"" key=""163840"" /> <ServiceDefinition> <ServiceDefinitionID uri=""/api/space/nsas/l3vpn/service-management/service-definitions/65537"" href=""/api/space/nsas/l3vpn/service-management/service-definitions/65537"" key=""65537""> <ServiceDefinitionName>L3VPN-OSPF-Static</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Customer uri=""/api/space/nsas/customer-management/customers/1"" href=""/api/space/nsas/customer-management/customers/1"" key=""1""> <CustomerName>Juniper</CustomerName> </Customer> </Reference> </Service> </ServiceResource> </Data>" "
Get an IP Service to Associate an LSP
This request is used to retrieve an IP service for associating an LSP.
URL | /api/space/nsas/l3vpn/service-management/services/paging/<orderID> |
HTTP Method | GET |
Sample URL | https://192.0.2.10:8443/api/space/nsas/l3vpn/service-management/services/paging/131072 |
Accept | application/vnd.net.juniper.space.service-management.service+xml;version=2 |
Content Type | application/vnd.net.juniper.space.service-management.service+xml;version="2" |
Request
Not Applicable
Response
""<?xml version=""1.0"" encoding=""UTF-8""?> <Data xmlns=""services.schema.networkapi.jmp.juniper.net""> <ServiceResource> <Service key=""131073"" uri=""/api/space/nsas/l3vpn/service-management/services/131073"" href=""/api/space/nsas/l3vpn/service-management/services/131073""> <Common> <Name>IP_AssociateLSP</Name> <Identity>131073</Identity> <State>Deployed</State> <CreatedDate>2018-06-20T21:50:05.000+05:30</CreatedDate> <LastUpdatedDate>2018-06-20T21:50:05.000+05:30</LastUpdatedDate> <InstanceType>vrf</InstanceType> </Common> <ServiceType>L3VPN</ServiceType> <EnableMVPN>false</EnableMVPN> <AuditFlag> <FunctionalAudit>Pending</FunctionalAudit> <ConfigurationAudit>Pending</ConfigurationAudit> <FaultStatus>None</FaultStatus> <SLAStatus>None</SLAStatus> <OverallStatus>N/A</OverallStatus> </AuditFlag> <endpointcount>2</endpointcount> <ServiceEndPointGroup> <DeviceInfo> <NA key=""2"" uri=""/api/space/nsas/device-roles/pe-devices/2"" href=""/api/space/nsas/device-roles/pe-devices/2""> <DeviceName>SG2re</DeviceName> <DeviceID>2</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/5</InterfaceName> <InterfaceId>26</InterfaceId> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""L3VPNFMOSPFEndPointConfigParameterServiceType""> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>4</UnitID> <VlanId>4</VlanId> <InterfaceIP>10.0.77.17/30</InterfaceIP> <MTU>0</MTU> <LSPRegex>$Name_to_$EgressAddress</LSPRegex> <RouteDistinguisher>100:12</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>163850</ServiceEndpointID> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <NA key=""1"" uri=""/api/space/nsas/device-roles/pe-devices/1"" href=""/api/space/nsas/device-roles/pe-devices/1""> <DeviceName>SG3re</DeviceName> <DeviceID>1</DeviceID> </NA> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/6</InterfaceName> <InterfaceId>4</InterfaceId> <InterfaceStatus>up</InterfaceStatus> <ServiceEndpointConfiguration xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""L3VPNFMOSPFEndPointConfigParameterServiceType""> <RoutingProtocol>OSPF</RoutingProtocol> <EthernetOption>Dot1Q</EthernetOption> <AutoPickUnitID>false</AutoPickUnitID> <UnitID>3</UnitID> <VlanId>3</VlanId> <InterfaceIP>10.0.77.21/30</InterfaceIP> <MTU>0</MTU> <LSPRegex>$Name_to_$EgressAddress</LSPRegex> <RouteDistinguisher>100:13</RouteDistinguisher> <OSPFAreaId>0.0.0.0</OSPFAreaId> <OSPFVersion>Ver 2</OSPFVersion> </ServiceEndpointConfiguration> <ServiceTemplates /> <ServiceEndpointID>163851</ServiceEndpointID> </ServiceEndPoint> <EnableLoopback>false</EnableLoopback> <EnableStitchingPoint>false</EnableStitchingPoint> </ServiceEndPointGroup> <ServiceParameters xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:type=""L3VPNConfigParameterServiceType""> <RouteTarget>100:9</RouteTarget> <VRFTabelLabel>Enabled</VRFTabelLabel> <IsBGPEpPresent>false</IsBGPEpPresent> <ExportDirectRoutes>true</ExportDirectRoutes> <AutoExportRoutes>true</AutoExportRoutes> <PolicyBasedRT>true</PolicyBasedRT> </ServiceParameters> <Reference> <ServiceOrder uri=""/api/space/nsas/l3vpn/service-management/service-orders/163841"" href=""/api/space/nsas/l3vpn/service-management/service-orders/163841"" key=""163841"" /> <ServiceDefinition> <ServiceDefinitionID uri=""/api/space/nsas/l3vpn/service-management/service-definitions/65537"" href=""/api/space/nsas/l3vpn/service-management/service-definitions/65537"" key=""65537""> <ServiceDefinitionName>L3VPN-OSPF-Static</ServiceDefinitionName> </ServiceDefinitionID> </ServiceDefinition> <Customer uri=""/api/space/nsas/customer-management/customers/1"" href=""/api/space/nsas/customer-management/customers/1"" key=""1""> <CustomerName>Juniper</CustomerName> </Customer> </Reference> </Service> </ServiceResource> </Data>" "