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

    Tunnel Services Functional Audit, Configuration Change, and Fault Status Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Tunnel Services Functional and Configuration Audits Management RESTful Web Services.

    Run a Functional Audit of an RSVP LSP Service

    This request is run a functional audit of an RSVP LSP service.

    URI

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

    HTTP Method

    POST

    Content Type

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

    The options for AuditNow and AuditLater can be provided in the Action element within the ?OperationSpecificData?.

    Consumes

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

    Produces

    Performs a functional audit of an RSVP LSP service.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		xsi:type="FunctionalAuditCustomActionType">
    		<Action>AuditNow</Action>
    	</CustomAction>
    </Data> 
    
    

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>Service</Type>
    			<Value>123</Value>
    		</Identity>
    		<Job>
    			<ID>688253</ID>
    			<Status>INPROGRESS</Status>
    			<AssociatedJob>
    				<ID>688254</ID>
    				<Status>INPROGRESS</Status>
    				<Code>200</Code>
    				<Message>The Monitoring Audit was Successfully triggered. Please
    					check the status using the JOB ID.</Message>
    			</AssociatedJob>
    		</Job>
    		<Code>200</Code>
    		<Message>The Functional Audit was Successfully triggered. Please check
    			the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    

    View the Functional Audit Results of an RSVP LSP Service

    This request is display the functional audit results of an RSVP LSP service.

    URI

    api/space/nsas/rsvp-lsp/service-management/services/
    view-functional-audit/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the functional audit results of an RSVP LSP service.

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<FunctionalAuditResult>
    			<Common>
    				<Name>RSVP_BFD_SO_P2P_002</Name>
    				<Identity>304</Identity>
    				<State>Deployed</State>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<OperationState>Down</OperationState>
    			<ServiceDefinitionName>RSVP_BFD_SD_P2P_001</ServiceDefinitionName>
    			<NoOfUNIs>1</NoOfUNIs>
    			<UpUNIs>0</UpUNIs>
    			<DownUNIs>1</DownUNIs>
    			<DeviceEnd>
    				<DeviceName>RSVP_BFD_SO_P2P_002_to_50_1_2_1 embassy</DeviceName>
    				<Topology>LSPP2P</Topology>
    				<OperationState>Down</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>0</UpRemoteUNIs>
    				<DownRemoteUNIs>1</DownRemoteUNIs>
    				<RemoteEnd>
    					<ControlPlaneParams>
    						<ControlPanelCommand>
    							<Command>get-mpls-lsp-information</Command>
    							<RemoteEndpoint> kochin</RemoteEndpoint>
    							<Result>Status: probably configuration missing on device
    							</Result>
    						</ControlPanelCommand>
    					</ControlPlaneParams>
    				</RemoteEnd>
    			</DeviceEnd>
    			<TroubleshootResult
    				href="/api/space/nsas/rsvp-lsp/service-management/services/view-troubleshoot-results/304"
    				uri="/api/space/nsas/rsvp-lsp/service-management/services/view-troubleshoot-results/304" />
    		</FunctionalAuditResult>
    	</AuditResults>
    </Data>
    
    

    View the Service Configuration Change Results of an RSVP LSP Service

    This request is display the service configuration changes of an RSVP LSP service.

    URI

    api/space/nsas/rsvp-lsp/service-management/services/
    view-serviceconfiguration-change/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the service configuration change results of an RSVP LSP service.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data
        xmlns="services.schema.networkapi.jmp.juniper.net">
        <AuditResults>
            <ServiceConfigurationChangeResult>
                <ServiceConfigDeviceEnd>
                    <DeviceName>embassy</DeviceName>
                    <Configuration>
                        <configuration
                            xmlns:a="http://transportactivate.jmp.juniper.net/lsp/shared"
                            xmlns:b="http://jmp.juniper.net/lsp/shared">
                            <protocols>
                                <mpls>
                                    <log-updown>
                                        <trap/>
                                        <trap-path-down/>
                                        <trap-path-up/>
                                    </log-updown>
                                    <label-switched-path>
                                        <name>RSVP_BFD_001_to_50_1_2_1</name>
                                        <from>50.1.2.4</from>
                                        <to>50.1.2.1</to>
                                        <ldp-tunneling/>
                                        <fast-reroute/>
                                        <oam>
                                            <bfd-liveness-detection>
                                                <minimum-interval>300</minimum-interval>
                                                <minimum-receive-interval>50</minimum-receive-interval>
                                                <multiplier>3</multiplier>
                                                <no-adaptation/>
                                                <transmit-interval>
                                                    <minimum-interval>50</minimum-interval>
                                                    <threshold>300</threshold>
                                                </transmit-interval>
                                                <detection-time>
                                                    <threshold>1000</threshold>
                                                </detection-time>
                                                <failure-action>
                                                    <teardown/>
                                                </failure-action>
                                            </bfd-liveness-detection>
                                        </oam>
                                        <auto-bandwidth>
                                            <minimum-bandwidth>10000</minimum-bandwidth>
                                            <maximum-bandwidth>20000</maximum-bandwidth>
                                            <adjust-interval>300</adjust-interval>
                                        </auto-bandwidth>
                                    </label-switched-path>
                                </mpls>
                            </protocols>
                        </configuration>
                    </Configuration>
                </ServiceConfigDeviceEnd>
            </ServiceConfigurationChangeResult>
        </AuditResults>
    </Data>
    
    

    View the Monitoring and Troubleshooting Results of an RSVP LSP Service

    This request is display the results of troubleshooting and monitoring operations of an RSVP LSP service.

    URI

    api/space/nsas/rsvp-lsp/service-management/
    services/view-troubleshoot-results/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the troubleshooting results of an RSVP LSP service.

    Output

    Sample XML Output

    xmlns="services.schema.networkapi.jmp.juniper.net">
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data
        xmlns="services.schema.networkapi.jmp.juniper.net">
        <AuditResults>
            <TroubleshootResult>
                <DeviceEnd>
                    <DeviceName>embassy</DeviceName>
                    <CommandResult>
                        <Protocol>
                            <MPLS>
                                <CommandDetails>
                                    <Command>show mpls lsp ingress name RSVP_BFD_SO_P2P_002_to_50_1_2_1</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>LSP name</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>To</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Active Path</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>From</Name>
                                                <Value></Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                                <CommandDetails>
                                    <Command>show mpls lsp name RSVP_BFD_SO_P2P_002_to_50_1_2_1 extensive</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Switching Type</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Active Route</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>To</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>LSP Type</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Encoding Type</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Load Balance</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>From</Name>
                                                <Value></Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                            </MPLS>
                            <ROUTE>
                                <CommandDetails>
                                    <Command>show rsvp session name RSVP_BFD_SO_P2P_002_to_50_1_2_1</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>LSP name</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>To</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>From</Name>
                                                <Value></Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                                <CommandDetails>
                                    <Command>show rsvp neighbor</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>Down</Name>
                                                <Value>1</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Idle</Name>
                                                <Value>
    0
    </Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>HelloInt</Name>
                                                <Value>9</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>HelloTx/Rx</Name>
                                                <Value>190350</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Up</Name>
                                                <Value>2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>40.1.3.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>LastChange</Name>
                                                <Value>
    2w5d 18:46:36
    </Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Down</Name>
                                                <Value>2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Idle</Name>
                                                <Value>
    4:19:19
    </Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>HelloInt</Name>
                                                <Value>9</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>HelloTx/Rx</Name>
                                                <Value>122921</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Up</Name>
                                                <Value>2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>40.1.5.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>LastChange</Name>
                                                <Value>
    22:31:08
    </Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Down</Name>
                                                <Value>0</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Idle</Name>
                                                <Value>
    5
    </Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>HelloInt</Name>
                                                <Value>9</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>HelloTx/Rx</Name>
                                                <Value>188762</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Up</Name>
                                                <Value>1</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>40.1.2.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>LastChange</Name>
                                                <Value>
    2w5d 18:31:10
    </Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                                <CommandDetails>
                                    <Command>show rsvp interface</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value>ge-1/0/0.0</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>ReservedBandwidth</Name>
                                                <Value>0bps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>static-bandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Up</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>AvailableBandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value>ge-1/0/1.0</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>ReservedBandwidth</Name>
                                                <Value>0bps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>static-bandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Up</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>AvailableBandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value>ge-1/0/2.0</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>ReservedBandwidth</Name>
                                                <Value>0bps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>static-bandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Up</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>AvailableBandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value>ge-1/1/3.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>ReservedBandwidth</Name>
                                                <Value>0bps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>static-bandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Up</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>AvailableBandwidth</Name>
                                                <Value>1000Mbps</Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                                <CommandDetails>
                                    <Command>Show ospf neighbor</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value>ge-1/0/0.0</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Full</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>40.1.3.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>ID</Name>
                                                <Value>50.1.2.1</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Dead</Name>
                                                <Value>38</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Priority</Name>
                                                <Value>128</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value>ge-1/0/2.0</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Full</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>40.1.2.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>ID</Name>
                                                <Value>50.1.2.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Dead</Name>
                                                <Value>34</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Priority</Name>
                                                <Value>128</Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                                <CommandDetails>
                                    <Command>show ldp session</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>Hold Time</Name>
                                                <Value>27</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Operational</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>30.1.2.12</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Connection</Name>
                                                <Value>Open</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Hold Time</Name>
                                                <Value>25</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Operational</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>50.1.2.1</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Connection</Name>
                                                <Value>Open</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Hold Time</Name>
                                                <Value>23</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Operational</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>50.1.2.2</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Connection</Name>
                                                <Value>Open</Value>
                                            </Parameter>
                                        </Row>
                                        <Row>
                                            <Parameter>
                                                <Name>Hold Time</Name>
                                                <Value>23</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value>Operational</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value>50.1.2.3</Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Connection</Name>
                                                <Value>Open</Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                                <CommandDetails>
                                    <Command>show bfd session</Command>
                                    <Results>
                                        <Row>
                                            <Parameter>
                                                <Name>Interface</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>State</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Detection Time</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Transmit Interval</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Address</Name>
                                                <Value></Value>
                                            </Parameter>
                                            <Parameter>
                                                <Name>Multiplier</Name>
                                                <Value></Value>
                                            </Parameter>
                                        </Row>
                                    </Results>
                                </CommandDetails>
                            </ROUTE>
                        </Protocol>
                    </CommandResult>
                </DeviceEnd>
            </TroubleshootResult>
        </AuditResults>
    </Data>
    
    

    Run a Functional Audit of a GRE Service

    This request is run a functional audit of a GRE service.

    URI

    api/space/nsas/gre/service-management/
    services/<service-id>

    HTTP Method

    POST

    Content Type

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

    The options for AuditNow and AuditLater can be provided in the Action element within the ?OperationSpecificData?.

    Consumes

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

    Produces

    Performs a functional audit of a GRE service.

    Input

    Sample XML Input

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

    View the Functional Audit Results of a GRE Service

    This request is display the functional audit results of a GRE service.

    URI

    api/space/nsas/gre/service-management/services/
    view-functional-audit/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the functional audit results of a GRE service.

    Output

    Sample XML Output

    <Data>
    	<AuditResults>
    		<FunctionalAuditResult>
    			<Common>
    				<Name>GRE_FULLMESH_002</Name>
    				<Identity>163871</Identity>
    				<State>Deployed</State>
    			</Common>
    			<ServiceType>GRE</ServiceType>
    			<OperationState>Down</OperationState>
    			<ServiceDefinitionName>StdDef-GRE-FullMesh</ServiceDefinitionName>
    			<NoOfUNIs>2</NoOfUNIs>
    			<UpUNIs>1</UpUNIs>
    			<DownUNIs>1</DownUNIs>
    			<DeviceEnd>
    				<DeviceName>gr-0/0/10 kochin</DeviceName>
    				<Topology>N/A</Topology>
    				<OperationState>Down</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>0</UpRemoteUNIs>
    				<DownRemoteUNIs>1</DownRemoteUNIs>
    				<RemoteEnd>
    					<ControlPlaneParams>
    						<ControlPanelCommand>
    							<Command>get-interface-information</Command>
    							<RemoteEndpoint>gr-1/0/10 embassy</RemoteEndpoint>
    							<Result>Status: probably configuration missing on device </Result>
    						</ControlPanelCommand>
    					</ControlPlaneParams>
    				</RemoteEnd>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>gr-1/0/10 embassy</DeviceName>
    				<Topology>N/A</Topology>
    				<OperationState>Up</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>1</UpRemoteUNIs>
    				<DownRemoteUNIs>0</DownRemoteUNIs>
    				<RemoteEnd>
    					<ControlPlaneParams>
    						<ControlPanelCommand>
    							<Command>get-interface-information</Command>
    							<RemoteEndpoint>gr-0/0/10 kochin</RemoteEndpoint>
    							<CommandStatus>up</CommandStatus>
    						</ControlPanelCommand>
    					</ControlPlaneParams>
    				</RemoteEnd>
    			</DeviceEnd>
    			<TroubleshootResult
    				href="/api/space/nsas/gre/service-management/services/view-troubleshoot-results/163871"
    				uri="/api/space/nsas/gre/service-management/services/view-troubleshoot-results/163871" />
    		</FunctionalAuditResult>
    	</AuditResults>
    </Data>
    
    

    View the Service Configuration Change Results of a GRE Service

    This request is display the service configuration changes of a GRE service.

    URI

    api/space/nsas/gre/service-management/services/view-
    serviceconfiguration-change/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the service configuration change results of a GRE service.

    Output

    Sample XML Output

    <Data>
    	<AuditResults>
    		<ServiceConfigurationChangeResult>
    			<ServiceConfigDeviceEnd>
    				<DeviceName>embassy</DeviceName>
    				<Configuration>
    					<configuration
    						xmlns:a="http://transportactivate.jmp.juniper.net/gre/shared"
    						xmlns:b="http://jmp.juniper.net/gre/shared">
    						<interfaces>
    							<interface>
    								<name>gr-1/0/10</name>
    								<unit>
    									<name>4</name>
    									<tunnel>
    										<source>50.1.2.4</source>
    										<destination>50.1.2.1</destination>
    									</tunnel>
    									<family>
    										<inet />
    										<mpls />
    									</family>
    								</unit>
    							</interface>
    						</interfaces>
    					</configuration>
    				</Configuration>
    			</ServiceConfigDeviceEnd>
    			<ServiceConfigDeviceEnd>
    				<DeviceName>kochin</DeviceName>
    				<Configuration>
    					<configuration
    						xmlns:a="http://transportactivate.jmp.juniper.net/gre/shared"
    						xmlns:b="http://jmp.juniper.net/gre/shared">
    						<interfaces>
    							<interface>
    								<name>gr-0/0/10</name>
    								<unit>
    									<name>4</name>
    									<tunnel>
    										<source>50.1.2.1</source>
    										<destination>50.1.2.4</destination>
    									</tunnel>
    									<family>
    										<inet />
    										<mpls />
    									</family>
    								</unit>
    							</interface>
    						</interfaces>
    					</configuration>
    				</Configuration>
    			</ServiceConfigDeviceEnd>
    		</ServiceConfigurationChangeResult>
    	</AuditResults>
    </Data>
    
    
    

    View the Monitoring and Troubleshooting Results of a GRE Service

    This request is display the results of troubleshooting and monitoring operations of a GRE service.

    URI

    api/space/nsas/gre/service-management/services/view-
    troubleshoot-results/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the troubleshooting results of a GRE service.

    Output (Full-Mesh GRE Service)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<TroubleshootResult>
    			<DeviceEnd>
    				<DeviceName>exora</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<NNI>
    							<CommandDetails>
    								<Command>show interface gr-1/2/0 terse</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/2/0
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/2/0.1
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</NNI>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-0/1/0.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.4.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>36</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-0/1/1.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.1.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>30</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>29</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>30.1.2.12</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>27</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>25</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>23</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.4</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>embassy</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<NNI>
    							<CommandDetails>
    								<Command>show interface gr-1/0/10 terse</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.1
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.2
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.7
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.8
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.13
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</NNI>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-1/0/0.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.3.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>37</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-1/0/2.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>36</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>23</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>30.1.2.12</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>29</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>27</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>22</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.3</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    		</TroubleshootResult>
    	</AuditResults>
    </Data>
    
    

    Output (Hub-and-Spoke GRE Service)

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<TroubleshootResult>
    			<DeviceEnd>
    				<DeviceName>embassy</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<NNI>
    							<CommandDetails>
    								<Command>show interface gr-1/0/10 terse</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.1
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.2
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.7
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.8
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/0/10.13
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</NNI>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-1/0/0.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.3.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>36</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-1/0/2.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>32</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>22</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>30.1.2.12</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>23</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>26</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>23</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.3</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>exora</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<NNI>
    							<CommandDetails>
    								<Command>show interface gr-1/2/0 terse</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/2/0
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-1/2/0.1
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</NNI>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-0/1/1.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>40.1.1.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>31</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>21</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>30.1.2.12</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>26</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>22</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.2</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>21</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>50.1.2.4</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>vjx-junos-m10-1-space</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<NNI>
    							<CommandDetails>
    								<Command>show interface gr-0/0/0 terse</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-0/0/0
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-0/0/0.2
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    												gr-0/0/0.3
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Status</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Admin</Name>
    											<Value>
    												up
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</NNI>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>
    											</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>
    											</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    		</TroubleshootResult>
    	</AuditResults>
    </Data>
    
    

    Run a Functional Audit of a Static LSP Service

    This request is run a functional audit of a Static LSP service.

    URI

    api/space/nsas/static-lsp/service-management/
    services/<service-id>

    HTTP Method

    POST

    Content Type

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

    The options for AuditNow and AuditLater can be provided in the Action element within the ?OperationSpecificData?.

    Consumes

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

    Produces

    Performs a functional audit of a Static LSP service.

    Input

    Sample XML Input

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

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>Service</Type>
    			<Value>16351293</Value>
    		</Identity>
    		<Job>
    			<ID>4883134</ID>
    			<Status>INPROGRESS</Status>
    			<AssociatedJob>
    				<ID>4883135</ID>
    				<Status>INPROGRESS</Status>
    				<Code>200</Code>
    				<Message>The Monitoring Audit was Successfully triggered. Please
    					check the status using the JOB ID.</Message>
    			</AssociatedJob>
    		</Job>
    		<Code>200</Code>
    		<Message>The Functional Audit was Successfully triggered. Please check
    			the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    
    

    View the Functional Audit Results of a Static LSP Service

    This request is display the functional audit results of a Static LSP service.

    URI

    api/space/nsas/static-lsp/service-management/services/
    view-functional-audit/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the functional audit results of a Static LSP service.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<FunctionalAuditResult>
    			<Common>
    				<Name>Bypass_SO</Name>
    				<Identity>256</Identity>
    				<State>Deployed</State>
    			</Common>
    			<ServiceType>LSP</ServiceType>
    			<OperationState>Down</OperationState>
    			<ServiceDefinitionName>Bypass_SD</ServiceDefinitionName>
    			<NoOfUNIs>2</NoOfUNIs>
    			<UpUNIs>0</UpUNIs>
    			<DownUNIs>2</DownUNIs>
    			<DeviceEnd>
    				<DeviceName>Bypass_SO_to_30_1_2_1 junos-mx480-space</DeviceName>
    				<Topology>LSPP2P</Topology>
    				<OperationState>Down</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>0</UpRemoteUNIs>
    				<DownRemoteUNIs>1</DownRemoteUNIs>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>Bypass_SO_to_30_1_2_1 junos-space1</DeviceName>
    				<Topology>LSPP2P</Topology>
    				<OperationState>Down</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>0</UpRemoteUNIs>
    				<DownRemoteUNIs>1</DownRemoteUNIs>
    			</DeviceEnd>
    			<TroubleshootResult
    				href="/api/space/nsas/static-lsp/service-management/services/view-troubleshoot-results/256"
    				uri="/api/space/nsas/static-lsp/service-management/services/view-troubleshoot-results/256" />
    		</FunctionalAuditResult>
    	</AuditResults>
    </Data>
    
    
    

    View the Service Configuration Change Results of a Static LSP Service

    This request is display the service configuration changes of a Static LSP service.

    URI

    api/space/nsas/static-lsp/service-management/
    services/view-serviceconfiguration-change/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the service configuration change results of a Static LSP service.

    Output

    Sample XML Output

        
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data
        xmlns="services.schema.networkapi.jmp.juniper.net">
        <AuditResults>
            <ServiceConfigurationChangeResult>
                <ServiceConfigDeviceEnd>
                    <DeviceName>junos-mx480-space</DeviceName>
                    <Configuration>
                        <configuration
                            xmlns:a="http://transportactivate.jmp.juniper.net/lsp/shared"
                            xmlns:b="http://jmp.juniper.net/lsp/shared">
                            <protocols>
                                <mpls>
                                    <log-updown>
                                        <trap/>
                                        <trap-path-down/>
                                        <trap-path-up/>
                                    </log-updown>
                                    <static-label-switched-path>
                                        <name>Bypass_SO_to_30_1_2_1</name>
                                        <bypass>
                                            <next-hop>10.34.5.6</next-hop>
                                            <push>1000001</push>
                                            <to>30.1.2.1</to>
                                        </bypass>
                                    </static-label-switched-path>
                                </mpls>
                            </protocols>
                        </configuration>
                    </Configuration>
                </ServiceConfigDeviceEnd>
                <ServiceConfigDeviceEnd>
                    <DeviceName>junos-space1</DeviceName>
                    <Configuration>
                        <configuration
                            xmlns:a="http://transportactivate.jmp.juniper.net/lsp/shared"
                            xmlns:b="http://jmp.juniper.net/lsp/shared">
                            <protocols>
                                <mpls>
                                    <log-updown>
                                        <trap/>
                                        <trap-path-down/>
                                        <trap-path-up/>
                                    </log-updown>
                                    <static-label-switched-path>
                                        <name>Bypass_SO_to_30_1_2_1</name>
                                        <transit>
                                            <name>1000001</name>
                                            <next-hop>10.4.5.66</next-hop>
                                            <pop/>
                                        </transit>
                                    </static-label-switched-path>
                                </mpls>
                            </protocols>
                        </configuration>
                    </Configuration>
                </ServiceConfigDeviceEnd>
            </ServiceConfigurationChangeResult>
        </AuditResults>
    </Data>
    
    
    

    View the Monitoring and Troubleshooting Results of a Static LSP Service

    This request is display the results of troubleshooting and monitoring operations of a Static LSP service.

    URI

    api/space/nsas/static-lsp/service-management/
    services/view-troubleshoot-results/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the troubleshooting results of a Static LSP service.

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<TroubleshootResult>
    			<DeviceEnd>
    				<DeviceName>junos-mx480-space</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<MPLS>
    							<CommandDetails>
    								<Command>show mpls static-lsp name Bypass_SO_to_30_1_2_1
    								</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>LSP name</Name>
    											<Value>Bypass_SO_to_30_1_2_1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Dn</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Incoming Label</Name>
    											<Value>-</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>false</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show mpls static-lsp name Bypass_SO_to_30_1_2_1
    									extensive</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Label Operation</Name>
    											<Value>Push</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Statistics</Name>
    											<Value>-</Value>
    										</Parameter>
    										<Parameter>
    											<Name>LSP name</Name>
    											<Value>Bypass_SO_to_30_1_2_1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Dn</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Next Hop</Name>
    											<Value>10.34.5.6</Value>
    										</Parameter>
    										<Parameter>
    											<Name>To</Name>
    											<Value>30.1.2.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>false</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Bandwidth</Name>
    											<Value>0</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</MPLS>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Message>Probably configuration missing on device.</Message>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Message>Probably configuration missing on device.</Message>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>junos-space1</DeviceName>
    				<CommandResult>
    					<Protocol>
    						<MPLS>
    							<CommandDetails>
    								<Command>show mpls static-lsp name Bypass_SO_to_30_1_2_1
    								</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>LSP name</Name>
    											<Value>Bypass_SO_to_30_1_2_1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Dn</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Incoming Label</Name>
    											<Value>1000001</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>false</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show mpls static-lsp name Bypass_SO_to_30_1_2_1
    									extensive</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Label Operation</Name>
    											<Value>Pop</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Statistics</Name>
    											<Value>-</Value>
    										</Parameter>
    										<Parameter>
    											<Name>LSP name</Name>
    											<Value>Bypass_SO_to_30_1_2_1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Dn</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Next Hop</Name>
    											<Value>10.4.5.66</Value>
    										</Parameter>
    										<Parameter>
    											<Name>To</Name>
    											<Value>-</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>false</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Bandwidth</Name>
    											<Value>0</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</MPLS>
    						<ROUTE>
    							<CommandDetails>
    								<Command>show ldp session</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Connecting</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>30.1.2.4</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>false</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Opening</Value>
    										</Parameter>
    									</Row>
    									<Row>
    										<Parameter>
    											<Name>Hold Time</Name>
    											<Value>21</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Operational</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>30.1.2.8</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>false</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Connection</Name>
    											<Value>Open</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    							<CommandDetails>
    								<Command>show ospf neighbor</Command>
    								<Results>
    									<Row>
    										<Parameter>
    											<Name>Interface</Name>
    											<Value>ge-0/1/2.0</Value>
    										</Parameter>
    										<Parameter>
    											<Name>State</Name>
    											<Value>Full</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Address</Name>
    											<Value>20.1.46.1</Value>
    										</Parameter>
    										<Parameter>
    											<Name>ID</Name>
    											<Value>30.1.2.8</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Dead</Name>
    											<Value>39</Value>
    										</Parameter>
    										<Parameter>
    											<Name>CommandStatus</Name>
    											<Value>true</Value>
    										</Parameter>
    										<Parameter>
    											<Name>Priority</Name>
    											<Value>128</Value>
    										</Parameter>
    									</Row>
    								</Results>
    							</CommandDetails>
    						</ROUTE>
    					</Protocol>
    				</CommandResult>
    			</DeviceEnd>
    		</TroubleshootResult>
    	</AuditResults>
    </Data>
    
    
    

    Modified: 2017-09-13