mirror of
				https://github.com/open5gs/open5gs.git
				synced 2025-11-03 21:43:25 +00:00 
			
		
		
		
	Adding an option for PDN Type (IPv4, IPv6, IPv4v6) to webui (#346)
This commit is contained in:
		
				
					committed by
					
						
						Sukchan Lee
					
				
			
			
				
	
			
			
			
						parent
						
							75c431855b
						
					
				
				
					commit
					1bf78f7655
				
			@@ -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": "",
 | 
			
		||||
 
 | 
			
		||||
@@ -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": "",
 | 
			
		||||
 
 | 
			
		||||
@@ -255,6 +255,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
 | 
			
		||||
                <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>
 | 
			
		||||
@@ -266,6 +267,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
 | 
			
		||||
                    <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
 | 
			
		||||
@@ -305,6 +307,7 @@ const View = ({ visible, disableOnClickOutside, subscriber, onEdit, onDelete, on
 | 
			
		||||
                          <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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user