summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/constants
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-01-28 10:34:35 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-01-28 10:41:55 +0800
commit186b679ba02d7729801b4d560697d87034b9c8f6 (patch)
treea3dfa487da10a0f5adbc7bad55224595aa9c6547 /usecaseui-portal/src/constants
parent14e5467cf340f32afc38cd88be39ee4cba26def9 (diff)
feat: TN change modification
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: I7bed0f4b43e0f978b5e109bfd198c4cad2205463 Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal/src/constants')
-rw-r--r--usecaseui-portal/src/constants/constants.ts97
1 files changed, 95 insertions, 2 deletions
diff --git a/usecaseui-portal/src/constants/constants.ts b/usecaseui-portal/src/constants/constants.ts
index e974a851..a46ff010 100644
--- a/usecaseui-portal/src/constants/constants.ts
+++ b/usecaseui-portal/src/constants/constants.ts
@@ -133,7 +133,7 @@ export const TRANSFRER_FORM_ITEMS = [
{
title: 'S-NSSAI',
key: 'sliceProfile_TN_BH_sNSSAI',
- required: true
+ required: true,
},
{
title: 'Latency (ms)',
@@ -149,7 +149,100 @@ export const TRANSFRER_FORM_ITEMS = [
title: 'MaxBandwidth',
key: 'tn_bh_bandwidth',
required: true
- },
+ },
+ {
+ title: 'Resource Sharing Level', // select
+ key: 'sliceProfile_TN_resourceSharingLevel', // :new
+ required: true,
+ options: [
+ {
+ title: 'Shared',
+ key: 'shared'
+ },
+ {
+ title: 'Non-shared',
+ key: 'non-shared'
+ }
+ ]
+ },
+ {
+ title: 'Connection Links',// table
+ key: 'tn_connection_links', // :new
+ required: false, // combined
+ options: {
+ title: 'connection_links_option',
+ key: 'tn_connection_links_option'
+ },
+ disable: false,
+ header: [
+ {
+ title: 'ID',
+ key: 'id'
+ },
+ {
+ title: 'AN',
+ key: 'AN'
+ },
+ {
+ title: 'CN',
+ key: 'CN'
+ },
+ {
+ title: 'TN',
+ key: 'TN'
+ },
+ {
+ title: 'Properties',
+ key: 'properties'
+ }
+ ]
+ },
+ {
+ title:'AN Endpoint', // input group
+ key:"an_Endpoint",
+ required: false,
+ disable: false,
+ options: [
+ {
+ title: 'ip_address',
+ key: 'sliceProfile_AN_ipAddress',
+ holder: 'IpAddress'
+ },
+ {
+ title: 'logical_link',
+ key: 'sliceProfile_AN_logicInterfaceId',
+ holder: 'LogicId'
+ },
+ {
+ title: 'nexthop_info',
+ key: 'sliceProfile_AN_nextHopInfo',
+ holder: 'NextHop'
+ }
+ ]
+ },
+ {
+ title:'CN Endpoint',
+ key:"cn_Endpoint",
+ required: false,
+ disable: false,
+ options: [
+ {
+ title: 'ip_address',
+ key: 'sliceProfile_CN_ipAddress',
+ holder: 'IpAddress'
+ },
+ {
+ title: 'logical_link',
+ key: 'sliceProfile_CN_logicInterfaceId',
+ holder: 'LogicId'
+ },
+ {
+ title: 'nexthop_info',
+ key: 'sliceProfile_CN_nextHopInfo',
+ holder: 'NextHop'
+ }
+ ]
+ },
]
export const CORE_FORM_ITEMS = {