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

    SyncE Services Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Synchronous Ethernet (SyncE) Services Management RESTful Web Services.

    Get a SyncE Service By Service ID

    This request is used to retrieve the details of a particular SyncE service, based on the service ID.

    URI

    /api/space/nsas/sync-e/service-management/
    services/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific SyncE service.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service href="/api/space/nsas/sync-e/service-management/services/163850"
    			uri="/api/space/nsas/sync-e/service-management/services/163850" key="163850">
    			<Common>
    				<Name>TestSyncEOS</Name>
    				<Identity>163850</Identity>
    				<State>Deployed</State>
    				<Comments>TestSyncEOS</Comments>
    				<CreatedDate>2013-05-15T18:24:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-05-15T18:24:57.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/861"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/861"
    						key="861">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>861</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterServiceType">
    						<QualityLevel> PRP </QualityLevel>
    						<Override>0</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    						<ESMCTransmit>
    							<ESMCInterface>ge-0/1/0</ESMCInterface>
    							<ESMCInterface>ge-0/1/1</ESMCInterface>
    							<ESMCInterface>ge-0/1/2</ESMCInterface>
    						</ESMCTransmit>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/755"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/755"
    						key="755">
    						<DeviceName>junos-space5</DeviceName>
    						<DeviceID>755</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterServiceType">
    						<QualityLevel> PRP </QualityLevel>
    						<Override>0</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    						<ESMCTransmit>
    							<ESMCInterface>ge-0/1/3</ESMCInterface>
    							<ESMCInterface>ge-0/1/4</ESMCInterface>
    							<ESMCInterface>ge-0/2/1</ESMCInterface>
    							<ESMCInterface>ge-0/2/0</ESMCInterface>
    						</ESMCTransmit>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/755"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/755"
    						key="755">
    						<DeviceName>junos-space5</DeviceName>
    						<DeviceID>755</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterServiceType">
    						<QualityLevel> PRP </QualityLevel>
    						<Override>0</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    						<ESMCTransmit>
    							<ESMCInterface>ge-0/1/3</ESMCInterface>
    							<ESMCInterface>ge-0/1/4</ESMCInterface>
    							<ESMCInterface>ge-0/2/1</ESMCInterface>
    							<ESMCInterface>ge-0/2/0</ESMCInterface>
    						</ESMCTransmit>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/755"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/755"
    						key="755">
    						<DeviceName>junos-space5</DeviceName>
    						<DeviceID>755</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>xe-0/3/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterServiceType">
    						<QualityLevel> PRP </QualityLevel>
    						<Override>0</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    						<ESMCTransmit>
    							<ESMCInterface>ge-0/1/3</ESMCInterface>
    							<ESMCInterface>ge-0/1/4</ESMCInterface>
    							<ESMCInterface>ge-0/2/1</ESMCInterface>
    							<ESMCInterface>ge-0/2/0</ESMCInterface>
    						</ESMCTransmit>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="SyncEConfigParameterServiceType">
    				<GeneralSettings>
    					<NetworkOption>Option-1</NetworkOption>
    					<ClockMode>Auto</ClockMode>
    					<EnableQualityMode>false</EnableQualityMode>
    					<SourceSelectionMode>Configured Quality</SourceSelectionMode>
    					<HoldIntervalServiceSettings>
    						<ChangeConfig>15</ChangeConfig>
    						<Restart>120</Restart>
    						<Switchover>30</Switchover>
    						<SwitchoverMode>Revertive</SwitchoverMode>
    					</HoldIntervalServiceSettings>
    				</GeneralSettings>
    			</ServiceParameters>
    			<Reference>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="32782"
    						href="/api/space/nsas/sync-e/service-management/service-definitions/163850"
    						uri="/api/space/nsas/sync-e/service-management/service-definitions/163850">
    						<ServiceDefinitionName>TestSyncEOS</ServiceDefinitionName>
    					</ServiceDefinitionID>
    				</ServiceDefinition>
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
    
    	

    Get All SyncE Services

    This request is used to retrieve all the configured SyncE services.

    URI

    /api/space/nsas/sync-e/service-management/services/

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured SyncE services.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service href="/api/space/nsas/sync-e/service-management/services/32800"
    			uri="/api/space/nsas/sync-e/service-management/services/32800" key="32800">
    			<Common>
    				<Name>SyncESO</Name>
    				<Identity>32800</Identity>
    				<State>Deployed</State>
    				<Comments>SyncESO</Comments>
    				<CreatedDate>2013-05-07T15:22:59.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-05-10T13:50:46.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    		</Service>
    		<Service href="/api/space/nsas/sync-e/service-management/services/98323"
    			uri="/api/space/nsas/sync-e/service-management/services/98323" key="98323">
    			<Common>
    				<Name>sfddsfa</Name>
    				<Identity>98323</Identity>
    				<State>Deployed</State>
    				<Comments>sfddsfa</Comments>
    				<CreatedDate>2013-05-10T14:31:53.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-05-10T14:31:53.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    		</Service>
    		<Service href="/api/space/nsas/sync-e/service-management/services/163850"
    			uri="/api/space/nsas/sync-e/service-management/services/163850" key="163850">
    			<Common>
    				<Name>TestSyncEOS</Name>
    				<Identity>163850</Identity>
    				<State>Deployed</State>
    				<Comments>TestSyncEOS</Comments>
    				<CreatedDate>2013-05-15T18:24:57.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-05-15T18:24:57.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    		</Service>
    	</ServiceResource>
    </Data>
    
    	

    Modify a SyncE Service

    This request is used to modify a SyncE service for addition of parameters.

    URI

    /api/space/nsas/sync-e/service-management/
    services/<service-id>

    HTTP Method

    POST

    Content Type

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

    Consumes

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

    Produces

    Modifies a SyncE service for addition of parameters.

    Input

    Sample XML Intput

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>APITestSyncEOrder</Name>				
    				<Comments>This is modify services</Comments>				
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    			
    		<ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/3"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/3"
    						key="3">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>3</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterOrderType">
    						<QualityLevel>PRC</QualityLevel>
    						<Override>Default</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    <ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/3"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/3"
    						key="3">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>3</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterOrderType">
    						<QualityLevel>PRC</QualityLevel>
    						<Override>Default</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>						
    			<TimingDeviceESMCGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-synce-device/manage-devices/devices/3"
    						uri="/api/space/nsas/prestage-synce-device/manage-devices/devices/3"
    						key="3">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>3</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ESMCInterfaces>
    					<ESMCInterface>ge-0/1/2</ESMCInterface>					
    				</ESMCInterfaces>
    			</TimingDeviceESMCGroup>
    		</ServiceOrder>
    	</ServiceResource>
    <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType">
    <Action>SaveAndDeployNow</Action>
    <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    </CustomAction>
    </Data>
    	

    Add Devices to a SyncE Service

    This request is used to add local devices to a SyncE service.

    URI

    api/space/nsas/sync-e/service-management/
    services/<serviceId>/add-devices

    HTTP Method

    POST

    Content Type

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

    Consumes

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

    Produces

    Adds local devices to SyncE services.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>TestSyncESOT_modify_1369628523832</Name>				
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-timing-device/manage-devices/devices/143"
    						uri="/api/space/nsas/prestage-timing-device/manage-devices/devices/143"
    						key="143">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>143</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TimingSyncEEndPointConfigParameterOrderType">
    						<QualityLevel>SEC</QualityLevel>
    						<Override>Default</Override>
    						<Priority>1</Priority>
    						<WRT>5</WRT>
    					</ServiceEndpointConfiguration>
    </ServiceEndPoint>
    			</ServiceEndPointGroup>	
    			<TimingDeviceESMCGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-timing-device/manage-devices/devices/143"
    						uri="/api/space/nsas/prestage-timing-device/manage-devices/devices/143"
    						key="143">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>143</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ESMCInterfaces>
    					<ESMCInterface>ge-0/1/0</ESMCInterface>
    					<ESMCInterface>ge-0/1/1</ESMCInterface>
    					<ESMCInterface>ge-0/1/2</ESMCInterface>
    				</ESMCInterfaces>
    			</TimingDeviceESMCGroup>			
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType">
    <Action>SaveAndDeployNow</Action>
    <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    </CustomAction>
    </Data>
    
    	

    Delete Devices from a SyncE Service

    This request is used to delete local devices from a SyncE service.

    URI

    api/space/nsas/sync-e/service-management
    /services/<serviceId>/delete-devices

    HTTP Method

    POST

    Content Type

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

    Consumes

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

    Produces

    Deletes local devices from SyncE services.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>TestSyncESOT_modify_1369628523832</Name>				
    			</Common>
    			<ServiceType>SyncE</ServiceType>		
    	<ServiceEndPointGroup>
    </ServiceEndPointGroup>
    			<TimingDeviceESMCGroup>
    				<DeviceInfo>
    					<Timing
    						href="/api/space/nsas/prestage-timing-device/manage-devices/devices/143"
    						uri="/api/space/nsas/prestage-timing-device/manage-devices/devices/143"
    						key="143">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>143</DeviceID>
    					</Timing>
    				</DeviceInfo>
    				<ESMCInterfaces>
    					<ESMCInterface>ge-0/1/4</ESMCInterface>
    					<ESMCInterface>ge-0/1/5</ESMCInterface>					
    				</ESMCInterfaces>
    			</TimingDeviceESMCGroup>			
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceCustomActionType">
    <Action>SaveAndDeployNow</Action>
    <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    </CustomAction>
    </Data>
    
    	

    Decommission a SyncE Service

    This request is used to decommission a previously created SyncE service.

    URI

    api/space/sync-e/service-management/
    services/{serviceId}

    HTTP Method

    DELETE

    Content-Type

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

    Produces

    Decommissions a previously created SyncE service.

    Input

    Sample XML Input

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

    Run a Functional Audit of a SyncE Service

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

    URI

    api/space/sync-e/service-management/
    /<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 SyncE service.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="FunctionalAuditCustomActionType">
    <Action>AuditLater</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>32788</Value>
    		</Identity>
    		<Job>
    			<ID>360570</ID>
    			<Status>INPROGRESS</Status>
    			
    		</Job>
    		<Code>200</Code>
    		<Message>The Functional Audit was Successfully triggered. Please check
    			the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    

    Run a Configuration Audit of a SyncE Service

    This request is run a configuration audit of a SyncE service.

    URI

    api/space/sync-e/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 configuration audit of a SyncE service.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ConfigAuditCustomActionType">
     	<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>32788</Value>
    		</Identity>
    		<Job>
    			<ID>360569</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>The Configurational Audit was Successfully triggered.Please
    			check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    	

    View the Functional Audit Results of a SyncE Service

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

    URI

    api/space/sync-e/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 SyncE service.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<FunctionalAuditResult>
    			<Common>
    				<Name>SynceSeviceOrderO1</Name>
    				<Identity>131078</Identity>
    				<State>Deployed</State>
    			</Common>
    			<ServiceType>SyncE</ServiceType>
    			<OperationState>Down</OperationState>
    			<ServiceDefinitionName>TestSyncEDef</ServiceDefinitionName>
    			<NoOfUNIs>2</NoOfUNIs>
    			<UpUNIs>1</UpUNIs>
    			<DownUNIs>1</DownUNIs>
    			<DeviceEnd>
    				<DeviceName>njunos-space2</DeviceName>
    				<Topology>N/A</Topology>
    				<OperationState>Down</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>0</UpRemoteUNIs>
    				<DownRemoteUNIs>1</DownRemoteUNIs>
    				<RemoteEnd>
    					<ControlPlaneParams>
    						<ControlPanelCommand>
    							<Command>get-clock-synchronization-information</Command>
    							<RemoteEndpoint> junos-space2</RemoteEndpoint>
    						</ControlPanelCommand>
    					</ControlPlaneParams>
    				</RemoteEnd>
    			</DeviceEnd>
    			<DeviceEnd>
    				<DeviceName>junos-space2</DeviceName>
    				<Topology>N/A</Topology>
    				<OperationState>Up</OperationState>
    				<NoOfRemoteUNIs>1</NoOfRemoteUNIs>
    				<UpRemoteUNIs>1</UpRemoteUNIs>
    				<DownRemoteUNIs>0</DownRemoteUNIs>
    				<RemoteEnd>
    					<ControlPlaneParams>
    						<ControlPanelCommand>
    							<Command>get-clock-synchronization-information</Command>
    							<RemoteEndpoint> junos-space2</RemoteEndpoint>
    						</ControlPanelCommand>
    					</ControlPlaneParams>
    				</RemoteEnd>
    			</DeviceEnd>
    			<TroubleshootResult
    				href="/api/space/nsas/sync-e/service-management/services/view-troubleshoot-results/131078"
    				uri="/api/space/nsas/sync-e/service-management/services/view-troubleshoot-results/131078" />
    		</FunctionalAuditResult>
    	</AuditResults>
    </Data>
    
    

    View the Configuration Audit Results of a SyncE Service

    This request is display the configuration audit results of a SyncE service.

    URI

    api/space/sync-e/service-management/services/view-
    configuration-audit/<service-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the configuration audit results of a SyncE service.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<AuditResults>
    		<ConfigurationAuditResult>
    			<ConfigDeviceEnd>
    				<DeviceName>junos-space2</DeviceName>
    				<DeviceStatus>Up</DeviceStatus>
    				<Details>Successfully Config Audited
    				</Details>
    			</ConfigDeviceEnd>
    			<ConfigDeviceEnd>
    				<DeviceName>junos-space2</DeviceName>
    				<DeviceStatus>Up</DeviceStatus>
    				<Details>Successfully Config Audited
    				</Details>
    			</ConfigDeviceEnd>
    		</ConfigurationAuditResult>
    	</AuditResults>
    </Data>	
    
    	

    View the Service Configuration Change Results of a SyncE Service

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

    URI

    api/space/sync-e/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 SyncE 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-space2</DeviceName>
    				<Configuration>
    					<configuration>
    					<chassis>
    					<synchronization>
    					<clock-mode>auto-select</clock-mode>
    					<esmc-transmit>
    					<interfaces>
    					<name>ge-0/1/0</name>
    					</interfaces>
    					<interfaces>
    					<name>ge-0/1/2</name>
    					</interfaces>
    					</esmc-transmit>
    					<hold-interval>
    					<configuration-change>15</configuration-change>
    					<restart>120</restart>
    					<switchover>30</switchover>
    					</hold-interval>
    					<network-option>option-1</network-option>
    					<quality-mode-enable operation="delete"/>
    					<selection-mode>configured-quality</selection-mode>
    					<source>
    					<interfaces>
    					<name>ge-0/1/1</name>
    					<priority>1</priority>
    					<quality-level>sec</quality-level>
    					<wait-to-restore>5</wait-to-restore>
    					</interfaces>
    					<interfaces>
    					<name>ge-0/2/0</name>
    					<priority>1</priority>
    					<quality-level>sec</quality-level>
    					<wait-to-restore>5</wait-to-restore>
    					</interfaces>
    					</source>
    					<switchover-mode>revertive</switchover-mode>
    					</synchronization>
    					</chassis>
    					<protocols>
    					<ptp operation="delete"/>
    					</protocols>
    					</configuration></Configuration>
    			</ServiceConfigDeviceEnd>
    			<ServiceConfigDeviceEnd>
    				<DeviceName>junos-space2</DeviceName>
    				<Configuration>
    					<configuration>
    					<chassis>
    					<synchronization>
    					<clock-mode>auto-select</clock-mode>
    					<esmc-transmit>
    					<interfaces>
    					<name>ge-0/1/0</name>
    					</interfaces>
    					<interfaces>
    					<name>ge-0/1/2</name>
    					</interfaces>
    					</esmc-transmit>
    					<hold-interval>
    					<configuration-change>15</configuration-change>
    					<restart>120</restart>
    					<switchover>30</switchover>
    					</hold-interval>
    					<network-option>option-1</network-option>
    					<quality-mode-enable operation="delete"/>
    					<selection-mode>configured-quality</selection-mode>
    					<source>
    					<interfaces>
    					<name>ge-0/1/1</name>
    					<priority>1</priority>
    					<quality-level>sec</quality-level>
    					<wait-to-restore>5</wait-to-restore>
    					</interfaces>
    					<interfaces>
    					<name>ge-0/2/0</name>
    					<priority>1</priority>
    					<quality-level>sec</quality-level>
    					<wait-to-restore>5</wait-to-restore>
    					</interfaces>
    					</source>
    					<switchover-mode>revertive</switchover-mode>
    					</synchronization>
    					</chassis>
    					<protocols>
    					<ptp operation="delete"/>
    					</protocols>
    					</configuration></Configuration>
    			</ServiceConfigDeviceEnd>
    		</ServiceConfigurationChangeResult>
    	</AuditResults>
    </Data>
    	

    Modified: 2016-05-26