Skip to content
Snippets Groups Projects
Unverified Commit 251151ff authored by chliu-nems's avatar chliu-nems Committed by GitHub
Browse files

Support to modify SQN (#12)

parent b2332d95
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,7 @@ class SubscriberModal extends Component { ...@@ -193,6 +193,7 @@ class SubscriberModal extends Component {
"K", "K",
"OPOPcSelect", "OPOPcSelect",
"OPOPc", "OPOPc",
"SQN",
], ],
properties: { properties: {
plmnID: { plmnID: {
...@@ -231,6 +232,12 @@ class SubscriberModal extends Component { ...@@ -231,6 +232,12 @@ class SubscriberModal extends Component {
pattern: "^[A-Fa-f0-9]{32}$", pattern: "^[A-Fa-f0-9]{32}$",
default: "8e27b6af0e692e750f32667a3b14605d", default: "8e27b6af0e692e750f32667a3b14605d",
}, },
SQN: {
type: "string",
title: "SQN",
pattern: "^[A-Fa-f0-9]{1,12}$",
default: "16f3b3f70fc2",
},
sliceConfigurations: { sliceConfigurations: {
type: "array", type: "array",
title: "S-NSSAI Configuration", title: "S-NSSAI Configuration",
...@@ -472,6 +479,7 @@ class SubscriberModal extends Component { ...@@ -472,6 +479,7 @@ class SubscriberModal extends Component {
OPOPcSelect: isOp ? "OP" : "OPc", OPOPcSelect: isOp ? "OP" : "OPc",
OPOPc: isOp ? subscriber['AuthenticationSubscription']["milenage"]["op"]["opValue"] : OPOPc: isOp ? subscriber['AuthenticationSubscription']["milenage"]["op"]["opValue"] :
subscriber['AuthenticationSubscription']["opc"]["opcValue"], subscriber['AuthenticationSubscription']["opc"]["opcValue"],
SQN: subscriber['AuthenticationSubscription']["sequenceNumber"],
sliceConfigurations: sliceConfigurationsFromSubscriber(subscriber), sliceConfigurations: sliceConfigurationsFromSubscriber(subscriber),
}; };
...@@ -542,7 +550,7 @@ class SubscriberModal extends Component { ...@@ -542,7 +550,7 @@ class SubscriberModal extends Component {
"encryptionKey": 0, "encryptionKey": 0,
"permanentKeyValue": formData["K"] // Change required "permanentKeyValue": formData["K"] // Change required
}, },
"sequenceNumber": "16f3b3f70fc2", "sequenceNumber": formData["SQN"],
}, },
"AccessAndMobilitySubscriptionData": { "AccessAndMobilitySubscriptionData": {
"gpsis": [ "gpsis": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment