Merge branch 'pdn_type_webui'
This commit is contained in:
commit
04233e505b
|
@ -87,6 +87,13 @@ const schema = {
|
|||
"title": "Access Point Name (APN)*",
|
||||
"required": true
|
||||
},
|
||||
"type": {
|
||||
"type": "number",
|
||||
"title": "Type*",
|
||||
"enum": [0, 1, 2],
|
||||
"enumNames": ["IPv4", "IPv6", "IPv4v6"],
|
||||
"default": 2,
|
||||
},
|
||||
"qos": {
|
||||
"type": "object",
|
||||
"title": "",
|
||||
|
|
|
@ -252,6 +252,7 @@ const View = ({ visible, disableOnClickOutside, profile, onEdit, onDelete, onHid
|
|||
</div>
|
||||
<div className="body" style={{color:oc.gray[5]}}>
|
||||
<div className="medium_data">APN</div>
|
||||
<div className="medium_data">Type</div>
|
||||
<div className="small_data">QCI</div>
|
||||
<div className="small_data">ARP</div>
|
||||
<div className="medium_data">Capability</div>
|
||||
|
@ -263,6 +264,7 @@ const View = ({ visible, disableOnClickOutside, profile, onEdit, onDelete, onHid
|
|||
<div key={pdn.apn}>
|
||||
<div className="body">
|
||||
<div className="medium_data">{pdn.apn}</div>
|
||||
<div className="medium_data">{pdn.type === 0 ? "IPv4" : (pdn.type === 1 ? "IPv6" : "IPv4v6")}</div>
|
||||
<div className="small_data">{pdn.qos.qci}</div>
|
||||
<div className="small_data">{pdn.qos.arp.priority_level}</div>
|
||||
<div className="medium_data">{pdn.qos.arp.pre_emption_capability === 1 ? "Disabled" : "Enabled"}</div>
|
||||
|
@ -301,6 +303,7 @@ const View = ({ visible, disableOnClickOutside, profile, onEdit, onDelete, onHid
|
|||
pdn.pcc_rule.map((pcc_rule, index) =>
|
||||
<div key={index}>
|
||||
<div className="body">
|
||||
<div className="medium_data"></div>
|
||||
<div className="medium_data"></div>
|
||||
<div className="small_data">{pcc_rule.qos.qci}</div>
|
||||
<div className="small_data">{pcc_rule.qos.arp.priority_level}</div>
|
||||
|
|
|
@ -93,6 +93,13 @@ const schema = {
|
|||
"title": "Access Point Name (APN)*",
|
||||
"required": true
|
||||
},
|
||||
"type": {
|
||||
"type": "number",
|
||||
"title": "Type*",
|
||||
"enum": [0, 1, 2],
|
||||
"enumNames": ["IPv4", "IPv6", "IPv4v6"],
|
||||
"default": 2,
|
||||
},
|
||||
"qos": {
|
||||
"type": "object",
|
||||
"title": "",
|
||||
|
|
|
@ -251,6 +251,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
|
|||
</div>
|
||||
<div className="body" style={{color:oc.gray[5]}}>
|
||||
<div className="medium_data">APN</div>
|
||||
<div className="medium_data">Type</div>
|
||||
<div className="small_data">QCI</div>
|
||||
<div className="small_data">ARP</div>
|
||||
<div className="medium_data">Capability</div>
|
||||
|
@ -262,6 +263,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
|
|||
<div key={pdn.apn}>
|
||||
<div className="body">
|
||||
<div className="medium_data">{pdn.apn}</div>
|
||||
<div className="medium_data">{pdn.type === 0 ? "IPv4" : (pdn.type === 1 ? "IPv6" : "IPv4v6")}</div>
|
||||
<div className="small_data">{pdn.qos.qci}</div>
|
||||
<div className="small_data">{pdn.qos.arp.priority_level}</div>
|
||||
<div className="medium_data">{pdn.qos.arp.pre_emption_capability === 1 ? "Disabled" : "Enabled"}</div>
|
||||
|
@ -300,6 +302,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
|
|||
pdn.pcc_rule.map((pcc_rule, index) =>
|
||||
<div key={index}>
|
||||
<div className="body">
|
||||
<div className="medium_data"></div>
|
||||
<div className="medium_data"></div>
|
||||
<div className="small_data">{pcc_rule.qos.qci}</div>
|
||||
<div className="small_data">{pcc_rule.qos.arp.priority_level}</div>
|
||||
|
|
|
@ -26,6 +26,7 @@ const formData = {
|
|||
"pdn": [
|
||||
{
|
||||
"apn": "internet",
|
||||
"type": 2,
|
||||
"qos": {
|
||||
"qci": 9,
|
||||
"arp": {
|
||||
|
|
|
@ -27,6 +27,7 @@ const formData = {
|
|||
"pdn": [
|
||||
{
|
||||
"apn": "internet",
|
||||
"type": 2,
|
||||
"qos": {
|
||||
"qci": 9,
|
||||
"arp": {
|
||||
|
|
Loading…
Reference in New Issue