feat: 快速安装UPF配置网卡名和驱动类型
This commit is contained in:
@@ -49,6 +49,8 @@ let fromState = ref({
|
|||||||
mmes11_ip: '172.16.5.220/24',
|
mmes11_ip: '172.16.5.220/24',
|
||||||
ims_sip_ip: '192.168.8.110',
|
ims_sip_ip: '192.168.8.110',
|
||||||
upf_type: 'LightUPF',
|
upf_type: 'LightUPF',
|
||||||
|
upf_driver_type: 'vmxnet3',
|
||||||
|
upf_card_name: 'eth0',
|
||||||
upfn3_pci: '0000:00:00.0',
|
upfn3_pci: '0000:00:00.0',
|
||||||
upfn3_mac: '00:00:00:00:00:00',
|
upfn3_mac: '00:00:00:00:00:00',
|
||||||
upfn6_pci: '0000:00:00.0',
|
upfn6_pci: '0000:00:00.0',
|
||||||
@@ -106,7 +108,7 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> DNN </template>
|
<template #title> DNN </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -128,7 +130,7 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> 1-3 </template>
|
<template #title> 1-3 </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input-number>
|
</a-input-number>
|
||||||
@@ -188,7 +190,7 @@ watch(
|
|||||||
<template #title>
|
<template #title>
|
||||||
Network Elemment send data tu EMS IP
|
Network Elemment send data tu EMS IP
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -209,7 +211,9 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> AMF N2 </template>
|
<template #title> AMF N2 </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined
|
||||||
|
style="opacity: 0.45; color: inherit"
|
||||||
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -250,7 +254,7 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> UE IP and maxk </template>
|
<template #title> UE IP and maxk </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -270,7 +274,7 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> netwrok ip </template>
|
<template #title> netwrok ip </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -285,7 +289,7 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> geteway </template>
|
<template #title> geteway </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -307,9 +311,12 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title>
|
<template #title>
|
||||||
use `ip a` show info, to inet ip
|
use `ip a` show info, to inet name
|
||||||
|
<br />
|
||||||
|
or <br />
|
||||||
|
use `lshw -class network -businfo` show device name
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -326,7 +333,7 @@ watch(
|
|||||||
<template #title>
|
<template #title>
|
||||||
use `ip a` show info, to inet ip
|
use `ip a` show info, to inet ip
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -354,6 +361,16 @@ watch(
|
|||||||
>
|
>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
<a-form-item label="DRIVER_TYPE" name="external.upf_driver_type">
|
||||||
|
<a-select
|
||||||
|
v-model:value="fromState.external.upf_driver_type"
|
||||||
|
:placeholder="t('common.selectPlease')"
|
||||||
|
>
|
||||||
|
<a-select-option value="vmxnet3">vmxnet3</a-select-option>
|
||||||
|
<a-select-option value="dpdk">dpdk</a-select-option>
|
||||||
|
<a-select-option value="host">host</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="N6_PCI" name="external.upfn6_pci">
|
<a-form-item label="N6_PCI" name="external.upfn6_pci">
|
||||||
@@ -374,6 +391,28 @@ watch(
|
|||||||
>
|
>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
<a-form-item label="NIC_NAME" name="external.upf_card_name">
|
||||||
|
<a-input
|
||||||
|
v-model:value="fromState.external.upf_card_name"
|
||||||
|
allow-clear
|
||||||
|
:placeholder="t('common.inputPlease')"
|
||||||
|
:maxlength="50"
|
||||||
|
>
|
||||||
|
<template #prefix>
|
||||||
|
<a-tooltip placement="topLeft">
|
||||||
|
<template #title>
|
||||||
|
use `ip a` show info, to inet name
|
||||||
|
<br />
|
||||||
|
or <br />
|
||||||
|
use `lshw -class network -businfo` show device name
|
||||||
|
</template>
|
||||||
|
<InfoCircleOutlined
|
||||||
|
style="opacity: 0.45; color: inherit"
|
||||||
|
/>
|
||||||
|
</a-tooltip>
|
||||||
|
</template>
|
||||||
|
</a-input>
|
||||||
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</template>
|
</template>
|
||||||
@@ -394,7 +433,9 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> IMS SIP </template>
|
<template #title> IMS SIP </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined
|
||||||
|
style="opacity: 0.45; color: inherit"
|
||||||
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -421,7 +462,9 @@ watch(
|
|||||||
(S1AP), can be ethernet interface, virtual ethernet
|
(S1AP), can be ethernet interface, virtual ethernet
|
||||||
interface, we don't advise wireless interfaces
|
interface, we don't advise wireless interfaces
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined
|
||||||
|
style="opacity: 0.45; color: inherit"
|
||||||
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -436,7 +479,9 @@ watch(
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title> Interface </template>
|
<template #title> Interface </template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined
|
||||||
|
style="opacity: 0.45; color: inherit"
|
||||||
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
@@ -453,7 +498,9 @@ watch(
|
|||||||
<template #title>
|
<template #title>
|
||||||
MME binded interface for S11-U communication (GTPV1-U)
|
MME binded interface for S11-U communication (GTPV1-U)
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="opacity: 0.45; color: inherit;" />
|
<InfoCircleOutlined
|
||||||
|
style="opacity: 0.45; color: inherit"
|
||||||
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-input>
|
</a-input>
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ function fnNext() {
|
|||||||
<!-- 插槽-卡片左侧 -->
|
<!-- 插槽-卡片左侧 -->
|
||||||
<template #title>
|
<template #title>
|
||||||
<!-- 步骤进度 -->
|
<!-- 步骤进度 -->
|
||||||
<a-steps :current="stepState.current" direction="horizontal">
|
<a-steps :current="stepState.current" direction="horizontal" style="margin: 24px 0;">
|
||||||
<a-step
|
<a-step
|
||||||
v-for="s in stepState.steps"
|
v-for="s in stepState.steps"
|
||||||
:key="s.title"
|
:key="s.title"
|
||||||
|
|||||||
Reference in New Issue
Block a user