Operation

get /esmBrowser/packetSwitchTemplate/getAllPacketSwitchTemplates
AllPacketSwitchTemplates (getAllPacketSwitchTemplates : /esmBrowser/packetSwitchTemplate/getAllPacketSwitchTemplates)
This method gets all the PacketSwitch Template in published or unpublished state in order of modified time.This method in invoked to view all the templates created.


Return type
  • PacketSwitchTemplateHolder
  • Responses

    Response Messages

    Schema

    200success PacketSwitchTemplateHolder
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    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
    {"packetSwitchTemplateHolders":[{"templateId":4,"templateName":"PacketSwitchPublished","templatePath":"My Templates/Packet Switch Templates/","descr":null,"author":"alcatel","templateState":"UNPUBLISHED","createTime":1518537675048,"modifyTime":1518537675048,"operationalMode":"Provider Bridge","preProvCliCmd":null,"postProvCliCmd":null},{"templateId":5,"templateName":"PacketSwitchUnpublished","templatePath":"My Templates/Packet Switch Templates/","descr":null,"author":"alcatel","templateState":"UNPUBLISHED","createTime":1518535610989,"modifyTime":1518535610989,"operationalMode":"Provider Bridge","preProvCliCmd":null,"postProvCliCmd":null},{"templateId":1,"templateName":"Provider_Bridge","templatePath":"Best Practices/Packet Switch Templates/","descr":"Best practice template for Packet Switch Provider Bridge mode","author":"alcatel","templateState":"PUBLISHED","createTime":0,"modifyTime":0,"operationalMode":"Provider Bridge","preProvCliCmd":null,"postProvCliCmd":null}]}

    External Docs
    See Also :

    Operation

    get /esmBrowser/packetSwitchTemplate/getAllPublishedPacketSwitchTemplates
    AllPublishedPacketSwitchTemplates (getAllPublishedPacketSwitchTemplates : /esmBrowser/packetSwitchTemplate/getAllPublishedPacketSwitchTemplates)
    This method fetches all the published PacketSwitch Template in order of modified time .This rest call is usually to all the templates in deploy page .


    Return type
  • PacketSwitchTemplateHolder
  • Responses

    Response Messages

    Schema

    200success PacketSwitchTemplateHolder
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    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
    {"packetSwitchTemplateHolders":[{"templateId":1,"templateName":"Provider_Bridge","templatePath":"Best Practices/Packet Switch Templates/","descr":"Best practice template for Packet Switch Provider Bridge mode","author":"alcatel","templateState":"PUBLISHED","createTime":0,"modifyTime":0,"operationalMode":"Provider Bridge","preProvCliCmd":null,"postProvCliCmd":null}]}

    External Docs
    See Also :

    Operation

    get /esmBrowser/packetSwitchTemplate/getPacketSwitchTemplateById/{id}
    PacketSwitchTemplates (getPacketSwitchTemplate : /esmBrowser/packetSwitchTemplate/getPacketSwitchTemplateById/{id})
    This method fetches particular PacketSwitch Template details including cli details and oam details based on given Template id

    Path parameters

    Name

    IsRequired

    Description

    Enum

    id required Name of the PacketSwitch template, with path. Use + as delimiter between the folder names in template path. ---

    Return type
  • PacketSwitchTemplateHolder
  • Responses

    Response Messages

    Schema

    200success PacketSwitchTemplateHolder
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Example Request Data

    https://{{serverIp}}:8443/oms1350/esmBrowser/packetSwitchTemplate/getPacketSwitchTemplateById/1

    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
    {"templateId":1,"templateName":"Provider_Bridge","templatePath":"Best Practices/Packet Switch Templates/","descr":"Best practice template for Packet Switch Provider Bridge mode","author":"alcatel","templateState":"PUBLISHED","createTime":0,"modifyTime":0,"operationalMode":"Provider Bridge","preProvCliCmd":"","postProvCliCmd":""}

    External Docs
    See Also :

    Operation

    get /esmBrowser/packetSwitchTemplate/getPacketSwitchTemplateByName/{templateName}
    PacketSwitchTemplates (getPacketSwitchTemplateByName : /esmBrowser/packetSwitchTemplate/getPacketSwitchTemplateByName/{templateName})
    This method fetches particular PacketSwitch Template details including cli details and oam details based on given Template Name

    Path parameters

    Name

    IsRequired

    Description

    Enum

    templateName required Name of the PacketSwitch template, with path. Use + as delimiter between the folder names in template path. ---

    Return type
  • PacketSwitchTemplateHolder
  • Responses

    Response Messages

    Schema

    200success PacketSwitchTemplateHolder
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Example Request Data

    https://{{serverIp}}:8443/oms1350/esmBrowser/packetSwitchTemplate/getPacketSwitchTemplateByName/Best%20Practices+Packet%20Switch%20Templates+Provider_Bridge

    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
    { "templateId": 0, "templateName": "Provider_Bridge", "templatePath": "Best Practices/Packet Switch Templates/", "descr": "Best practice template for Packet Switch Provider Bridge mode", "author": "alcatel", "templateState": "PUBLISHED", "createTime": 0, "modifyTime": 0, "operationalMode": "Provider Bridge", "preProvCliCmd": "", "postProvCliCmd": "" }

    External Docs
    See Also :

    PacketSwitchTemplateHolder

    Name

    Type

    Description

    Enum

    templateId Long long Packet Switch template Identifier ---
    templateName String string Packet Switch template name ---
    templatePath String string Packet Switch template path ---
    descr String string Description ---
    author String string Author ---
    templateState String string Template State [Published, UnPublished]
    createTime Long long Create time ---
    modifyTime Long long Modification time ---
    operationalMode String string Operational Mode [network, access-uplink]
    preProvCliCmd String string preProvCliCmd ---
    postProvCliCmd String string postProvCliCmd ---