-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d699a0
commit 672d7f5
Showing
41 changed files
with
359 additions
and
1,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
# SD-Core NMS | ||
# Aether SD-Core NMS | ||
|
||
A Network Management System for managing the SD-Core 5G core network. | ||
A Network Management System for managing the Aether SD-Core 5G core network. | ||
|
||
![Screenshot](images/nms_screenshot.png) | ||
|
||
## Usage | ||
|
||
NMS needs to be configured with the following environment variables: | ||
- `WEBUI_ENDPOINT`: The endpoint of the webui. This is used to redirect the user to the webui. | ||
- `UPF_CONFIG_PATH`: The path to the UPF configuration file. An example of this file can be seen in the `examples/` directory. | ||
- `GNB_CONFIG_PATH`: The path to the gNodeB configuration file. An example of this file can be seen in the `examples/` directory. | ||
- `WEBUI_ENDPOINT`: The endpoint of the webui. This is used to redirect the swagger operations to the webui. | ||
|
||
```console | ||
export WEBUI_ENDPOINT=http://10.1.182.28:5000 | ||
export UPF_CONFIG_PATH=/path/to/upf_config.json | ||
export GNB_CONFIG_PATH=/path/to/gnb_config.json | ||
export WEBUI_ENDPOINT=10.1.182.28:5000 | ||
|
||
docker pull ghcr.io/canonical/sdcore-nms:0.2.0 | ||
docker run -it --env UPF_CONFIG_PATH --env GNB_CONFIG_PATH --env WEBUI_ENDPOINT ghcr.io/canonical/sdcore-nms:0.2.0 | ||
docker run -it --env WEBUI_ENDPOINT ghcr.io/canonical/sdcore-nms:0.2.0 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
export default function Page() {} | ||
'use client'; | ||
|
||
import { useEffect } from 'react'; | ||
import { useRouter } from 'next/navigation'; | ||
|
||
export default function Home() { | ||
const router = useRouter(); | ||
|
||
useEffect(() => { | ||
router.replace('/network-configuration'); | ||
}, [router]); | ||
|
||
return null; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
module.exports = { | ||
async redirects() { | ||
return [ | ||
{ | ||
source: '/', | ||
destination: '/network-configuration', | ||
permanent: true, | ||
}, | ||
]; | ||
}, | ||
env: { | ||
UPF_CONFIG_PATH: process.env.UPF_CONFIG_PATH, | ||
GNB_CONFIG_PATH: process.env.GNB_CONFIG_PATH, | ||
WEBUI_ENDPOINT: process.env.WEBUI_ENDPOINT, | ||
}, | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
output: 'export', | ||
}; | ||
|
||
module.exports = nextConfig; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.