Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    QoS Profiles Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director QoS Profiles Management RESTful Web Services.

    Get All QoS Profiles for VPLS Services

    This request is used to retrieve all the configured QoS profiles for VPLS services.

    URI

    api/space/nsas/qos-management/qosprofiles

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves all the QoS profiles for VPLS services.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="6">
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1703951"
    			uri="/api/space/nsas/qos-management/qosprofiles/1703951" key="1703951">
    			<Common>
    				<Name>BwAlloc</Name>
    				<Identity>1703951</Identity>
    				<Comments>test for BwAlloc</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1703936"
    			uri="/api/space/nsas/qos-management/qosprofiles/1703936" key="1703936">
    			<Common>
    				<Name>qostest</Name>
    				<Identity>1703936</Identity>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/2490368"
    			uri="/api/space/nsas/qos-management/qosprofiles/2490368" key="2490368">
    			<Common>
    				<Name>SimpleQos</Name>
    				<Identity>2490368</Identity>
    				<Comments>fsdgfdsgdsgsg</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1310792"
    			uri="/api/space/nsas/qos-management/qosprofiles/1310792" key="1310792">
    			<Common>
    				<Name>testprof2</Name>
    				<Identity>1310792</Identity>
    			</Common>
    			<Profiletype>MF classifier & 3 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1310772"
    			uri="/api/space/nsas/qos-management/qosprofiles/1310772" key="1310772">
    			<Common>
    				<Name>test_qos_profile</Name>
    				<Identity>1310772</Identity>
    				<Comments>bvnvbnvn</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/2490454"
    			uri="/api/space/nsas/qos-management/qosprofiles/2490454" key="2490454">
    			<Common>
    				<Name>WithoutEgress</Name>
    				<Identity>2490454</Identity>
    				<Comments>fdsfsdfdsf</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    	</ServiceResource>
    </Data>
     
    

    Get QoS Profiles By Profile ID for VPLS Services

    This request is used to retrieve a QoS profile based on the profile ID.

    URI

    api/space/nsas/qos-management/qosprofiles/<id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a QoS profile based on the profile ID for VPLS services.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<QoSProfile>
    			<Common>
    				<Name>dsgrfdsh</Name>
    				<Identity>1310847</Identity>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_100</Domain>
    			<DefaultBandwidth>10 Mbps</DefaultBandwidth>
    			<BandwidthAllocation>
    				<BWAllocation>
    					<ClassService>DEFAULT</ClassService>
    					<Allocation>40</Allocation>
    				</BWAllocation>
    				<BWAllocation>
    					<ClassService>REALTIME</ClassService>
    					<Allocation>60</Allocation>
    				</BWAllocation>
    			</BandwidthAllocation>
    			<Scheduler>TwoLevelSch</Scheduler>
    			<SchedulerType>Two Level Scheduler</SchedulerType>
    			<PortOverSubscription>N/A</PortOverSubscription>
    			<InterfaceOverSubscription>N/A</InterfaceOverSubscription>
    			<Ingress>
    				<IngressDetail>
    					<Classifier>
    						<CodepointType>Dot1p</CodepointType>
    						<LossPriority>Low</LossPriority>
    						<CodePoints>000</CodePoints>
    						<ClassOfSevice>DEFAULT</ClassOfSevice>
    					</Classifier>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    					</Policer>
    				</IngressDetail>
    				<IngressDetail>
    					<Classifier>
    						<CodepointType>Dot1p</CodepointType>
    						<LossPriority>Low</LossPriority>
    						<CodePoints>001</CodePoints>
    						<ClassOfSevice>REALTIME</ClassOfSevice>
    					</Classifier>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    					</Policer>
    				</IngressDetail>
    			</Ingress>
    			<Egress>
    				<EgressDetail>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    						<LossPriority>Low</LossPriority>
    						<CosName>REALTIME</CosName>
    					</Policer>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    						<LossPriority>Low</LossPriority>
    						<CosName>DEFAULT</CosName>
    					</Policer>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    						<LossPriority>High</LossPriority>
    						<CosName>DEFAULT</CosName>
    					</Policer>
    					<Rewrite>
    						<LossPriority>Low</LossPriority>
    						<CodepointType>Dot1p</CodepointType>
    						<CodePoints>000</CodePoints>
    						<CoSName>REALTIME</CoSName>
    					</Rewrite>
    					<Rewrite>
    						<LossPriority>Low</LossPriority>
    						<CodepointType>Dot1p</CodepointType>
    						<CodePoints>000</CodePoints>
    						<CoSName>DEFAULT</CoSName>
    					</Rewrite>
    				</EgressDetail>
    			</Egress>
    			<EgressScheduler>
    				<EgressDetails>
    					<ClassOfService>DEFAULT</ClassOfService>
    					<TxRate>19%</TxRate>
    					<QPriority>Low</QPriority>
    					<BufferSize>temporal 50000</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    				<EgressDetails>
    					<ClassOfService>REALTIME</ClassOfService>
    					<TxRate>-1 rate exact</TxRate>
    					<QPriority>Strict High</QPriority>
    					<BufferSize>temporal 6000</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    				<EgressDetails>
    					<ClassOfService>CONTROL</ClassOfService>
    					<TxRate>5%</TxRate>
    					<QPriority>Low</QPriority>
    					<BufferSize>5%</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    				<EgressDetails>
    					<ClassOfService>DATA</ClassOfService>
    					<TxRate>25%</TxRate>
    					<QPriority>Low</QPriority>
    					<BufferSize>temporal 50000</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    			</EgressScheduler>
    		</QoSProfile>
    	</ServiceResource>
    </Data>
     
    

    Create a VPLS Service Order with QoS Profiles

    This request is used to define a VPLS service order with a QoS profile.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <service-order-Id>

    HTTP Method

    POST

    Consumes

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

    Produces

    Creates a VPLS service order with a QoS profile.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder>
    <Common>
    <Name>QoS_Elan_API_10</Name>
    </Common>
    <QosProfile key="2981956">
    <CIR>10 Mbps</CIR>
    <PIR>10 Mbps</PIR>
    </QosProfile>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>jaipur</DeviceName>
    <DeviceID>2850913</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/1/0</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    <VlanId>20</VlanId>
    <MTU>1522</MTU>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>kochin</DeviceName>
    <DeviceID>2850861</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/0/6</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    <VlanId>21</VlanId>
    <MTU>1522</MTU>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <Reference>
    <Customer key="557144"/>
    <ServiceDefinition>
    <ServiceDefinitionID key="3276827" />
    </ServiceDefinition>
    <Service key="3276864" />
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
     
    

    Get a VPLS Service Order with QoS Profiles

    This request is used to retrieve a VPLS service order with a QoS profile.

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <service-order-Id >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a VPLS service order with a QoS profile.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/1343543"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/1343543"
    			key="1343543">
    			<Common>
    				<Name>vcxb</Name>
    				<Identity>1343543</Identity>
    				<State>Completed</State>
    				<CreatedDate>2013-03-13T11:23:07.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-13T11:24:14.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<QosProfile href="/api/space/nsas/qos-management/qosprofiles/1310792"
    				uri="/api/space/nsas/qos-management/qosprofiles/1310792" key="1310792">
    				<CIR>10 Mbps</CIR>
    				<PIR>10 Mbps</PIR>
    			</QosProfile>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/885134" uri="/api/space/nsas/device-roles/pe-devices/885134"
    						key="885134">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>885134</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/885186" uri="/api/space/nsas/device-roles/pe-devices/885186"
    						key="885186">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>885186</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>3</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport all traffic</TrafficType>
    				<RouteTarget>100:114704</RouteTarget>
    				<VLANNormalization>Normalize All</VLANNormalization>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="557188"
    					href="/api/space/nsas/customer-management/customers/557188" uri="/api/space/nsas/customer-management/customers/557188" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1343489"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/1343489"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1343489" />
    				</ServiceDefinition>
    				<Service key="1343558"
    					href="/api/space/nsas/elan-vpls/service-management/services/1343558"
    					uri="/api/space/nsas/elan-vpls/service-management/services/1343558" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a VPLS Service Order with XPath Attributes

    This request is used to retrieve a VPLS service order with an XPath attribute

    URI

    api/space/nsas/elan-vpls/service-management/service-orders/
    <service-order-Id >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a VPLS service order with XPath tags.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="1048646" uri="/api/space/nsas/elan-vpls/service-management/service-orders/1048646" href="/api/space/nsas/elan-vpls/service-management/service-orders/1048646">
    			<Common>
    				<Name>test_SO_vpls_bgp</Name>
    				<Identity>1048646</Identity>
    				<State>Requested</State>
    				<CreatedDate>2015-02-23T16:58:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2015-02-23T16:58:56.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="524388" uri="/api/space/nsas/device-roles/pe-devices/524388" href="/api/space/nsas/device-roles/pe-devices/524388">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>524388</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>xe-0/3/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>ethernet-vpls</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<UnitId>0</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate href="/api/space/nsas/elan-vpls/service-management/service-templates/66317" uri="/api/space/nsas/elan-vpls/service-management/service-templates/66317" key="66317">
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>							
    						</ServiceTemplate>
    						<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/6357015" uri="/api/space/nsas/eline-ptp/service-management/service-templates/6357015" key="6357015">
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<DataType>String</DataType>
    								<Description>Text description of interface</Description>
    								<OperatorVisibility>Editable</OperatorVisibility>
    								<Value>DemoDescription</Value>
    								<SetofValues/>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    								<Validation/>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="524302" uri="/api/space/nsas/device-roles/pe-devices/524302" href="/api/space/nsas/device-roles/pe-devices/524302">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>524302</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>ethernet-vpls</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<MTU>1522</MTU>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<UnitId>0</UnitId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate href="/api/space/nsas/elan-vpls/service-management/service-templates/66317" uri="/api/space/nsas/elan-vpls/service-management/service-templates/66317" key="66317">
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/6357015" uri="/api/space/nsas/eline-ptp/service-management/service-templates/6357015" key="6357015">
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<DataType>String</DataType>
    								<Description>Text description of interface</Description>
    								<OperatorVisibility>Editable</OperatorVisibility>
    								<Value>DemoDescription</Value>
    								<SetofValues/>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    								<Validation/>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport using port</TrafficType>
    				<RouteTarget>69:1454096385</RouteTarget>
    				<VLANNormalization>Normalize to Dot1q</VLANNormalization>
    				<Dot1QVLANTag>1</Dot1QVLANTag>
    				<RouteDistinguisher>69:2147467265</RouteDistinguisher>
    				<MTUFactor>10</MTUFactor>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/524288" href="/api/space/nsas/customer-management/customers/524288" key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1048576" href="/api/space/nsas/elan-vpls/service-management/service-definitions/1048576" key="1048576"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Get a VPLS Service Definition with QoS Profiles

    This request is used to retrieve a VPLS service definition with a QoS profile.

    URI

    api/space/nsas/elan-vpls/service-management/service-definitions/
    <service-definition-Id >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a VPLS service definition with a QoS profile.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition
    			href="/api/space/nsas/elan-vpls/service-management/service-definitions/262330"
    			uri="/api/space/nsas/elan-vpls/service-management/service-definitions/262330"
    			key="262330">
    			<Common>
    				<Name>QosEnb-VPLS</Name>
    				<Identity>262330</Identity>
    				<State>Unpublished</State>
    				<CreatedDate>2013-03-15T16:12:51.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-15T16:12:51.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>VPLS(BGP)</ServiceType>
    			<InterfaceType>VPLS (MultiPoint-MultiPoint)</InterfaceType>
    			<EnableL3Access>false</EnableL3Access>
    			<QosEnabled>true</QosEnabled>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSServiceEndpointGroupParameterDefType">
    				<RouteTarget selection="Auto Pick" editable="false" />
    				<RouteDistinguisher selection="Auto pick" />
    				<MACLearning editable="false">Enabled</MACLearning>
    				<MACInterfaceLimit editable="false">1024
    				</MACInterfaceLimit>
    				<MACStatistics editable="false">Not enabled</MACStatistics>
    				<MACTableSize editable="false">5120</MACTableSize>
    				<VlanNormalization>Normalize to Dot1q</VlanNormalization>
    				<AllowMH>Not enabled</AllowMH>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSEndPointParameterDefType">
    				<EthernetOption>port-port</EthernetOption>
    				<VlanIdSelection selection="N/A" editable="false" />
    				<TrafficType>N/A</TrafficType>
    				<VlanIdAuto default="0" min="0" max="0" />
    				<VlanIdManual default="0" min="0" max="0" />
    				<PhysicalEncapsulation>ethernet-vpls</PhysicalEncapsulation>
    				<LogicalEncapsulation>N/A</LogicalEncapsulation>
    				<MTU default="1522" editable="false" min="1522" max="9192" />
    				<EnableRateLimiting>Not enabled</EnableRateLimiting>
    				<DefaultBandwidth default="1" editable="false" min="1"
    					max="100" unit="Mbps">N/A</DefaultBandwidth>
    				<MinBandwidth min="64" max="100000" unit="Kbps">0
    				</MinBandwidth>
    				<MaxBandwidth min="1" max="100000" unit="Mbps">0
    				</MaxBandwidth>
    				<Increment default="64" min="64" max="100000" unit="Kbps">0
    				</Increment>
    			</ServiceEndPointConfigurationDefinition>
    			<AdvancedSettings />
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Get a VPLS Service with QoS Profiles

    This request is used to retrieve a VPLS service with a QoS profile.

    URI

    api/space/nsas/elan-vpls/service-management/
    services/<serviceId >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a VPLS service with a QoS profile.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service
    			href="/api/space/nsas/elan-vpls/service-management/services/1343558"
    			uri="/api/space/nsas/elan-vpls/service-management/services/1343558"
    			key="1343558">
    			<Common>
    				<Name>vcxb</Name>
    				<Identity>1343558</Identity>
    				<State>Deployed</State>
    				<CreatedDate>2013-03-13T11:24:14.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-13T11:24:14.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>VPLS</ServiceType>
    			<QosProfile href="/api/space/nsas/qos-management/qosprofiles/1310792"
    				uri="/api/space/nsas/qos-management/qosprofiles/1310792" key="1310792">
    				<CIR>10000</CIR>
    				<PIR>10000</PIR>
    			</QosProfile>
    			<AuditFlag>
    				<FunctionalAudit>Down</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/885134" uri="/api/space/nsas/device-roles/pe-devices/885134"
    						key="885134">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>885134</DeviceID>
    						<CMPDeviceID>852299</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/885186" uri="/api/space/nsas/device-roles/pe-devices/885186"
    						key="885186">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>885186</DeviceID>
    						<CMPDeviceID>852311</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterServiceType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>3</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterServiceType">
    				<RouteTarget>100:114704</RouteTarget>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="1343543"
    					href="/api/space/nsas/elan-vpls/service-management/service-orders/1343543"
    					uri="/api/space/nsas/elan-vpls/service-management/service-orders/1343543" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1343489"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/1343489"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/1343489" />
    				</ServiceDefinition>
    				<Customer key="557188"
    					href="/api/space/nsas/customer-management/customers/557188" uri="/api/space/nsas/customer-management/customers/557188" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
    

    Get All QoS Profiles for P2P Services

    This request is used to retrieve all the configured QoS profiles for P2P services.

    URI

    api/space/nsas/qos-management/qosprofiles

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves all the QoS profiles for P2P services.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource size="6">
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1703951"
    			uri="/api/space/nsas/qos-management/qosprofiles/1703951" key="1703951">
    			<Common>
    				<Name>BwAlloc</Name>
    				<Identity>1703951</Identity>
    				<Comments>test for BwAlloc</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1703936"
    			uri="/api/space/nsas/qos-management/qosprofiles/1703936" key="1703936">
    			<Common>
    				<Name>qostest</Name>
    				<Identity>1703936</Identity>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/2490368"
    			uri="/api/space/nsas/qos-management/qosprofiles/2490368" key="2490368">
    			<Common>
    				<Name>SimpleQos</Name>
    				<Identity>2490368</Identity>
    				<Comments>fsdgfdsgdsgsg</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1310792"
    			uri="/api/space/nsas/qos-management/qosprofiles/1310792" key="1310792">
    			<Common>
    				<Name>testprof2</Name>
    				<Identity>1310792</Identity>
    			</Common>
    			<Profiletype>MF classifier & 3 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/1310772"
    			uri="/api/space/nsas/qos-management/qosprofiles/1310772" key="1310772">
    			<Common>
    				<Name>test_qos_profile</Name>
    				<Identity>1310772</Identity>
    				<Comments>bvnvbnvn</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    		<QoSProfile href="/api/space/nsas/qos-management/qosprofiles/2490454"
    			uri="/api/space/nsas/qos-management/qosprofiles/2490454" key="2490454">
    			<Common>
    				<Name>WithoutEgress</Name>
    				<Identity>2490454</Identity>
    				<Comments>fdsfsdfdsf</Comments>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_69</Domain>
    			<CodePointType>Dot1p</CodePointType>
    		</QoSProfile>
    	</ServiceResource>
    </Data>
     
     
    

    Get QoS Profiles By Profile ID for P2P Services

    This request is used to retrieve a QoS profile based on the profile ID.

    URI

    api/space/nsas/qos-management/qosprofiles/<id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a QoS profile based on the profile ID for P2P services.

    Output

    Sample XML Output

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<QoSProfile>
    			<Common>
    				<Name>dsgrfdsh</Name>
    				<Identity>1310847</Identity>
    			</Common>
    			<Profiletype>BA classifier & 2 level scheduler</Profiletype>
    			<Domain>MPLS_DOM_100</Domain>
    			<DefaultBandwidth>10 Mbps</DefaultBandwidth>
    			<BandwidthAllocation>
    				<BWAllocation>
    					<ClassService>DEFAULT</ClassService>
    					<Allocation>40</Allocation>
    				</BWAllocation>
    				<BWAllocation>
    					<ClassService>REALTIME</ClassService>
    					<Allocation>60</Allocation>
    				</BWAllocation>
    			</BandwidthAllocation>
    			<Scheduler>TwoLevelSch</Scheduler>
    			<SchedulerType>Two Level Scheduler</SchedulerType>
    			<PortOverSubscription>N/A</PortOverSubscription>
    			<InterfaceOverSubscription>N/A</InterfaceOverSubscription>
    			<Ingress>
    				<IngressDetail>
    					<Classifier>
    						<CodepointType>Dot1p</CodepointType>
    						<LossPriority>Low</LossPriority>
    						<CodePoints>000</CodePoints>
    						<ClassOfSevice>DEFAULT</ClassOfSevice>
    					</Classifier>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    					</Policer>
    				</IngressDetail>
    				<IngressDetail>
    					<Classifier>
    						<CodepointType>Dot1p</CodepointType>
    						<LossPriority>Low</LossPriority>
    						<CodePoints>001</CodePoints>
    						<ClassOfSevice>REALTIME</ClassOfSevice>
    					</Classifier>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    					</Policer>
    				</IngressDetail>
    			</Ingress>
    			<Egress>
    				<EgressDetail>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    						<LossPriority>Low</LossPriority>
    						<CosName>REALTIME</CosName>
    					</Policer>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    						<LossPriority>Low</LossPriority>
    						<CosName>DEFAULT</CosName>
    					</Policer>
    					<Policer>
    						<Type>Rate Limiting</Type>
    						<TrafficCIR>Low</TrafficCIR>
    						<CIRTrafficPIR>NA</CIRTrafficPIR>
    						<TrafficPIR>Discard</TrafficPIR>
    						<LossPriority>High</LossPriority>
    						<CosName>DEFAULT</CosName>
    					</Policer>
    					<Rewrite>
    						<LossPriority>Low</LossPriority>
    						<CodepointType>Dot1p</CodepointType>
    						<CodePoints>000</CodePoints>
    						<CoSName>REALTIME</CoSName>
    					</Rewrite>
    					<Rewrite>
    						<LossPriority>Low</LossPriority>
    						<CodepointType>Dot1p</CodepointType>
    						<CodePoints>000</CodePoints>
    						<CoSName>DEFAULT</CoSName>
    					</Rewrite>
    				</EgressDetail>
    			</Egress>
    			<EgressScheduler>
    				<EgressDetails>
    					<ClassOfService>DEFAULT</ClassOfService>
    					<TxRate>19%</TxRate>
    					<QPriority>Low</QPriority>
    					<BufferSize>temporal 50000</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    				<EgressDetails>
    					<ClassOfService>REALTIME</ClassOfService>
    					<TxRate>-1 rate exact</TxRate>
    					<QPriority>Strict High</QPriority>
    					<BufferSize>temporal 6000</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    				<EgressDetails>
    					<ClassOfService>CONTROL</ClassOfService>
    					<TxRate>5%</TxRate>
    					<QPriority>Low</QPriority>
    					<BufferSize>5%</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    				<EgressDetails>
    					<ClassOfService>DATA</ClassOfService>
    					<TxRate>25%</TxRate>
    					<QPriority>Low</QPriority>
    					<BufferSize>temporal 50000</BufferSize>
    					<ExcessPriority></ExcessPriority>
    					<ExcessRate>NA</ExcessRate>
    				</EgressDetails>
    			</EgressScheduler>
    		</QoSProfile>
    	</ServiceResource>
    </Data>
     
    

    Create a P2P Service Order with QoS Profiles

    This request is used to define a P2P service order with a QoS profile.

    URI

    api/space/nsas/elan-ptp/service-management/
    service-orders/<service-order-Id>

    HTTP Method

    POST

    Consumes

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

    Produces

    Creates a P2P service order with a QoS profile.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
     
    <Data xmlns="services.schema.networkapi.jmp.juniper.net"> 
     
    <ServiceResource> 
     
    <ServiceOrder> 
     
    <Common> 
     
    <Name>P2P_SO_QoS_17</Name> 
     
    <Comments>P2P service order</Comments> 
     
    </Common> 
     
    <QosProfile key="983097"> 
     
    <CIR>10 Mbps</CIR> 
     
    <PIR>10 Mbps</PIR> 
     
    </QosProfile> 
     
    <ServiceEndPointGroup> 
     
    <DeviceInfo> 
     
    <NA> 
     
    <DeviceName>kochin</DeviceName> 
     
    <DeviceID>917507</DeviceID> 
     
    </NA> 
     
    </DeviceInfo> 
     
    <ServiceEndPoint> 
     
    <InterfaceName>ge-0/0/6</InterfaceName> 
     
    <ServiceEndpointConfiguration 
     
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     
    xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> 
     
    <EndPointCategory>PTP</EndPointCategory> 
     
    <AutoPickVlanId>true</AutoPickVlanId> 
     
    <MTU>1522</MTU> 
     
    </ServiceEndpointConfiguration> 
     
    </ServiceEndPoint> 
     
    </ServiceEndPointGroup> 
     
    <ServiceEndPointGroup> 
     
    <DeviceInfo> 
     
    <NA> 
     
    <DeviceName>jaipur</DeviceName> 
     
    <DeviceID>917550</DeviceID> 
     
    </NA> 
     
    </DeviceInfo> 
     
    <ServiceEndPoint> 
     
    <InterfaceName>ge-0/1/0</InterfaceName> 
     
    <ServiceEndpointConfiguration 
     
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     
    xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> 
     
    <EndPointCategory>PTP</EndPointCategory> 
     
    <AutoPickVlanId>true</AutoPickVlanId> 
     
    <MTU>1522</MTU> 
     
    </ServiceEndpointConfiguration> 
    </ServiceEndPoint> 
     
    </ServiceEndPointGroup> 
     
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     
    xsi:type="PTPConfigParameterOrderType"> 
     
    <MTU>1577</MTU> 
     
    <AutoPickVCID>true</AutoPickVCID> 
     
    </ServiceOrderParameter> 
     
    <Reference> 
     
    <Customer key="557144"/> 
     
    <ServiceDefinition> 
     
    <ServiceDefinitionID key="1015818"/> 
     
    </ServiceDefinition> 
     
    </Reference> 
     
    </ServiceOrder> 
     
    </ServiceResource> 
     
    <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> 
     
    <Action>SaveAndDeployNow</Action> 
     
    <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> 
     
    </CustomAction> 
     
    </Data> 
    

    Modify a P2P Service Order with QoS Profiles

    This request is used to edit a P2P service order with a QoS profile.

    URI

    api/space/nsas/elan-ptp/service-management/
    service-orders/<service-order-Id>

    HTTP Method

    POST

    Consumes

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

    Produces

    Modifies a P2P service order with a QoS profile.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>qqqq1</Name>
     
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<QosProfile>
     
    				<CIR>270 Kbps</CIR>
    				<PIR>270 Kbps</PIR>
     
    			</QosProfile>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>426036</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/3</InterfaceName>
     
     
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>425992</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
     
     
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
     
     
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
     
    

    Output

    Sample XML Output

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>Service</Type>
    			<Value>295256</Value>
    		</Identity>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>1146943</Value>
    		</Identity>
    		<Job>
    			<ID>425995</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 P2P Service Order with QoS Profiles

    This request is used to retrieve a P2P service order with a QoS profile.

    URI

    api/space/nsas/elan-ptp/service-management/
    service-orders/<service-order-Id >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a P2P service order with a QoS profile.

    Output

    Sample XML Output

     
     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/eline-ptp/service-management/service-orders/1146968"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/1146968"
    			key="1146968">
    			<Common>
    				<Name>Satest</Name>
    				<Identity>1146968</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-09-15T23:00:30.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-09-15T23:00:30.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<QosProfile href="/api/space/nsas/qos-management/qosprofiles/1310792"
    				uri="/api/space/nsas/qos-management/qosprofiles/1310792" key="1310792">
    				<CIR>23 Mbps</CIR>
    				<PIR>45 Mbps</PIR>
    			</QosProfile>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1114190" uri="/api/space/nsas/device-roles/pe-devices/1114190"
    						key="1114190">
    						<DeviceName>junos-m10-1-space</DeviceName>
    						<DeviceID>1114190</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<VlanId>513</VlanId>
    						<CustomerVlanId>56</CustomerVlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">23</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1114337" uri="/api/space/nsas/device-roles/pe-devices/1114337"
    						key="1114337">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>1114337</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/4</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<VlanId>512</VlanId>
    						<CustomerVlanId>56</CustomerVlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">23</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>2147467276</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="720896"
    					href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customer-management/customers/720896" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146899"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/1146899"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1146899" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get a P2P Service Definition with QoS Profiles

    This request is used to retrieve a P2P service definition with a QoS profile.

    URI

    api/space/nsas/elan-ptp/service-management/service-definitions/
    <service-definition-Id >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a P2P service definition with a QoS profile.

    Output

    Sample XML Output

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition
    			href="/api/space/nsas/eline-ptp/service-management/service-definitions/295155"
    			uri="/api/space/nsas/eline-ptp/service-management/service-definitions/295155"
    			key="295155">
    			<Common>
    				<Name>QosEnabled</Name>
    				<Identity>295155</Identity>
    				<State>Published</State>
    				<CreatedDate>2013-03-15T15:38:25.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-03-15T15:38:25.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
    			<InterfaceType>Ethernet</InterfaceType>
    			<EnableL3Access>false</EnableL3Access>
    			<QosEnabled>true</QosEnabled>
    			<PWResiliency>false</PWResiliency>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType">
    				<VCID default="1" selection="Auto pick" editable="false" min="1"
    					max="4294967296" />
    				<MTU default="1522" editable="false" min="1522" max="9192" />
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType">
    				<EthernetOption>dot1q</EthernetOption>
    				<VlanIdSelection selection="Auto pick" editable="false" />
    				<TrafficType>Transport single vlan</TrafficType>
    				<VlanIdAuto default="0" min="0" max="0" />
    				<VlanIdManual default="0" min="0" max="0" />
    				<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    				<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    				<MTU default="1522" editable="false" min="1522" max="9192" />
    				<EnableRateLimiting>Not enabled</EnableRateLimiting>
    				<DefaultBandwidth default="1" editable="false" min="1"
    					max="100" unit="Mbps">N/A</DefaultBandwidth>
    				<MinBandwidth min="64" max="100000" unit="Kbps">0
    				</MinBandwidth>
    				<MaxBandwidth min="1" max="100000" unit="Mbps">0
    				</MaxBandwidth>
    				<Increment default="64" min="64" max="100000" unit="Kbps">0
    				</Increment>
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Get a P2P Service with QoS Profiles

    This request is used to retrieve a P2P service with a QoS profile.

    URI

    api/space/nsas/elan-ptp/service-management/services/
    <serviceId >

    HTTP Method

    GET

    Consumes

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

    Produces

    Retrieves a P2P service with a QoS profile.

    Output

    Sample XML Output

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service
    			href="/api/space/nsas/eline-ptp/service-management/services/1146931"
    			uri="/api/space/nsas/eline-ptp/service-management/services/1146931"
    			key="1146931">
    			<Common>
    				<Name>Qostest</Name>
    				<Identity>1146931</Identity>
    				<State>Deployed</State>
    				<CreatedDate>2013-09-15T05:22:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-09-15T05:22:57.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>LDP</ServiceType>
    			<QosProfile href="/api/space/nsas/qos-management/qosprofiles/1310792"
    				uri="/api/space/nsas/qos-management/qosprofiles/1310792" key="1310792">
    				<CIR>10000</CIR>
    				<PIR>10000</PIR>
    			</QosProfile>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1114190" uri="/api/space/nsas/device-roles/pe-devices/1114190"
    						key="1114190">
    						<DeviceName>junos-m10-1-space</DeviceName>
    						<DeviceID>1114190</DeviceID>
    						<CMPDeviceID>1212448</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/3.512</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<VlanId>512</VlanId>
    						<CustomerVlanId>10</CustomerVlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    				<ServiceEndPointGroupParameter
    					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType">
    					<PEDevice_LoopBackIP>30.1.2.4</PEDevice_LoopBackIP>
    				</ServiceEndPointGroupParameter>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/1114190" uri="/api/space/nsas/device-roles/pe-devices/1114190"
    						key="1114190">
    						<DeviceName>junos-m10-1-space</DeviceName>
    						<DeviceID>1114190</DeviceID>
    						<CMPDeviceID>1212448</CMPDeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/3/1.512</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<VlanId>512</VlanId>
    						<CustomerVlanId>10</CustomerVlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    				<ServiceEndPointGroupParameter
    					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType">
    					<PEDevice_LoopBackIP>30.1.2.4</PEDevice_LoopBackIP>
    				</ServiceEndPointGroupParameter>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterServiceType" />
    			<Reference>
    				<ServiceOrder key="1146924"
    					href="/api/space/nsas/eline-ptp/service-management/service-orders/1146924"
    					uri="/api/space/nsas/eline-ptp/service-management/service-orders/1146924" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="1146899"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/1146899"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1146899" />
    				</ServiceDefinition>
    				<Customer key="720896"
    					href="/api/space/nsas/customer-management/customers/720896" uri="/api/space/nsas/customer-management/customers/720896" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
     
    

    Modified: 2015-11-20