华为乾坤-创建模板:请求参数
请求参数
参数名称 |
必选 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|---|
create-template |
是 |
REFERENCE |
详细请参见表2。 |
创建模型 |
- |
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
huawei-nce-aoc-config-template:input |
REFERENCE |
详细请参见表3。 |
- |
- |
参数名称 |
必选 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|---|
template-name |
是 |
string |
0~128个字节。 |
- |
配置模板名称 |
"test" |
package-type |
是 |
string |
- |
包模型 |
"GND" |
|
template-content |
是 |
string |
0~2097152个字节。 |
- |
模板内容 |
"\"{\\n \\\"traffic-engineering-uni-gnd:te\\\" : {\\n \\\"config-status\\\" : \\\"reserved\\\",\\n \\\"global\\\" : {\\n \\\"teAttributeEnable\\\" : false\\n },\\n \\\"affinity-define\\\" : {\\n \\\"description\\\" : \\\"23\\\",\\n \\\"affinity-mappings\\\" : {\\n \\\"affinity-mapping\\\" : [ {\\n \\\"attribute-name\\\" : \\\"12\\\",\\n \\\"bit-sequence\\\" : 12\\n } ]\\n }\\n }\\n },\\n \\\"dtls-server-uni-gnd:dtls-server\\\" : { },\\n \\\"bfd-session-uni-gnd:bfd-session\\\" : [ {\\n \\\"name\\\" : \\\"789\\\"\\n } ]\\n}\"" |
template-domain |
否 |
string |
0~128个字节。 |
- |
模板所属域 |
"null" |
template-description |
否 |
string |
0~1024个字节。 |
- |
模板描述 |
"test" |
create-type |
否 |
string |
- |
模板来源类型 |
"customize" |
|
template-format |
否 |
string |
- |
模板编辑格式
|
"ui" |
|
parent-template-id |
否 |
string |
0~128个字节。 |
- |
该模板的父模板ID |
- |