summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
authorBryan Guo <guofengbei@huawei.com>2019-03-21 15:05:07 +0800
committerGxxxx <guofengbei@huawei.com>2019-03-21 15:45:25 +0800
commitab5ec38462597f0f3a01f3d74b676efc3cfcbbdd (patch)
tree45251b3a1becaebd4ba007863f51f32307559b62 /platform-logic/restapi-templates/src/main
parentf5263394426fc4021179da8135c16f33e9bb2bd8 (diff)
add DGs for BBS usecase
Issue-ID: SDNC-698,SDNC-699,SDNC-700 Change-Id: Iac71c3ad2a42def4bf1fd0e3464f028dae5a5414 Signed-off-by: Gxxxx <guofengbei@huawei.com> Former-commit-id: 05ccc1879959d01720065f633d08e68ede2c04aa
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json39
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json11
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-token-template.json5
3 files changed, 55 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json b/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json
new file mode 100644
index 00000000..0cab56ef
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json
@@ -0,0 +1,39 @@
+{
+"accessE2Eservice" : {
+ "serviceID" : "",
+ "subscriberInfo" : {
+ "accessID" : "",
+ "extendParas" : {},
+"dpName":""
+ },
+ "aEnd" : {
+ "endNeName" : "",
+ "endPort" : "",
+ "extendParas" : {
+ "ontSN" : ${prop.bbs.ONTSN},
+ "cVlanID" : ${prop.bbs.CVLAN}
+ }
+ },
+ "zEnd" : {
+ "endNeName" : "",
+ "endPort" : "",
+ "extendParas" : {
+ "sVlanID" : ${prop.bbs.SVLAN}
+ }
+ },
+ "serviceInfo" : {
+ "serviceBasciInfo" : {
+ "serviceType" : "HSI"
+ },
+ "hsiServiceInfo" : {
+ "hsiServiceType" : ${prop.bbs.HsiType},
+ "hsiPackage" : ${prop.bbs.HsiPackage},
+ "lineProfileName" : "",
+ "serviceProfileName" : "",
+ "vaProfileName" : "",
+ "trafficProfileName" : "",
+ "extendParas" : {}
+ }
+ }
+ }
+}
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json b/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json
new file mode 100644
index 00000000..3ad3a9c5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json
@@ -0,0 +1,11 @@
+{
+ "service-id":${prop.bbs.service-id},
+ "access_id":${prop.bbs.access_id},
+ "ont_sn":${prop.bbs.ont_sn},
+ "service_type":${prop.bbs.service_type},
+ "mac":${prop.bbs.mac},
+ "up_speed":${prop.bbs.up_speed},
+ "down_speed":${prop.bbs.down_speed},
+ "s_vlan":${prop.bbs.s_vlan},
+ "c_vlan":${prop.bbs.c_vlan}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-token-template.json b/platform-logic/restapi-templates/src/main/json/bbs-token-template.json
new file mode 100644
index 00000000..d2526713
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-token-template.json
@@ -0,0 +1,5 @@
+{
+"userName":"tokenUser",
+"grantType":"password",
+"value":"Test_12345"
+}