Introduction
Smart Cities is an edge resource scheduling solution.
This guide setup a cluster network, one switch run with k3s server , one Nvidia Nona run with k3s node.
EdgeFaaS provide API to access the cluster network's capability.
License
Apache License v2.0
How to use this document
The document describes how to compile demo app from source code, and deploy to device.
Deployment Architecture
Pre-Installation Requirements
Deploy Device Requirements
- Network Switch run with SONiC
- CPU core: 4
- RAM: 4G
- HDD: 16G
- Nvidia Nano run with Jetson
- CPU core: 4
- RAM: 2G
- HDD: 32G
- Network Switch run with SONiC
Complie Device Requirements
- Arm64 device run with Ubunut 18.04+
- CPU core: 4
- RAM: 4G
- HDD: 32G
- Docker 20.10.1+
- Golang 1.16+
Build PARSEC
$ git clone git clone "https://gerrit.akraino.org/r/a/cassini"
$ cd cassini/smartcities/parsec
$ cargo build --release --features "mbed-crypto-provider,direct-authenticator"
The compiled binary executable is in ./target/release/parsec.
Template of config file is in ./config.toml, it will be modify when deloy.
Template of parsec.service file is in ./systemd-daemon/parsec.service it will be modify when deloy.
Build Demo App
Build ParsecClient
$ git clone git clone "https://gerrit.akraino.org/r/a/cassini"
$ cd cassini/smartcities/ParsecClient/
$ ./build.sh
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
parsec-client v1.0 aef2a010b6b5 3 months ago 17.3MB
$
sudo docker save aef2a010b6b5 > parsec-client-v1.0-docker-aarch64.tar
The saved
parsec-client-v1.0-docker-aarch64.tar
will use to delpoy on loT devicesBuild NodeAuthServer
Maintenance
Blue Print Package Maintenance
Frequently Asked Questions
N/A
License
Any software developed by the "Akraino Enterprise Applications on Smart Cities is licensed under the
Apache License, Version 2.0 (the "License");
you may not use the content of this software bundle except in compliance with the License.
You may obtain a copy of the License at <https://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
References
N/A
Definitions, acronyms and abbreviations
N/A