diff --git a/webui/src/components/Profile/Edit.js b/webui/src/components/Profile/Edit.js index 9c43c39fb1..87ce48c690 100644 --- a/webui/src/components/Profile/Edit.js +++ b/webui/src/components/Profile/Edit.js @@ -127,6 +127,13 @@ const schema = { } } }, + "type": { + "type": "number", + "title": "Type*", + "enum": [0, 1, 2], + "enumNames": ["IPv4", "IPv6", "IPv4v6"], + "default": 0, + }, "ambr": { "type": "object", "title": "", diff --git a/webui/src/components/Subscriber/Edit.js b/webui/src/components/Subscriber/Edit.js index 21a77fc95e..f1d6656ccd 100644 --- a/webui/src/components/Subscriber/Edit.js +++ b/webui/src/components/Subscriber/Edit.js @@ -133,6 +133,13 @@ const schema = { } } }, + "type": { + "type": "number", + "title": "Type*", + "enum": [0, 1, 2], + "enumNames": ["IPv4", "IPv6", "IPv4v6"], + "default": 0, + }, "ambr": { "type": "object", "title": "", diff --git a/webui/src/components/Subscriber/View.js b/webui/src/components/Subscriber/View.js index e48751c846..65e192623a 100644 --- a/webui/src/components/Subscriber/View.js +++ b/webui/src/components/Subscriber/View.js @@ -255,6 +255,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
ARP
Capability
Vulnerablility
+
Type
MBR DL/UL(Kbps)
GBR DL/UL(Kbps)
@@ -266,6 +267,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
{pdn.qos.arp.priority_level}
{pdn.qos.arp.pre_emption_capability === 1 ? "Disabled" : "Enabled"}
{pdn.qos.arp.pre_emption_vulnerability === 1 ? "Disabled" : "Enabled"}
+
{pdn.type === 0 ? "IPv4" : (pdn.type === 1 ? "IPv6" : "IPv4v6")}
{pdn['ambr'] === undefined ?
unlimited/unlimited @@ -305,6 +307,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
{pcc_rule.qos.arp.priority_level}
{pcc_rule.qos.arp.pre_emption_capability === 1 ? "Disabled" : "Enabled"}
{pcc_rule.qos.arp.pre_emption_vulnerability === 1 ? "Disabled" : "Enabled"}
+
{pdn.type === 0 ? "IPv4" : (pdn.type === 1 ? "IPv6" : "IPv4v6")}
{pcc_rule.qos['mbr'] === undefined ?
unlimited/unlimited