move TYPE location
This commit is contained in:
parent
322d4d9157
commit
0e1fcb43a7
|
@ -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": "",
|
||||
|
@ -127,13 +134,6 @@ const schema = {
|
|||
}
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "number",
|
||||
"title": "Type*",
|
||||
"enum": [0, 1, 2],
|
||||
"enumNames": ["IPv4", "IPv6", "IPv4v6"],
|
||||
"default": 0,
|
||||
},
|
||||
"ambr": {
|
||||
"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": "",
|
||||
|
@ -133,13 +140,6 @@ const schema = {
|
|||
}
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "number",
|
||||
"title": "Type*",
|
||||
"enum": [0, 1, 2],
|
||||
"enumNames": ["IPv4", "IPv6", "IPv4v6"],
|
||||
"default": 0,
|
||||
},
|
||||
"ambr": {
|
||||
"type": "object",
|
||||
"title": "",
|
||||
|
|
|
@ -251,11 +251,11 @@ 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>
|
||||
<div className="medium_data">Vulnerablility</div>
|
||||
<div className="medium_data">Type</div>
|
||||
<div className="large_data">MBR DL/UL(Kbps)</div>
|
||||
<div className="large_data">GBR DL/UL(Kbps)</div>
|
||||
</div>
|
||||
|
@ -263,11 +263,11 @@ 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>
|
||||
<div className="medium_data">{pdn.qos.arp.pre_emption_vulnerability === 1 ? "Disabled" : "Enabled"}</div>
|
||||
<div className="medium_data">{pdn.type === 0 ? "IPv4" : (pdn.type === 1 ? "IPv6" : "IPv4v6")}</div>
|
||||
{pdn['ambr'] === undefined ?
|
||||
<div className="large_data">
|
||||
unlimited/unlimited
|
||||
|
@ -302,12 +302,12 @@ 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>
|
||||
<div className="medium_data">{pcc_rule.qos.arp.pre_emption_capability === 1 ? "Disabled" : "Enabled"}</div>
|
||||
<div className="medium_data">{pcc_rule.qos.arp.pre_emption_vulnerability === 1 ? "Disabled" : "Enabled"}</div>
|
||||
<div className="medium_data">{pdn.type === 0 ? "IPv4" : (pdn.type === 1 ? "IPv6" : "IPv4v6")}</div>
|
||||
{pcc_rule.qos['mbr'] === undefined ?
|
||||
<div className="large_data">
|
||||
unlimited/unlimited
|
||||
|
|
|
@ -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