Operation
post /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplatecreateMplstpProtectionTemplate (createMplstpProtectionTemplate : /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplate)
createMplstpProtectionTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | mplsTpProtectionTemplateHolder |
--- |
Return type
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/deletemplstpProtectionTemplateNamedeletemplstpProtectionTemplateName (deletemplstpProtectionTemplateName : /esmService/mplstpProtectionTemplate/deletemplstpProtectionTemplateName)
deletemplstpProtectionTemplateName
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | mplsTpProtectionTemplateHolder |
--- |
Return type
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/modifyMplstpProtectionTemplatemodifyMplstpProtectionTemplate (modifyMplstpProtectionTemplate : /esmService/mplstpProtectionTemplate/modifyMplstpProtectionTemplate)
modifyMplstpProtectionTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | mplsTpProtectionTemplateHolder |
--- |
Return type
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 |
--- | --- |