Operation

post /esmService/mplstpTunnelTemplate/createMplstpTunenlTemplate
creates mplstp tunnel template (createMplstpTunenlTemplate : /esmService/mplstpTunnelTemplate/createMplstpTunenlTemplate)
creates mplstp tunnel template from UI data

Request body

Name

IsRequired

Description

Data Type

Enum

body required mplstp protection ui data mplsTpTunnelTemplateHolder ---

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-RestTunnel","author":"alcatel","desc":"cmk","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Tunnel Templates/","oamId":1,"bfdId":1,"protectionId":1,"postprovclicommand":"","preprovclicommand":"","bfdEnable":"ccCv"}

    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 Tunnel template save : success","msgCode":"MPLSTP_Tunnel_TMPL_001","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Tunnel Templates/CMK-tunnel"],"paramCount":1}

    External Docs
    See Also :

    Operation

    post /esmService/mplstpTunnelTemplate/deletemplstpTunnelTemplateName
    delete mplstp tunnel template (deletemplstpTunnelTemplateName : /esmService/mplstpTunnelTemplate/deletemplstpTunnelTemplateName)
    delete mplstp tunnel template from UI data

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body required mplstp bfd ui data mplsTpTunnelTemplateHolder ---

    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-RestTunnel","templatePath":"My Templates/MPLS-TP Templates/Tunnel Templates/","author":"alcatel","desc":"cmkcmmcmc","oamId":1,"bfdId":1,"protectionId":1,"bfdEnable":""}

    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 Tunnel template unPublish : success","msgCode":"MPLSTP_Tunnel_TMPL_003","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Tunnel Templates/CMK-tunnel"],"paramCount":1}

    External Docs
    See Also :

    Operation

    post /esmService/mplstpTunnelTemplate/modifyMplstpTunnelTemplate
    modify mplstp tunnel template (modifyMplstpTunnelTemplate : /esmService/mplstpTunnelTemplate/modifyMplstpTunnelTemplate)
    modify mplstp tunnel template from UI data

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body required mplstp bfd ui data mplsTpTunnelTemplateHolder ---

    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-RestTunnel","author":"alcatel","desc":"cmkcmmcmc","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Tunnel Templates/","oamId":1,"bfdId":1,"protectionId":1,"postprovclicommand":"","preprovclicommand":"","bfdEnable":"ccCv"}

    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 Tunnel template modify : success","msgCode":"MPLSTP_Tunnel_TMPL_004","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Tunnel Templates/CMKTunel"],"paramCount":1}

    External Docs
    See Also :

    Operation

    post /esmService/mplstpTunnelTemplate/publishMplstpTunnelTemplate
    publish mplstp tunnel template (publishMplstpTunnelTemplate : /esmService/mplstpTunnelTemplate/publishMplstpTunnelTemplate)
    publish mplstp tunnel template from UI data

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body required mplstp bfd ui data mplsTpTunnelTemplateHolder ---

    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-RestTunnel","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Tunnel Templates/","author":"alcatel","desc":"cmk","oamId":1,"bfdId":1,"protectionId":1,"postprovclicommand":"","preprovclicommand":"","bfdEnable":""}

    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 Tunnel template Publish : success","msgCode":"MPLSTP_Tunnel_TMPL_002","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Tunnel Templates/CMKPublishtunel"],"paramCount":1}

    External Docs
    See Also :

    Operation

    post /esmService/mplstpTunnelTemplate/unpublishMplstpTunnelTemplate
    unpublish mplstp tunnel template (unpublishMplstpTunnelTemplate : /esmService/mplstpTunnelTemplate/unpublishMplstpTunnelTemplate)
    unpublish mplstp tunnel template from UI data

    Request body

    Name

    IsRequired

    Description

    Data Type

    Enum

    body required mplstp tunnel ui data mplsTpTunnelTemplateHolder ---

    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-RestTunnel","templateState":"PUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Tunnel Templates/","author":"alcatel","desc":"cmk","oamId":1,"bfdId":1,"protectionId":1,"postprovclicommand":"","preprovclicommand":"","bfdEnable":""}

    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 Tunnel template unPublish : success","msgCode":"MPLSTP_Tunnel_TMPL_003","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Tunnel Templates/CMKTunel"],"paramCount":1}

    External Docs
    See Also :

    MplsTpBfdTemplate

    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 --- ---
    transmitTime Long long --- ---
    receiveTime Long long --- ---
    multiplier Long long --- ---

    mplsTpOamTemplateHolder

    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 --- ---
    bfdTemplateId Long long --- ---
    bfdTemplateName String string --- ---
    holdDownTime Long long --- ---
    holdUpTime Long long --- ---

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

    mplsTpTunnelTemplateHolder

    Name

    Type

    Description

    Enum

    sessionId String string --- ---
    requestURI String string --- ---
    logReqId String string --- ---
    operator String string --- ---
    client String string --- ---
    templateId Long long --- ---
    templateName String string --- ---
    author String string --- ---
    desc String string --- ---
    templateState String string --- ---
    templatePath String string --- ---
    createTime Long long --- ---
    oamTemplateDtls mplsTpOamTemplateHolder mplsTpOamTemplateHolder --- ---
    protectionTemplateDtls mplsTpProtectionTemplateHolder mplsTpProtectionTemplateHolder --- ---
    mplsTpBfdTemplateHolder MplsTpBfdTemplate MplsTpBfdTemplate --- ---
    oamId Integer integer --- ---
    bfdId Integer integer --- ---
    protectionId Integer integer --- ---
    bfdEnable String string --- ---
    activate Boolean boolean --- ---

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