Operation

post /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplate
creates mplstp protection template (createMplstpProtectionTemplate : /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplate)
creates mplstp protection template from UI data

Request body

Name

IsRequired

Description

Data Type

Enum

body required mplstp protection ui data mplsTpProtectionTemplateHolder ---

Return type
  • Template Response Data Holder
  • Responses

    Response Messages

    Schema

    200success Template Response Data Holder
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    Example Request Data

    {"templateName":"CMK-RestPRot","author":"alcatel","desc":"protection","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Protection Templates/","protectionType":"Non Revertive","rapidPSCTimer":"3.3","restoreTime":"222","slowPSCTimer":5}

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/json
    Example Response Data
    {"message":"MPLS-TP BFD template save : success","msgCode":"MPLSTP_Protection_TMPL_001","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Protection Templates/CMKProtection"],"paramCount":1}

    External Docs
    See Also :

    Operation

    post /esmService/mplstpProtectionTemplate/deletemplstpProtectionTemplateName
    delete mplstp protetcion template (deletemplstpProtectionTemplateName : /esmService/mplstpProtectionTemplate/deletemplstpProtectionTemplateName)
    delete mplstp proetction template from UI data

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body required mplstp protetcion ui data mplsTpProtectionTemplateHolder ---

    Return type
  • Template Response Data Holder
  • Responses

    Response Messages

    Schema

    200success Template Response Data Holder
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    Example Request Data

    {"templateName":"CMKProtection","templatePath":"My Templates/MPLS-TP Templates/Protection Templates/"}

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/json
    Example Response Data
    {"message":"MPLS-TP protection template delete : success","msgCode":"MPLSTP_Protection_TMPL_005","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Protection Templates/CMK-protection"],"paramCount":1}

    External Docs
    See Also :

    Operation

    post /esmService/mplstpProtectionTemplate/modifyMplstpProtectionTemplate
    modify mplstp protection template (modifyMplstpProtectionTemplate : /esmService/mplstpProtectionTemplate/modifyMplstpProtectionTemplate)
    modify mplstp protection template from UI data

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body required mplstp bfd ui data mplsTpProtectionTemplateHolder ---

    Return type
  • Template Response Data Holder
  • Responses

    Response Messages

    Schema

    200success Template Response Data Holder
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    Example Request Data

    {"templateName":"CMKProtection","author":"alcatel","desc":"CMKProtectionTest","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Protection Templates/","protectionType":"Revertive","rapidPSCTimer":"3.3","restoreTime":"232","slowPSCTimer":60}

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/json
    Example Response Data
    {"message":"MPLS-TP NPA template modify : success","msgCode":"MPLSTP_Protection_TMPL_004","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Protection Templates/CMKPRottem"],"paramCount":1}

    External Docs
    See Also :

    mplsTpProtectionTemplateHolder

    Name

    Type

    Description

    Enum

    templateId Long long --- ---
    templateName String string --- ---
    author String string --- ---
    desc String string --- ---
    templateState String string --- ---
    templatePath String string --- ---
    createTime Long long --- ---
    protectionType String string --- ---
    restoreTime Long long --- ---
    rapidPSCTimer String string --- ---
    slowPSCTimer Long long --- ---

    Template Response Data Holder

    Name

    Type

    Description

    Enum

    message String string responseMessage ---
    msgCode String string responseMessage Code ---
    status String string responseMessageStatus ---
    parameters array[String] string responseParameters ---
    paramCount Integer integer responseParametersCount ---