Skip to content

Commit

Permalink
change default IP Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchennn committed Oct 13, 2023
1 parent dae5642 commit 2a894bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions frontend/src/pages/SubscriberCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@ export default function SubscriberCreate() {
},
"FlowRules": [
{
"filter": "permit out ip from any to 10.60.0.0/16",
"filter": "0.0.0.0/32",
"precedence": 128,
"snssai": "01010203",
"dnn": "internet",
"qosRef": 1
},
{
"filter": "permit out ip from any to 10.60.0.0/16",
"filter": "0.0.0.0/32",
"precedence": 127,
"snssai": "01112233",
"dnn": "internet",
Expand Down Expand Up @@ -249,7 +249,7 @@ export default function SubscriberCreate() {
"snssai": "01010203",
"dnn": "internet",
"qosRef": 1,
"filter": "permit out ip from any to 10.60.0.1",
"filter": "0.0.0.0/32",
"chargingMethod": "Offline",
"quota": "0",
"unitCost": "1",
Expand All @@ -258,7 +258,7 @@ export default function SubscriberCreate() {
"snssai": "01112233",
"dnn": "internet",
"qosRef": 2,
"filter": "permit out ip from any to 10.60.0.2",
"filter": "0.0.0.0/32",
"chargingMethod": "Online",
"quota": "2000",
"unitCost": "2",
Expand Down Expand Up @@ -1217,7 +1217,7 @@ export default function SubscriberCreate() {
</Grid>
<Card variant="outlined">
<Table>
<TableBody id={idPrefix + flow.qosRef + "-IpFilter"}>
<TableBody>
<TableRow>
<TableCell>
<TextField
Expand Down Expand Up @@ -1253,7 +1253,7 @@ export default function SubscriberCreate() {
</TableCell>
</TableRow>
</TableBody>
<TableBody id={idPrefix + flow.qosRef +"-UlGBR"}>
<TableBody>
<TableRow>
<TableCell>
<TextField
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/SubscriberList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function SubscriberList() {
};

const onCreate = () => {
navigation("/subscriber/create/0/0");
navigation("/subscriber/create");
};

const handleModify = (subscriber: Subscriber) => {
Expand Down

0 comments on commit 2a894bb

Please sign in to comment.