mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
WebUI: PGW IPv4 Address is added in APN configuration
This commit is contained in:
parent
0757cdedab
commit
beca6af7ff
4 changed files with 26 additions and 1 deletions
|
|
@ -57,6 +57,9 @@ const Subscriber = new Schema({
|
|||
downlink: Schema.Types.Long,
|
||||
uplink: Schema.Types.Long
|
||||
},
|
||||
pgw: {
|
||||
ipv4: String
|
||||
},
|
||||
pcc_rule: [{
|
||||
flow: [{
|
||||
direction: Number,
|
||||
|
|
|
|||
|
|
@ -138,6 +138,22 @@ const schema = {
|
|||
},
|
||||
}
|
||||
},
|
||||
"pgw": {
|
||||
"type": "object",
|
||||
"title": "",
|
||||
"properties": {
|
||||
"ipv4": {
|
||||
"type": "string",
|
||||
"title": "PGW IPv4 Address*",
|
||||
"required": true,
|
||||
"pattern": "^[0-9\\.]+$",
|
||||
"messages": {
|
||||
"pattern": "Invalid IPv4 Address Format"
|
||||
},
|
||||
"default": "10.1.35.218",
|
||||
},
|
||||
}
|
||||
},
|
||||
"pcc_rule": {
|
||||
"type": "array",
|
||||
"title": "PCC Rules",
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ const Pdn = styled.div`
|
|||
margin: 4px;
|
||||
}
|
||||
.large_data {
|
||||
width: 160px;
|
||||
width: 140px;
|
||||
font-size: 12px;
|
||||
margin: 4px;
|
||||
}
|
||||
|
|
@ -249,6 +249,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
|
|||
<div className="medium_data">Vulnerablility</div>
|
||||
<div className="large_data">MBR DL/UL(Kbps)</div>
|
||||
<div className="large_data">GBR DL/UL(Kbps)</div>
|
||||
<div className="medium_data">PGW IP</div>
|
||||
</div>
|
||||
{pdns.map(pdn =>
|
||||
<div key={pdn.apn}>
|
||||
|
|
@ -268,6 +269,8 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
|
|||
{pdn.ambr['uplink'] === undefined ? "unlimited" : pdn.ambr.uplink}
|
||||
</div>
|
||||
}
|
||||
<div className="large_data"></div>
|
||||
<div className="small_data">{pdn.pgw.ipv4}</div>
|
||||
</div>
|
||||
{pdn['pcc_rule'] !== undefined &&
|
||||
pdn.pcc_rule.map((pcc_rule, index) =>
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@ const formData = {
|
|||
"pre_emption_vulnerability": 1
|
||||
}
|
||||
},
|
||||
"pgw": {
|
||||
"ipv4": "10.1.35.218",
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue