Operation

post /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplate
createMplstpProtectionTemplate (createMplstpProtectionTemplate : /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplate)
createMplstpProtectionTemplate

Request body

Name

IsRequired

Description

Data Type

Enum

body optional reqData mplsTpProtectionTemplateHolder ---

Return type
  • ServiceTemplateResponse
  • Responses

    Response Messages

    Schema

    200success ServiceTemplateResponse
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    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

    External Docs
    See Also :

    Operation

    post /esmService/mplstpProtectionTemplate/deletemplstpProtectionTemplateName
    deletemplstpProtectionTemplateName (deletemplstpProtectionTemplateName : /esmService/mplstpProtectionTemplate/deletemplstpProtectionTemplateName)
    deletemplstpProtectionTemplateName

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body optional reqData mplsTpProtectionTemplateHolder ---

    Return type
  • ServiceTemplateResponse
  • Responses

    Response Messages

    Schema

    200success ServiceTemplateResponse
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    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

    External Docs
    See Also :

    Operation

    post /esmService/mplstpProtectionTemplate/modifyMplstpProtectionTemplate
    modifyMplstpProtectionTemplate (modifyMplstpProtectionTemplate : /esmService/mplstpProtectionTemplate/modifyMplstpProtectionTemplate)
    modifyMplstpProtectionTemplate

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body optional reqData mplsTpProtectionTemplateHolder ---

    Return type
  • ServiceTemplateResponse
  • Responses

    Response Messages

    Schema

    200success ServiceTemplateResponse
    201Created ---
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Consumes
    This API call consumes the following media types via the Content-Type request header:
    • application/json
    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

    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 --- ---

    ServiceTemplateResponse

    Name

    Type

    Description

    Enum

    message String string --- ---
    msgCode String string --- ---
    status String string --- ---
    parameters array[String] string --- ---
    paramCount Integer integer --- ---