OAM CFM Profiles Management RESTful Web Services
The following operations can be performed using the Connectivity Services Director Operations, Administration, and Maintenance (OAM) Connectivity Fault Management (CFM) Profiles Management RESTful Web Services.
Get a CFM Action Profile By Service Definition ID
This request is used to retrieve the details of a particular CFM action profile, based on the service definition ID.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific CFM action profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <ActionProfile key="163915" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/163915" href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/163915"> <Common> <Name>Test</Name> <Identity>163915</Identity> <State>Published</State> <CreatedDate>2013-05-21T12:01:58.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T12:01:58.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Event> <InterfaceStatusTlv>lower-layer-down</InterfaceStatusTlv> <AdjacencyLoss>false</AdjacencyLoss> <RDI>true</RDI> <ConnProtTlv>using-protection-path</ConnProtTlv> </Event> <Action> <InterfaceDown>true</InterfaceDown> <ProbRemMacFlush>true</ProbRemMacFlush> </Action> <DeviceDetails> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131199" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131199" key="131199"> <DeviceName>kochin</DeviceName> <DeviceID>131199</DeviceID> </OAM> </DeviceDetails> <DeviceDetails> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131074" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131074" key="131074"> <DeviceName>junos-space3</DeviceName> <DeviceID>131074</DeviceID> </OAM> </DeviceDetails> <DeviceDetails> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133179" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133179" key="133179"> <DeviceName>junos-mx80-2-space</DeviceName> <DeviceID>133179</DeviceID> </OAM> </DeviceDetails> </ActionProfile> </OAMDesign> </ServiceResource> </Data>
Get All CFM Action Profiles
This request is used to retrieve all the configured CFM action profiles.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured CFM action profiles. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="3"> <OAMDesign> <ActionProfile key="65536" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536" href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536"> <Common> <Name>StdDef-ActionProfile</Name> <Identity>65536</Identity> <State>Published</State> <Comments>Predefined CFM action profile</Comments> <CreatedDate>2013-05-21T11:03:39.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T11:03:39.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>CFM</Type> </ActionProfile> <ActionProfile key="163915" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/163915" href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/163915"> <Common> <Name>Test</Name> <Identity>163915</Identity> <State>Published</State> <CreatedDate>2013-05-21T12:01:58.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T12:01:58.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>CFM</Type> </ActionProfile> <ActionProfile key="163923" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/163923" href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/163923"> <Common> <Name>Test123</Name> <Identity>163923</Identity> <State>Published</State> <CreatedDate>2013-05-21T12:02:25.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T12:02:25.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>CFM</Type> </ActionProfile> </OAMDesign> </ServiceResource> </Data>
Get a CFM Service Order By Service Order ID
This request is used to retrieve the details of a particular CFM service order, based on the service order ID.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific CFM service order. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/264507" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/264507" key="264507"> <Common> <Name>Test-API-CFM-SO</Name> <Identity>264507</Identity> <State>Requested</State> <CreatedDate>2013-05-23T12:37:23.000Z</CreatedDate> <LastUpdatedDate>2013-05-23T12:37:23.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <CCSettings> <HoldInterval>1</HoldInterval> <MessageInterval>1s</MessageInterval> <LossThreshold>3</LossThreshold> <InterfaceStatus>false</InterfaceStatus> <PortStatusTLV>false</PortStatusTLV> <ProtectionOuiTLV>false</ProtectionOuiTLV> </CCSettings> <CommonMEPSettings> <Direction>down</Direction> <Priority>0</Priority> <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP> </CommonMEPSettings> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/134937" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/134937" key="134937"> <DeviceName>junos-mx80-2-space</DeviceName> <DeviceID>134937</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/0</InterfaceName> <MEPId>123</MEPId> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" key="132997"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>132997</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133862" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133862" key="133862"> <DeviceName>junos-mx480-space</DeviceName> <DeviceID>133862</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133739" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133739" key="133739"> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>133739</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133739" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133739" key="133739"> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>133739</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/0</InterfaceName> <MEPId>456</MEPId> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" key="132997"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>132997</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133862" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133862" key="133862"> <DeviceName>junos-mx480-space</DeviceName> <DeviceID>133862</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/134937" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/134937" key="134937"> <DeviceName>junos-mx80-2-space</DeviceName> <DeviceID>134937</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133862" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133862" key="133862"> <DeviceName>junos-mx480-space</DeviceName> <DeviceID>133862</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>xe-0/0/0</InterfaceName> <MEPId>678</MEPId> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" key="132997"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>132997</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536" key="65536" /> <SLAProfileDetails> <SLAProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376" key="229376" /> <DataTlvSize>1</DataTlvSize> <IterationCount>1</IterationCount> <Priority>1</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/133739" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/133739" key="133739"> <DeviceName>junos-mx80-1-space</DeviceName> <DeviceID>133739</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/196608" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/196608" key="196608" /> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/134937" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/134937" key="134937"> <DeviceName>junos-mx80-2-space</DeviceName> <DeviceID>134937</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/65536" key="65536" /> <SLAProfileDetails> <SLAProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/98304" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/98304" key="98304" /> <DataTlvSize>0</DataTlvSize> <IterationCount>0</IterationCount> <Priority>0</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376" key="229376" /> <DataTlvSize>0</DataTlvSize> <IterationCount>0</IterationCount> <Priority>0</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/132997" key="132997"> <DeviceName>junos-mx240-space</DeviceName> <DeviceID>132997</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/0</InterfaceName> <MEPId>789</MEPId> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CFMConfigParameterOrderType"> <MaintenanceDomain>test</MaintenanceDomain> <DomainLevel>1</DomainLevel> <MAName>Test-API-CFM-SO</MAName> </ServiceOrderParameter> <Reference> <ServiceDefinition> <ServiceDefinitionID key="262144" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/262144" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/262144" /> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
Get All CFM Service Orders
This request is used to retrieve all the configured CFM service orders.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured CFM service orders. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="18"> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/197310" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/197310" key="197310"> <Common> <Name>Test-REM</Name> <Identity>197310</Identity> <State>Invalid</State> <CreatedDate>2013-05-21T12:51:51.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T12:51:51.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <Reference> <ServiceDefinition> <ServiceDefinitionID key="197289" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/197289" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/197289" /> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/197062" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/197062" key="197062"> <Common> <Name>CFM service 124</Name> <Identity>197062</Identity> <State>Invalid</State> <Comments>CFM service 124 with Predefined SD</Comments> <CreatedDate>2013-05-21T11:57:22.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T11:57:22.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <Reference> <ServiceDefinition> <ServiceDefinitionID key="17" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/17" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/17" /> </ServiceDefinition> </Reference> </ServiceOrder> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/196835" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/196835" key="196835"> <Common> <Name>CFM service</Name> <Identity>196835</Identity> <State>Validated</State> <Comments>so with predefined SD</Comments> <CreatedDate>2013-05-21T11:56:24.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T11:56:24.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <Reference> <ServiceDefinition> <ServiceDefinitionID key="17" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/17" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/17" /> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
Create an SLA Profile
This request is used to create an SLA profile.
URI | /api/space/nsas/sla-iteratorprofiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Creates an SLA profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <SLAIteratorProfile> <Common> <Name>SLASample-API</Name> </Common> <CycleTime>10</CycleTime> <IterationPeriod>100</IterationPeriod> <DisableIteratorProfile>true</DisableIteratorProfile> <MeasurementType>two-way-delay</MeasurementType> <CalculationWeight> <Delay>1</Delay> <DelayVariation>1</DelayVariation> </CalculationWeight> </SLAIteratorProfile> </OAMDesign> </ServiceResource> </Data>
Get an SLA Iterator Profile By Service Definition ID
This request is used to retrieve the details of a particular SLA iterator profile, based on the service definition ID.
URI | /api/space/nsas//sla-iteratorprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific SLA iterator profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <SLAIteratorProfile key="229376" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376"> <Common> <Name>fdgfd</Name> <Identity>229376</Identity> <State>Unpublished</State> <CreatedDate>2013-04-18T18:18:37.000+05:30</CreatedDate> <LastUpdatedDate>2013-04-18T18:18:37.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <CycleTime>10</CycleTime> <IterationPeriod>1</IterationPeriod> <DisableIteratorProfile>false</DisableIteratorProfile> <MeasurementType>loss</MeasurementType> </SLAIteratorProfile> </OAMDesign> </ServiceResource> </Data>
Get All SLA Iterator Profiles
This request is used to retrieve all the configured SLA iterator profiles.
URI | /api/space/nsas//sla-iteratorprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured SLA iterator profiles. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="4"> <OAMDesign> <SLAIteratorProfile key="229376" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/229376"> <Common> <Name>fdgfd</Name> <Identity>229376</Identity> <State>Unpublished</State> <CreatedDate>2013-04-18T18:18:37.000+05:30</CreatedDate> <LastUpdatedDate>2013-04-18T18:18:37.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> </SLAIteratorProfile> <SLAIteratorProfile key="98304" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/98304" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/98304"> <Common> <Name>StdDef-Loss</Name> <Identity>98304</Identity> <State>Published</State> <Comments>Predefined CFM SLA loss measurment</Comments> <CreatedDate>2013-04-11T15:43:19.000+05:30</CreatedDate> <LastUpdatedDate>2013-04-11T15:43:19.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> </SLAIteratorProfile> <SLAIteratorProfile key="98311" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/98311" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/98311"> <Common> <Name>StdDef-SFL</Name> <Identity>98311</Identity> <State>Published</State> <Comments>Predefined CFM SLA Statistical-frame-loss measurment </Comments> <CreatedDate>2013-04-11T15:43:19.000+05:30</CreatedDate> <LastUpdatedDate>2013-04-11T15:43:19.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> </SLAIteratorProfile> <SLAIteratorProfile key="98318" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/98318" href="/api/space/nsas/cfm-profiles/service-management/service-definitions/98318"> <Common> <Name>StdDef-TwoWayDelay</Name> <Identity>98318</Identity> <State>Published</State> <Comments>Predefined CFM SLA two-way delay measurment</Comments> <CreatedDate>2013-04-11T15:43:19.000+05:30</CreatedDate> <LastUpdatedDate>2013-04-11T15:43:19.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> </SLAIteratorProfile> </OAMDesign> </ServiceResource> </Data>
Get a CFM Service By Service ID
This request is used to retrieve the details of a particular CFM service, based on the service ID.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.service+xml |
Produces | Collects the details of a specific CFM 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/cfm-profiles /service-management/services /564378" key="564378" uri="/api/space/nsas/ cfm-profiles /service-management/services /564378"> <Common> <Name>token</Name> <Identity>564378</Identity> <State>token</State> <Comments>token</Comments> <CreatedDate>2001-12-31T12:00:00</CreatedDate> <LastUpdatedDate>2001-12-31T12:00:00</LastUpdatedDate> <CreatedBy>CreatedBy</CreatedBy> </Common> <ServiceType>ServiceType</ServiceType> <Action>Action</Action> <CCSettings> <HoldInterval Editable="true">HoldInterval</HoldInterval> <MessageInterval Editable="true">MessageInterval </MessageInterval> <LossThreshold Editable="true">LossThreshold</LossThreshold> <InterfaceStatus Editable="true">InterfaceStatus </InterfaceStatus> <PortStatusTLV Editable="true">PortStatusTLV</PortStatusTLV> <ProtectionOuiTLV Editable="true">ProtectionOuiTLV </ProtectionOuiTLV> </CCSettings> <CommonMEPSettings> <MEPId>MEPId</MEPId> <Direction Editable="true">Direction</Direction> <Priority Editable="true">Priority</Priority> <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP> </CommonMEPSettings> <MEPSettings> <OAMServiceEnpointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131199" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131199" key="131199"> <DeviceName>DeviceName</DeviceName> <DeviceID>131199</DeviceID> </OAM> </DeviceInfo> <ServiceEndpoint> <InterfaceName>InterfaceName</InterfaceName> <MEPId>0</MEPId> <AutoPickMEPId>true</AutoPickMEPId> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131198" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131198" key="131198"> <DeviceName>DeviceName</DeviceName> <DeviceID>131198</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile>ActionProfile</ActionProfile> <SLAProfileDetails> <SLAProfile>SLAProfile</SLAProfile> <DataTlvSize>0</DataTlvSize> <IterationCount>0</IterationCount> <Priority>0</Priority> <MeasurementType>MeasurementType</MeasurementType> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> </ServiceEndpoint> </OAMServiceEnpointGroup> </MEPSettings> <ServiceParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CFMConfigParameterSeviceType"> <DomainLevel>0</DomainLevel> </ServiceParameter> <Reference> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/164799" key="164799" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/164799" /> <ServiceDefinition> <ServiceDefinitionID href="/api/space/nsas/cfm-profiles/service-management/service-definitions/169899" key="169899" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/169899" /> </ServiceDefinition> </Reference> </Service> </ServiceResource> </Data>
Get All CFM Services
This request is used to retrieve all the configured CFM services.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management.services+xml |
Produces | Collects all the configured CFM services. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="2"> <Service href="/api/space/nsas/cfm-profiles/service-management/services/212343" uri="/api/space/nsas/cfm-profiles/service-management/services/212343" key="212343"> <Common> <Name>sample1</Name> <Identity>212343</Identity> <State></State> <Comments>test</Comments> <CreatedDate>2001-12-31T12:00:00</CreatedDate> <LastUpdatedDate>2001-12-31T12:00:00</LastUpdatedDate> <CreatedBy></CreatedBy> </Common> <ServiceType>CFM</ServiceType> <Action>Action</Action> <Reference> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/164898" key="164898" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/164898" /> <ServiceDefinition> <ServiceDefinitionID href="/api/space/nsas/cfm-profiles/service-management/service-definitions/174899" key="174899" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/174899" /> </ServiceDefinition> </Reference> </Service> <Service href="/api/space/nsas/cfm-profiles /service-management/services/212344" key="212344" uri="/api/space/nsas/ cfm-profiles /service-management/services/212344"> <Common> <Name>sample2</Name> <Identity>212344</Identity> <State></State> <Comments>test</Comments> <CreatedDate>2001-12-31T12:00:00</CreatedDate> <LastUpdatedDate>2001-12-31T12:00:00</LastUpdatedDate> <CreatedBy></CreatedBy> </Common> <ServiceType>ServiceType</ServiceType> <Action>Action</Action> <Reference> <ServiceOrder href="/api/space/nsas/cfm-profiles/service-management/service-orders/164899" key="164899" uri="/api/space/nsas/cfm-profiles/service-management/service-orders/164899" /> <ServiceDefinition> <ServiceDefinitionID href="/api/space/nsas/cfm-profiles/service-management/service-definitions/165899" key="165899" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/165899" /> </ServiceDefinition> </Reference> </Service> </ServiceResource> </Data>
Adds Local Devices to a CFM Profile
This request is used to add local devices to a CFM profile.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Adds local devices to CFM profiles. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" key="131313"> <DeviceName>jaipur</DeviceName> <DeviceID>131313</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" key="131422"> <DeviceName>junos-space1</DeviceName> <DeviceID>131422</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/2</InterfaceName> <MEPId>50</MEPId> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>2818205</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2818348</Value> </Identity> <Job> <ID>597830</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Adds Remote Devices to a CFM Profile
This request is used to add remote devices to a CFM profile.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Adds remote devices to CFM profiles. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" key="131313"> <DeviceName>jaipur</DeviceName> <DeviceID>131313</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" key="131422"> <DeviceName>junos-space1</DeviceName> <DeviceID>131422</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" key="131422"> <DeviceName>junos-space1</DeviceName> <DeviceID>131422</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" key="131313"> <DeviceName>jaipur</DeviceName> <DeviceID>131313</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile>ActionProfile</ActionProfile> <SLAProfileDetails> <SLAProfile>SLAProfile</SLAProfile> <DataTlvSize>0</DataTlvSize> <IterationCount>0</IterationCount> <Priority>0</Priority> <MeasurementType>MeasurementType</MeasurementType> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>2818205</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2818348</Value> </Identity> <Job> <ID>597830</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Deletes Local Devices from a CFM Profile
This request is used to delete local devices from a CFM profile.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deletes local devices from CFM profiles. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" key="131313"> <DeviceName>jaipur</DeviceName> <DeviceID>131313</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/2</InterfaceName> <MEPId>53</MEPId> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" key="131422"> <DeviceName>junos-space1</DeviceName> <DeviceID>131422</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>2818205</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2818348</Value> </Identity> <Job> <ID>597830</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Deletes Remote Devices from a CFM Profile
This request is used to delete remote devices from a CFM profile.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deletes remote devices from CFM profiles. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" key="131313"> <DeviceName>jaipur</DeviceName> <DeviceID>131313</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" key="131422"> <DeviceName>junos-space1</DeviceName> <DeviceID>131422</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131422" key="131422"> <DeviceName>junos-space1</DeviceName> <DeviceID>131422</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <RemoteDevice> <DeviceInfo> <OAM href="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" uri="/api/space/nsas/prestage-oam-device/manage-devices/devices/131313" key="131313"> <DeviceName>jaipur</DeviceName> <DeviceID>131313</DeviceID> </OAM> </DeviceInfo> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> </ServiceOrder> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Output
Sample XML Output
<Data> <Status> <Identity> <Type>Service</Type> <Value>2818205</Value> </Identity> <Identity> <Type>ServiceOrder</Type> <Value>2818348</Value> </Identity> <Job> <ID>597830</ID> <Status>INPROGRESS</Status> </Job> <Code>200</Code> <Message> The Service Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID. </Message> </Status> </Data>
Decommission a CFM Service
This request is used to decommission a previously created CFM service.
URI | api/space/cfm-profiles/service-management/ |
HTTP Method | DELETE |
Content-Type | application/vnd.net.juniper.space.service-management. |
Produces | Decommissions a previously created CFM service. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identity> <Type>Service</Type> <Value>994691</Value> </Identity> <CustomAction xsi:type="ServiceCustomActionType"> <Action>DecommissionNow</Action> <ScheduledDateTime></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>1048665</Value> </Identity> <Code>200</Code> <Message>Service Decommission was Successfully triggered. Please check the status using the JOB ID.</Message> </Status> </Data>
Run a Functional Audit of a CFM Service
This request is run a functional audit of a CFM service.
URI | api/space/cfm-profiles/service-management/ |
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. |
Produces | Performs a functional audit of a CFM 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>
Run a Configuration Audit of a CFM Service
This request is run a configuration audit of a CFM service.
URI | api/space/cfm-profiles/service-management/ |
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- |
Produces | Performs a configuration audit of a CFM 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="ConfigAuditCustomActionType"> <Action>AuditNow</Action> <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime> </CustomAction> </Data>
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>Service</Type> <Value>262378</Value> </Identity> <Job> <ID>1998913</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>
View the Configuration Audit Results of a CFM Service (Version 1)
This request is display the configuration audit results of a CFM service in version 1 format.
URI | api/space/cfm-profiles/service-management |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Displays the configuration audit results of a CFM service. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <AuditResults> <ConfigurationAuditResult> <ConfigDeviceEnd> <DeviceName>embassy</DeviceName> <DeviceStatus>Up</DeviceStatus> <Details>Successfully Config Audited </Details> </ConfigDeviceEnd> <ConfigDeviceEnd> <DeviceName>exora</DeviceName> <DeviceStatus>Up</DeviceStatus> <Details>Successfully Config Audited </Details> </ConfigDeviceEnd> </ConfigurationAuditResult> </AuditResults> </Data>
View the Configuration Audit Results of a CFM Service (Version 2)
This request is display the configuration audit results of a CFM service in version 2 format.
URI | api/space/cfm-profiles/service-management |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Displays the configuration audit results of a CFM service. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <AuditResults> <ConfigurationAuditResult> <ConfigurationAuditStatus>Down</ConfigurationAuditStatus> <ConfigurationAuditTimestamp>2016-02-05 17:32:03.0</ConfigurationAuditTimestamp> <ConfigDeviceEnd> <DeviceName>embassy</DeviceName> <DeviceStatus>Up</DeviceStatus> <Details>Successfully Config Audited </Details> </ConfigDeviceEnd> <ConfigDeviceEnd> <DeviceName>exora</DeviceName> <DeviceStatus>Up</DeviceStatus> <Details>Successfully Config Audited </Details> </ConfigDeviceEnd> </ConfigurationAuditResult> </AuditResults> </Data>
View the Functional Audit Results of a CFM Service
This request is display the functional audit results of a CFM service.
URI | api/space/cfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Displays the functional audit results of a CFM 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>testttttt</Name> <Identity>1185</Identity> <State>Deployed</State> </Common> <ServiceType>CFM</ServiceType> <OperationState>Down</OperationState> <ServiceDefinitionName>StdDef-CFMPort</ServiceDefinitionName> <NoOfUNIs>2</NoOfUNIs> <UpUNIs>0</UpUNIs> <DownUNIs>2</DownUNIs> <DeviceEnd> <DeviceName>ge-0/0/7 kochin</DeviceName> <Topology>N/A</Topology> <OperationState>Down</OperationState> <RemoteEnd> <ControlPlaneParams> <ControlPanelCommand> <Command>get-cfm-mep-database</Command> <RemoteEndpoint>ge-0/1/2 exora</RemoteEndpoint> <Result>Status: probably configuration missing on device </Result> </ControlPanelCommand> </ControlPlaneParams> </RemoteEnd> </DeviceEnd> <DeviceEnd> <DeviceName>ge-0/1/2 exora</DeviceName> <Topology>N/A</Topology> <OperationState>Down</OperationState> <RemoteEnd> <ControlPlaneParams> <ControlPanelCommand> <Command>get-cfm-mep-database</Command> <RemoteEndpoint>ge-0/0/7 kochin</RemoteEndpoint> <Result>Status: probably configuration missing on device </Result> </ControlPanelCommand> </ControlPlaneParams> </RemoteEnd> </DeviceEnd> <TroubleshootResult href="/api/space/nsas/cfm-profiles/service-management/services/view-troubleshoot-results/1185" uri="/api/space/nsas/cfm-profiles/service-management/services/view-troubleshoot-results/1185" /> </FunctionalAuditResult> </AuditResults> </Data>
View the Service Configuration Change Results of a CFM Service
This request is display the service configuration changes of a CFM service.
URI | api/space/cfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Displays the service configuration change results of a CFM 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>jaipur</DeviceName> <Configuration> <configuration> <protocols> <oam> <ethernet> <connectivity-fault-management> <maintenance-domain> <name>fdsfdsfs</name> <maintenance-association> <name>tesdfdsfdsfsg</name> <continuity-check> <hold-interval>1</hold-interval> <interval>1s</interval> <loss-threshold>3</loss-threshold> </continuity-check> <mep> <name>1</name> <direction>down</direction> <interface> <interface-name>ge-0/1/2</interface-name> </interface> <lowest-priority-defect>all-defects</lowest-priority-defect> </mep> </maintenance-association> <level>1</level> </maintenance-domain> </connectivity-fault-management> </ethernet> </oam> </protocols> </configuration></Configuration> <TempConfiguration> <configuration> <protocols> <oam> <ethernet> <connectivity-fault-management> <maintenance-domain> <name>fdsfdsfs</name> <maintenance-association> <name>tesdfdsfdsfsg</name> <continuity-check> <hold-interval>1</hold-interval> <interval>1s</interval> <loss-threshold>3</loss-threshold> </continuity-check> <mep> <name>1</name> <direction>down</direction> <interface> <interface-name>ge-0/1/2</interface-name> </interface> <lowest-priority-defect>all-defects</lowest-priority-defect> </mep> </maintenance-association> <level>1</level> </maintenance-domain> </connectivity-fault-management> </ethernet> </oam> </protocols> </configuration></TempConfiguration> </ServiceConfigDeviceEnd> <ServiceConfigDeviceEnd> <DeviceName>embassy</DeviceName> <Configuration> <configuration> <protocols> <oam> <ethernet> <connectivity-fault-management> <maintenance-domain> <name>fdsfdsfs</name> <maintenance-association> <name>tesdfdsfdsfsg</name> <continuity-check> <hold-interval>1</hold-interval> <interval>1s</interval> <loss-threshold>3</loss-threshold> </continuity-check> <mep> <name>3</name> <direction>down</direction> <interface> <interface-name>ge-1/0/1</interface-name> </interface> <lowest-priority-defect>all-defects</lowest-priority-defect> </mep> </maintenance-association> <level>1</level> </maintenance-domain> </connectivity-fault-management> </ethernet> </oam> </protocols> </configuration></Configuration> <TempConfiguration> <configuration> <protocols> <oam> <ethernet> <connectivity-fault-management> <maintenance-domain> <name>fdsfdsfs</name> <maintenance-association> <name>tesdfdsfdsfsg</name> <continuity-check> <hold-interval>1</hold-interval> <interval>1s</interval> <loss-threshold>3</loss-threshold> </continuity-check> <mep> <name>3</name> <direction>down</direction> <interface> <interface-name>ge-1/0/1</interface-name> </interface> <lowest-priority-defect>all-defects</lowest-priority-defect> </mep> </maintenance-association> <level>1</level> </maintenance-domain> </connectivity-fault-management> </ethernet> </oam> </protocols> </configuration></TempConfiguration> </ServiceConfigDeviceEnd> </ServiceConfigurationChangeResult> </AuditResults> </Data>
View the Monitoring and Troubleshooting Results of a CFM Service
This request is display the results of troubleshooting and monitoring operations of a CFM service.
URI | api/space/cfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Displays the troubleshooting results of a CFM 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>kochin</DeviceName> <CommandResult> <Protocol> <UNI> <CommandDetails> <Command>show interfaces ge-0/0/7 terse</Command> <Results> <Row> <Parameter> <Name>Interface</Name> <Value>ge-0/0/7</Value> </Parameter> <Parameter> <Name>Link</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>ge-0/0/7.1 </Value> </Parameter> <Parameter> <Name>Link</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>ge-0/0/7.32767</Value> </Parameter> <Parameter> <Name>Link</Name> <Value>up</Value> </Parameter> <Parameter> <Name>CommandStatus</Name> <Value>true</Value> </Parameter> <Parameter> <Name>Admin</Name> <Value>up</Value> </Parameter> </Row> </Results> </CommandDetails> </UNI> <OAM> <CommandDetails> <Command>show oam ethernet connectivity-fault-management interfaces ge-0/0/7</Command> <Results> <Row> <Parameter> <Name>Interface</Name> <Value>ge-0/0/7 </Value> </Parameter> <Parameter> <Name>Status</Name> <Value>Active</Value> </Parameter> <Parameter> <Name>Link</Name> <Value>Up</Value> </Parameter> <Parameter> <Name>Neighbours</Name> <Value>0</Value> </Parameter> <Parameter> <Name>Level</Name> <Value>7</Value> </Parameter> <Parameter> <Name>MEP Id</Name> <Value>1</Value> </Parameter> <Parameter> <Name>CommandStatus</Name> <Value>false</Value> </Parameter> </Row> </Results> </CommandDetails> </OAM> </Protocol> </CommandResult> </DeviceEnd> <DeviceEnd> <DeviceName>exora</DeviceName> <CommandResult> <Protocol> <UNI> <CommandDetails> <Command>show interfaces ge-0/0/7 terse</Command> <Results> <Row> <Parameter> <Name>Interface</Name> <Value>ge-0/0/7</Value> </Parameter> <Parameter> <Name>Link</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>ge-0/0/7.1 </Value> </Parameter> <Parameter> <Name>Link</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>ge-0/0/7.32767</Value> </Parameter> <Parameter> <Name>Link</Name> <Value>up</Value> </Parameter> <Parameter> <Name>CommandStatus</Name> <Value>true</Value> </Parameter> <Parameter> <Name>Admin</Name> <Value>up</Value> </Parameter> </Row> </Results> </CommandDetails> </UNI> <OAM> <CommandDetails> <Command>show oam ethernet connectivity-fault-management interfaces ge-0/0/7</Command> <Results> <Row> <Parameter> <Name>Interface</Name> <Value>ge-0/0/7 </Value> </Parameter> <Parameter> <Name>Status</Name> <Value>Active</Value> </Parameter> <Parameter> <Name>Link</Name> <Value>Up</Value> </Parameter> <Parameter> <Name>Neighbours</Name> <Value>0</Value> </Parameter> <Parameter> <Name>Level</Name> <Value>7</Value> </Parameter> <Parameter> <Name>MEP Id</Name> <Value>1</Value> </Parameter> <Parameter> <Name>CommandStatus</Name> <Value>false</Value> </Parameter> </Row> </Results> </CommandDetails> </OAM> </Protocol> </CommandResult> </DeviceEnd> </TroubleshootResult> </AuditResults> </Data>
Get a CFM Profile By Service Definition ID
This request is used to retrieve the details of a particular CFM profile, based on the service definition ID.
URI | /api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Collects the details of a specific CFM profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <OAMProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/1410158" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/1410158" key="1410158"> <Common> <Name>REM-MEP</Name> <Identity>1410158</Identity> <State>Unpublished</State> <CreatedDate>2013-05-22T14:51:54.000+05:30</CreatedDate> <LastUpdatedDate>2013-05-22T14:51:54.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <CFMDomain> <DomainName>REM</DomainName> <DomainLevel>1</DomainLevel> <RemoteMEP>true</RemoteMEP> <DefinitionType>MEP</DefinitionType> </CFMDomain> <CCSettings> <HoldInterval Editable="false">1</HoldInterval> <MessageInterval Editable="false">1s</MessageInterval> <LossThreshold Editable="false">3</LossThreshold> <InterfaceStatus Editable="false">false</InterfaceStatus> <PortStatusTLV Editable="false">false</PortStatusTLV> <ProtectionOuiTLV Editable="false">false</ProtectionOuiTLV> </CCSettings> <MEPSettings> <MEPId>Select manually</MEPId> <Direction Editable="false">Down</Direction> <Priority Editable="false">0</Priority> <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP> </MEPSettings> <RemoteMEPSettings> <IteratorProfileSettings> <ActionProfile href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/1081344" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/1081344" key="1081344" /> <SLAProfileDetails> <SLAProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/196608" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/196608" key="196608" /> <DataTlvSize>6</DataTlvSize> <IterationCount>6</IterationCount> <Priority>6</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/1048642" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/1048642" key="1048642" /> <DataTlvSize>3</DataTlvSize> <IterationCount>3</IterationCount> <Priority>3</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/1048605" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/1048605" key="1048605" /> <DataTlvSize>1</DataTlvSize> <IterationCount>1</IterationCount> <Priority>1</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteMEPSettings> </OAMProfile> </OAMDesign> </ServiceResource> </Data>
Get All CFM Profiles
This request is used to retrieve all the configured CFM profiles.
URI | /api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured CFM profiles. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="3"> <OAMDesign> <OAMProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/1" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/1" key="1"> <Common> <Name>StdDef-CFMPort</Name> <Identity>1</Identity> <State>Published</State> <Comments>Predefined definition for CFM session on physical interfaces</Comments> <CreatedDate>2013-05-21T11:03:39.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T11:03:39.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>CFM</Type> <CFMDomain> <DomainName>Default-Domain</DomainName> <DomainLevel>7</DomainLevel> <RemoteMEP>false</RemoteMEP> <DefinitionType>MEP</DefinitionType> </CFMDomain> </OAMProfile> <OAMProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/17" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/17" key="17"> <Common> <Name>StdDef-CFMService</Name> <Identity>17</Identity> <State>Published</State> <Comments>Predefined definition for CFM session on Ethernet services</Comments> <CreatedDate>2013-05-21T11:03:39.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T11:03:39.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>CFM</Type> <CFMDomain> <DomainName>Default-Domain</DomainName> <DomainLevel>1</DomainLevel> <RemoteMEP>false</RemoteMEP> <DefinitionType>MEP</DefinitionType> </CFMDomain> </OAMProfile> <OAMProfile href="/api/space/nsas/cfm-profiles/service-management/service-definitions/197289" uri="/api/space/nsas/cfm-profiles/service-management/service-definitions/197289" key="197289"> <Common> <Name>Test-REM</Name> <Identity>197289</Identity> <State>Published</State> <CreatedDate>2013-05-21T12:49:07.000Z</CreatedDate> <LastUpdatedDate>2013-05-21T12:49:07.000Z</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>CFM</Type> <CFMDomain> <DomainName>Test-REM</DomainName> <DomainLevel>1</DomainLevel> <RemoteMEP>false</RemoteMEP> <DefinitionType>MEP</DefinitionType> </CFMDomain> </OAMProfile> </OAMDesign> </ServiceResource> </Data>
Delete an OAM Service Order
This request is used to delete an OAM service order.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Deletes an OAM service order. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>CFMServiceOrder</Type> <Value>6553600</Value> </Identity> <Code>200</Code> <Message>Service order Deleted Successfully.</Message> </Status> </Data>
Create a CFM Profile
This request is used to create a CFM profile.
URI | /api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Produces | Creates a CFM profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <OAMProfile> <Common> <Name>Test-CFM-API-Create-3</Name> </Common> <CFMDomain> <DomainName>Test-CFM-API-Create</DomainName> <DomainLevel>1</DomainLevel> <RemoteMEP>true</RemoteMEP> <DefinitionType>MEP</DefinitionType> </CFMDomain> <CCSettings> <HoldInterval Editable="false">1</HoldInterval> <MessageInterval Editable="false">1s</MessageInterval> <LossThreshold Editable="false">3</LossThreshold> <InterfaceStatus Editable="false">false</InterfaceStatus> <PortStatusTLV Editable="false">false</PortStatusTLV> <ProtectionOuiTLV Editable="false">false </ProtectionOuiTLV> </CCSettings> <MEPSettings> <MEPId>Select manually</MEPId> <Direction Editable="false">Down</Direction> <Priority Editable="false">0</Priority> <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP> </MEPSettings> <RemoteMEPSettings> <IteratorProfileSettings> <ActionProfile key="196608" /> <SLAProfileDetails> <SLAProfile key="98318" /> <DataTlvSize>3</DataTlvSize> <IterationCount>3</IterationCount> <Priority>3</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile key="98304" /> <DataTlvSize>6</DataTlvSize> <IterationCount>6</IterationCount> <Priority>6</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile key="229376" /> <DataTlvSize>1</DataTlvSize> <IterationCount>1</IterationCount> <Priority>1</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteMEPSettings> </OAMProfile> </OAMDesign> </ServiceResource> </Data>
Create a CFM Service Order
This request is used to create a CFM service order.
URI | /api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Produces | Creates a CFM service order. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <ServiceOrder> <Common> <Name>API-SO-1</Name> </Common> <ServiceType>CFM</ServiceType> <Action>Provisioning</Action> <CCSettings> <HoldInterval>1</HoldInterval> <MessageInterval>1s</MessageInterval> <LossThreshold>3</LossThreshold> <InterfaceStatus>false</InterfaceStatus> <PortStatusTLV>false</PortStatusTLV> <ProtectionOuiTLV>false</ProtectionOuiTLV> </CCSettings> <CommonMEPSettings> <Direction>down</Direction> <Priority>0</Priority> <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP> </CommonMEPSettings> <ServiceEndPointGroup> <DeviceInfo> <OAM> <DeviceName>kochin</DeviceName> <DeviceID>164009</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/1/0</InterfaceName> <MEPId>1</MEPId> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>jaipur</DeviceName> <DeviceID>163982</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="196667" /> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>165309</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="196667" /> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>165528</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="196667" /> </IteratorProfileSettings> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>165528</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/1</InterfaceName> <MEPId>2</MEPId> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>kochin</DeviceName> <DeviceID>164009</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="196667" /> <SLAProfileDetails> <SLAProfile key="98304" /> <DataTlvSize>1</DataTlvSize> <IterationCount>1</IterationCount> <Priority>1</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM> <DeviceName>junos-m10-1-space</DeviceName> <DeviceID>165309</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/1</InterfaceName> <MEPId>3</MEPId> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>jaipur</DeviceName> <DeviceID>163982</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="65536" /> <SLAProfileDetails> <SLAProfile key="98304" /> <DataTlvSize>3</DataTlvSize> <IterationCount>3</IterationCount> <Priority>3</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>165528</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="65536" /> <SLAProfileDetails> <SLAProfile key="98304" /> <DataTlvSize>6</DataTlvSize> <IterationCount>6</IterationCount> <Priority>6</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>kochin</DeviceName> <DeviceID>164009</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="65536" /> <SLAProfileDetails> <SLAProfile key="98304" /> <DataTlvSize>0</DataTlvSize> <IterationCount>0</IterationCount> <Priority>0</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <ServiceEndPointGroup> <DeviceInfo> <OAM> <DeviceName>jaipur</DeviceName> <DeviceID>163982</DeviceID> </OAM> </DeviceInfo> <ServiceEndPoint> <InterfaceName>ge-0/0/0</InterfaceName> <MEPId>6</MEPId> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>junos-m10-2-space</DeviceName> <DeviceID>165528</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="196667" /> </IteratorProfileSettings> </RemoteDevice> <RemoteDevice> <DeviceInfo> <OAM> <DeviceName>kochin</DeviceName> <DeviceID>164009</DeviceID> </OAM> </DeviceInfo> <IteratorProfileSettings> <ActionProfile key="196667" /> </IteratorProfileSettings> </RemoteDevice> </ServiceEndPoint> </ServiceEndPointGroup> <Reference> <ServiceDefinition> <ServiceDefinitionID key="131072"/> </ServiceDefinition> </Reference> </ServiceOrder> </ServiceResource> </Data>
Publish and Unpublish a CFM Profile
This request is used to publish or unpublish a CFM profile.
URI | api/space/nsas/cfm-profiles/service-management |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service- Action types are Publish and Unpublish. |
Produces | Publishes or unpublishes a CFM profile. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type=" OAMDesignCustomActionType"> <Action>UnPublish</Action> </CustomAction> </Data>
Create and Publish a CFM Profile
This request is used to create and publish a CFM profile.
URI | /api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Creates and publishes a CFM profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <OAMProfile> <Common> <Name>Test-CFM-API-Create-3</Name> </Common> <CFMDomain> <DomainName>Test-CFM-API-Create</DomainName> <DomainLevel>1</DomainLevel> <RemoteMEP>true</RemoteMEP> <DefinitionType>MEP</DefinitionType> </CFMDomain> <CCSettings> <HoldInterval Editable="false">1</HoldInterval> <MessageInterval Editable="false">1s</MessageInterval> <LossThreshold Editable="false">3</LossThreshold> <InterfaceStatus Editable="false">false</InterfaceStatus> <PortStatusTLV Editable="false">false</PortStatusTLV> <ProtectionOuiTLV Editable="false">false </ProtectionOuiTLV> </CCSettings> <MEPSettings> <MEPId>Select manually</MEPId> <Direction Editable="false">Down</Direction> <Priority Editable="false">0</Priority> <AcceptCCMesgFromRemoteMEP>true</AcceptCCMesgFromRemoteMEP> </MEPSettings> <RemoteMEPSettings> <IteratorProfileSettings> <ActionProfile key="196608" /> <SLAProfileDetails> <SLAProfile key="98318" /> <DataTlvSize>3</DataTlvSize> <IterationCount>3</IterationCount> <Priority>3</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile key="98304" /> <DataTlvSize>6</DataTlvSize> <IterationCount>6</IterationCount> <Priority>6</Priority> </SLAProfileDetails> <SLAProfileDetails> <SLAProfile key="229376" /> <DataTlvSize>1</DataTlvSize> <IterationCount>1</IterationCount> <Priority>1</Priority> </SLAProfileDetails> </IteratorProfileSettings> </RemoteMEPSettings> </OAMProfile> </OAMDesign> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type=" OAMDesignCustomActionType"> <Action>UnPublish</Action> </CustomAction> </Data>
Delete a CFM Profile
This request is used to delete a previously configured CFM profile.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service- |
Produces | Deletes a CFM profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>CFM Profile</Type> <Value>131093</Value> </Identity> <Code>200</Code> <Message>Profile Deleted Successfully</Message> </Status> </Data>
Deploy, Validate, and Partially-Delete a CFM Service Order
This request is used to deploy, validate, or partially delete a previously created CFM service order.
URI | api/space/nsas/cfm-profiles/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management.service-order+xml |
Consumes | application/vnd.net.juniper.space.service-management. The options must be specified in the Action Element inside OperationSpecificData. The various options are as follows:
|
Produces | Deploys, validates or, partially-deletes a previously created CFM service order. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>DeployNow</Action> </CustomAction> </Data>
Get an LFM Profile By Service Definition ID
This request is used to retrieve the details of a particular LFM profile, based on the service definition ID.
URI | /api/space/nsas/lfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific LFM profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <ActionProfile key="65565" uri="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65565" href="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65565"> <Common> <Name>LFM-AP-API</Name> <Identity>65565</Identity> <State>Unpublished</State> <Comments>test</Comments> <CreatedDate>2013-07-17T18:06:14.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-17T18:06:14.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <LFMEvent> <LinkAdjacencyLoss>true</LinkAdjacencyLoss> <ProtocolDown>false</ProtocolDown> </LFMEvent> <LinkEventRate> <FrameError>1</FrameError> <FramePeriod>2</FramePeriod> <FramePeriodSummary>3</FramePeriodSummary> <SymbolPeriod>4</SymbolPeriod> </LinkEventRate> <LFMAction> <LinkDown>false</LinkDown> <SendCriticalEvent>true</SendCriticalEvent> <Syslog>false</Syslog> </LFMAction> </ActionProfile> </OAMDesign> </ServiceResource> </Data>
Get All LFM Profiles
This request is used to retrieve all the configured LFM profiles.
URI | /api/space/nsas/lfm-profiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured LFM profiles. |
Output
Sample XML Output
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="4"> <OAMDesign> <ActionProfile key="65565" uri="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65565" href="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65565"> <Common> <Name>LFM-AP-API</Name> <Identity>65565</Identity> <State>Unpublished</State> <Comments>test</Comments> <CreatedDate>2013-07-17T18:06:14.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-17T18:06:14.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFMACTIONPROFILE</Type> </ActionProfile> <ActionProfile key="65574" uri="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65574" href="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65574"> <Common> <Name>LFM-AP-API01</Name> <Identity>65574</Identity> <State>Unpublished</State> <Comments>test</Comments> <CreatedDate>2013-07-17T18:06:42.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-17T18:06:42.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFMACTIONPROFILE</Type> </ActionProfile> <ActionProfile key="65592" uri="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65592" href="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65592"> <Common> <Name>LFM-AP-API09</Name> <Identity>65592</Identity> <State>Unpublished</State> <Comments>test</Comments> <CreatedDate>2013-07-17T18:19:17.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-17T18:19:17.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFMACTIONPROFILE</Type> </ActionProfile> <ActionProfile key="65619" uri="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65619" href="/api/space/nsas/lfm-actionprofiles/service-management/service-definitions/65619"> <Common> <Name>LFM-Test</Name> <Identity>65619</Identity> <State>Unpublished</State> <Comments>test</Comments> <CreatedDate>2013-07-17T18:30:35.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-17T18:30:35.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFMACTIONPROFILE</Type> </ActionProfile> </OAMDesign> </ServiceResource> </Data>
Create an LFM Profile
This request is used to create an LFM profile.
URI | /api/space/nsas/lfm-profiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Produces | Creates an LFM profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <ActionProfile> <Common> <Name>LFM-AP-API</Name> <Comments>test</Comments> </Common> <LFMEvent> <LinkAdjacencyLoss>true</LinkAdjacencyLoss> <ProtocolDown>false</ProtocolDown> </LFMEvent> <LinkEventRate> <FrameError>1</FrameError> <FramePeriod>2</FramePeriod> <FramePeriodSummary>3</FramePeriodSummary> <SymbolPeriod>4</SymbolPeriod> </LinkEventRate> <LFMAction> <LinkDown>false</LinkDown> <SendCriticalEvent>true</SendCriticalEvent> <Syslog>false</Syslog> </LFMAction> </ActionProfile> </OAMDesign> </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OAMDesignCustomActionType"> <Action>Publish</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>LFM Action Profile</Type> <Value>163840</Value> </Identity> <Code>200</Code> <Message>LFM Profile Created and Published Successfully</Message> </Status> </Data>
Publish and Unpublish an LFM Profile
This request is used to publish or unpublish an LFM profile.
URI | api/space/nsas/lfm-profiles/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. Action types are Publish and Unpublish. |
Produces | Publishes or unpublishes an LFM profile. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OAMDesignCustomActionType"> <Action>UnPublish</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>LFM Action Profile</Type> <Value>65543</Value> </Identity> <Code>200</Code> <Message>Profile UnPublished Successfully</Message> </Status> </Data>
Delete an LFM Profile
This request is used to delete a previously configured LFM profile.
URI | api/space/nsas/lfm-profiles/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deletes an LFM profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>LFM Action Profile</Type> <Value>163840</Value> </Identity> <Code>200</Code> <Message>Profile Deleted Successfully</Message> </Status> </Data>
Get an LFM Action Profile By Service Definition ID
This request is used to retrieve the details of a particular LFM action profile, based on the service definition ID.
URI | /api/space/nsas/lfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects the details of a specific LFM action profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <OAMProfile> <Common> <Name>cfhfc</Name> <Identity>491520</Identity> <State>Unpublished</State> <CreatedDate>2013-07-30T19:40:39.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-30T19:40:39.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <LinkDiscovery>active</LinkDiscovery> <PDU /> <RemoteLoopBack>false</RemoteLoopBack> <EventThreshold> <FrameError>0</FrameError> <FramePeriod>0</FramePeriod> <FramePeriodSummary>0</FramePeriodSummary> <SymbolPeriod>0</SymbolPeriod> </EventThreshold> <Negotiation> <AllowRemoteLoopBack>true</AllowRemoteLoopBack> <NoAllowLinkEvents>true</NoAllowLinkEvents> </Negotiation> </OAMProfile> </OAMDesign> </ServiceResource> </Data>
Get All LFM Action Profiles
This request is used to retrieve all the configured LFM action profiles.
URI | /api/space/nsas/lfm-actionprofiles/service-management/ |
HTTP Method | GET |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Collects all the configured LFM action profiles. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource size="7"> <OAMDesign> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/491520" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/491520" key="491520"> <Common> <Name>cfhfc</Name> <Identity>491520</Identity> <State>Unpublished</State> <CreatedDate>2013-07-30T19:40:39.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-30T19:40:39.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFM</Type> <LinkDiscovery>active</LinkDiscovery> <RemoteLoopBack>false</RemoteLoopBack> </OAMProfile> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/393216" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/393216" key="393216"> <Common> <Name>cxdfxdf</Name> <Identity>393216</Identity> <State>Published</State> <Comments>fzdfzxdf</Comments> <CreatedDate>2013-07-26T20:19:43.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-26T20:19:43.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFM</Type> <LinkDiscovery>active</LinkDiscovery> <PDU> <PDUInterval>121</PDUInterval> <PDUThreshold>10</PDUThreshold> </PDU> <RemoteLoopBack>true</RemoteLoopBack> <ActionProfile href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/98304" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/98304" key="98304" /> </OAMProfile> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/491556" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/491556" key="491556"> <Common> <Name>dyrdy</Name> <Identity>491556</Identity> <State>Unpublished</State> <CreatedDate>2013-07-30T20:45:10.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-30T20:45:10.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFM</Type> <LinkDiscovery>active</LinkDiscovery> <PDU> <PDUInterval>100</PDUInterval> </PDU> <RemoteLoopBack>false</RemoteLoopBack> </OAMProfile> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/491526" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/491526" key="491526"> <Common> <Name>LFM_Profile_API</Name> <Identity>491526</Identity> <State>Unpublished</State> <CreatedDate>2013-07-30T20:28:30.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-30T20:28:30.000+05:30</LastUpdatedDate> </Common> <Type>LFM</Type> <LinkDiscovery>Active</LinkDiscovery> <RemoteLoopBack>false</RemoteLoopBack> </OAMProfile> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/65536" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/65536" key="65536"> <Common> <Name>StdDef-LFM</Name> <Identity>65536</Identity> <State>Published</State> <Comments>Predefined LFM profile</Comments> <CreatedDate>2013-07-22T17:50:01.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-22T17:50:01.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFM</Type> <LinkDiscovery>Active</LinkDiscovery> <PDU> <PDUInterval>100</PDUInterval> <PDUThreshold>10</PDUThreshold> </PDU> <RemoteLoopBack>true</RemoteLoopBack> </OAMProfile> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/393224" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/393224" key="393224"> <Common> <Name>tret4e34</Name> <Identity>393224</Identity> <State>Published</State> <Comments>gregrd</Comments> <CreatedDate>2013-07-26T20:21:19.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-26T20:21:19.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFM</Type> <LinkDiscovery>active</LinkDiscovery> <PDU> <PDUInterval>100</PDUInterval> <PDUThreshold>3</PDUThreshold> </PDU> <RemoteLoopBack>true</RemoteLoopBack> <ActionProfile href="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/98304" uri="/api/space/nsas/cfm-actionprofiles/service-management/service-definitions/98304" key="98304" /> </OAMProfile> <OAMProfile href="/api/space/nsas/lfm-profiles/service-management/service-definitions/491561" uri="/api/space/nsas/lfm-profiles/service-management/service-definitions/491561" key="491561"> <Common> <Name>zdyhtdjh</Name> <Identity>491561</Identity> <State>Unpublished</State> <CreatedDate>2013-07-30T20:45:24.000+05:30</CreatedDate> <LastUpdatedDate>2013-07-30T20:45:24.000+05:30</LastUpdatedDate> <CreatedBy>super</CreatedBy> </Common> <Type>LFM</Type> <LinkDiscovery>active</LinkDiscovery> <PDU> <PDUThreshold>3</PDUThreshold> </PDU> <RemoteLoopBack>false</RemoteLoopBack> </OAMProfile> </OAMDesign> </ServiceResource> </Data>
Create an LFM Action Profile
This request is used to create an LFM action profile.
URI | /api/space/nsas/lfm-actionprofiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Produces | Creates an LFM action profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <OAMProfile> <Common> <Name>Test-1</Name> </Common> <LinkDiscovery>Active</LinkDiscovery> <PDU /> <RemoteLoopBack>false</RemoteLoopBack> <Negotiation> <AllowRemoteLoopBack>true</AllowRemoteLoopBack> <NoAllowLinkEvents>true</NoAllowLinkEvents> </Negotiation> </OAMProfile> </OAMDesign> </ServiceResource> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>LFM Profile</Type> <Value>196608</Value> </Identity> <Code>200</Code> <Message>LFM Profile Created Successfully</Message> </Status> </Data>
Publish and Unpublish an LFM Action Profile
This request is used to publish or unpublish an LFM action profile.
URI | api/space/nsas/lfm-actionprofiles/service-management/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. Action types are Publish and Unpublish. |
Produces | Publishes or unpublishes an LFM action profile. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OAMDesignCustomActionType"> <Action>UnPublish</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>LFM Profile</Type> <Value>65543</Value> </Identity> <Code>200</Code> <Message>Profile UnPublished Successfully</Message> </Status> </Data>
Delete an LFM Action Profile
This request is used to delete a previously configured LFM action profile.
URI | api/space/nsas/lfm-actionprofiles/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deletes an LFM action profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>LFM Profile</Type> <Value>196608</Value> </Identity> <Code>200</Code> <Message>Profile Deleted Successfully</Message> </Status> </Data>
Create a CFM Action Profile
This request is used to create a CFM action profile.
URI | /api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | POST |
Content Type | application/vnd.net.juniper.space.service-management. |
Produces | Creates a CFM action profile. |
Input (Default Action)
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <ActionProfile> <Common> <Name>DefaultActionAPI</Name> <Comments>Test</Comments> </Common> <DefaultAction>true</DefaultAction> <Action> <InterfaceDownDefaultAction>true</InterfaceDownDefaultAction> </Action> </ActionProfile> </OAMDesign> </ServiceResource> </Data>
Input (Config Event)
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <ServiceResource> <OAMDesign> <ActionProfile> <Common> <Name>ConfigEvent-API</Name> </Common> <ConfigEvent>true</ConfigEvent> <Event> <InterfaceStatusTlv>lower-layer-down</InterfaceStatusTlv> <PortStatusTlv>blocked</PortStatusTlv> <AdjacencyLoss>true</AdjacencyLoss> <RDI>true</RDI> <ConnProtTlv>using-protection-path</ConnProtTlv> </Event> <Action> <InterfaceDown>true</InterfaceDown> <ProbRemMacFlush>true</ProbRemMacFlush> </Action> </ActionProfile> </OAMDesign> </ServiceResource> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>CFM Action Profile</Type> <Value>163851</Value> </Identity> <Code>200</Code> <Message>CFM Profile Created and Published Successfully</Message> </Status> </Data>
Publish and Unpublish a CFM Action Profile
This request is used to publish or unpublish a CFM action profile.
URI | api/space/nsas/cfm-actionprofiles/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.service-management. |
Consumes | application/vnd.net.juniper.space.service-management. Action types are Publish and Unpublish. |
Produces | Publishes or unpublishes a CFM action profile. |
Input
Sample XML Input
<Data xmlns="services.schema.networkapi.jmp.juniper.net"> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceDefinitionCustomActionType"> <Action>UnPublish</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>CFM Action Profile</Type> <Value>163851</Value> </Identity> <Code>200</Code> <Message>Profile UnPublished Successfully</Message> </Status> </Data>
Delete a CFM Action Profile
This request is used to delete a previously configured CFM action profile.
URI | api/space/nsas/cfm-actionprofiles/service-management/ |
HTTP Method | DELETE |
Consumes | application/vnd.net.juniper.space.service-management. |
Produces | Deletes a CFM action profile. |
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Identity> <Type>CFM Action Profile</Type> <Value>163851</Value> </Identity> <Code>200</Code> <Message>Profile Deleted Successfully</Message> </Status> </Data>
Attach a CFM Action Profile
This request is used to attach a CFM action profile.
URI | /api/space/nsas/prestage-oam-device/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.manage-devices. |
Consumes | application/vnd.net.juniper.space.manage-devices. |
Produces | Attaches a CFM action profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Devices> <Device> <Common> <Name>embassy</Name> <Identity>229548</Identity> </Common> </Device> <Device> <Common> <Name>exora</Name> <Identity>229608</Identity> </Common> </Device> <Device> <Common> <Name>jaipur</Name> <Identity>229585</Identity> </Common> </Device> <ActionProfile> <Common> <Name>CFM-ActionProfile</Name> <Identity>163896</Identity> </Common> <Type>CFM</Type> </ActionProfile> </Devices> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Job> <ID>1540105</ID> <Status>INPROGESS</Status> </Job> <Code>200</Code> <Message>Attach profile process triggered successfully. Please Check the status using Job Id.</Message> </Status> </Data>
Attach an LFM Action Profile
This request is used to attach an LFM action profile.
URI | /api/space/nsas/prestage-oam-device/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.manage-devices. |
Consumes | application/vnd.net.juniper.space.manage-devices. |
Produces | Attaches an LFM action profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Devices> <Device> <Common> <Name>embassy</Name> <Identity>229548</Identity> </Common> </Device> <Device> <Common> <Name>exora</Name> <Identity>229608</Identity> </Common> </Device> <Device> <Common> <Name>jaipur</Name> <Identity>229585</Identity> </Common> </Device> <ActionProfile> <Common> <Name>LFM-ActionProfile</Name> <Identity>163896</Identity> </Common> <Type>LFM</Type> </ActionProfile> </Devices> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Job> <ID>1540105</ID> <Status>INPROGESS</Status> </Job> <Code>200</Code> <Message>Attach profile process triggered successfully. Please Check the status using Job Id.</Message> </Status> </Data>
Attach an SLA Iterator Profile
This request is used to attach an SLA iterator profile.
URI | /api/space/nsas/prestage-oam-device/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.manage-devices. |
Consumes | application/vnd.net.juniper.space.manage-devices. |
Produces | Attaches an SLA iterator profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Devices> <Device> <Common> <Name>embassy</Name> <Identity>229548</Identity> </Common> </Device> <Device> <Common> <Name>exora</Name> <Identity>229608</Identity> </Common> </Device> <Device> <Common> <Name>jaipur</Name> <Identity>229585</Identity> </Common> </Device> <SLAProfile> <Common> <Name>StdDef-SFL</Name> <Identity>98311</Identity> </Common> </SLAProfile> </Devices> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Job> <ID>1540105</ID> <Status>INPROGESS</Status> </Job> <Code>200</Code> <Message>Attach profile process triggered successfully. Please Check the status using Job Id.</Message> </Status> </Data>
Detach a CFM Action Profile
This request is used to detach a CFM action profile.
URI | /api/space/nsas/prestage-oam-device/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.manage-devices. |
Consumes | application/vnd.net.juniper.space.manage-devices. |
Produces | Detaches a CFM action profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Devices> <Device> <Common> <Name>embassy</Name> <Identity>229548</Identity> </Common> </Device> <Device> <Common> <Name>exora</Name> <Identity>229608</Identity> </Common> </Device> <Device> <Common> <Name>jaipur</Name> <Identity>229585</Identity> </Common> </Device> <ActionProfile> <Common> <Name>CFM-ActionProfile</Name> <Identity>163896</Identity> </Common> <Type>CFM</Type> </ActionProfile> </Devices> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Job> <ID>1540117</ID> <Status>INPROGESS</Status> </Job> <Code>200</Code> <Message>Detach profile process triggered successfully. Please Check the status using Job Id.</Message> </Status> </Data>
Detach an LFM Action Profile
This request is used to detach an LFM action profile.
URI | /api/space/nsas/prestage-oam-device/ |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.manage-devices. |
Consumes | application/vnd.net.juniper.space.manage-devices. |
Produces | Detaches an LFM action profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Devices> <Device> <Common> <Name>embassy</Name> <Identity>229548</Identity> </Common> </Device> <Device> <Common> <Name>exora</Name> <Identity>229608</Identity> </Common> </Device> <Device> <Common> <Name>jaipur</Name> <Identity>229585</Identity> </Common> </Device> <ActionProfile> <Common> <Name>LFM-ActionProfile</Name> <Identity>163896</Identity> </Common> <Type>LFM</Type> </ActionProfile> </Devices> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Job> <ID>1540117</ID> <Status>INPROGESS</Status> </Job> <Code>200</Code> <Message>Detach profile process triggered successfully. Please Check the status using Job Id.</Message> </Status> </Data>
Detach an SLA Iterator Profile
This request is used to detach an SLA iterator profile.
URI | /api/space/nsas/prestage-oam-device/manage- |
HTTP Method | POST |
Content-Type | application/vnd.net.juniper.space.manage-devices. |
Consumes | application/vnd.net.juniper.space.manage-devices. |
Produces | Detaches an SLA iterator profile. |
Input
Sample XML Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Devices> <Device> <Common> <Name>embassy</Name> <Identity>229548</Identity> </Common> </Device> <Device> <Common> <Name>exora</Name> <Identity>229608</Identity> </Common> </Device> <Device> <Common> <Name>jaipur</Name> <Identity>229585</Identity> </Common> </Device> <SLAProfile> <Common> <Name>StdDef-SFL</Name> <Identity>98311</Identity> </Common> </SLAProfile> </Devices> </Data>
Output
Sample XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Data xmlns="services.schema.networkapi.jmp.juniper.net"> <Status> <Job> <ID>1540117</ID> <Status>INPROGESS</Status> </Job> <Code>200</Code> <Message>Detach profile process triggered successfully. Please Check the status using Job Id.</Message> </Status> </Data>