smarter-brokerage | Brokerage for shared IoT infrastructure
kandi X-RAY | smarter-brokerage Summary
kandi X-RAY | smarter-brokerage Summary
smarter-brokerage is a Python library. smarter-brokerage has no bugs, it has no vulnerabilities and it has low support. However smarter-brokerage build file is not available. You can download it from GitLab.
The Brokerage for shared IoT infrastructure allows each node in a [SMARTER edge infrastructure] to be partitioned, where each tenant has full control of a partition. The diagram below shows the brokerage architecture. A set of physical nodes are managed by an instance of SMARTER Node Manager. This SMARTER Node Manager managing physical nodes is connected to a SMARTER Brokerage Manager that provides the brokerage API. The brokerage Manager API allows virtual nodes (partitions of physical nodes) to be allocated into physical node with each virtual node behaving as a SMARTER node itself and is managed by a separate instance of SMARTER Node Manager (one per tenant). Brokerage API server supports two types of users, brokers and tenants. A broker is a superuser for the Brokerage API server and is able to create,modify and delete tenants and virtual nodes. A tenant has limited access to brokerage API and is only able to manage their virtual nodes (creation, deletion). A tenant SMARTER Node Manager is used to deploy applications on those virtual nodes. A tenant is expected to have full access to their SMARTER Node Manager. The SMARTER Brokerage API is a REST API and it is described by the swagger definition at [Swagger API definition] The section "API Notes" describe the API in more detail. The SMARTER Brokerage Manager is stateless, all the API operations interact with objects in the SMARTER Node Manager that is managing the physical nodes. Each virtual node appears as a pod running on the physical node it is associated with. ![SMARTER virtual nodes] Brokerage-API-diagram.png "Standard SMARTER virtual node network topology"). ![SMARTER time line] Timeline-brokerage.png "Standard SMARTER time line"). A node in a k3s/k8s context is a system that is managed by an k3s/k8s server where pods can be deployed. In the figure there are three SMARTER Node Managers (k3s/k8s servers). The blue one that is managing the physical infrastructure (edge nodes). The red and green are managing partitions running on the edge nodes, they do not have direct access to the edge nodes themselves but only to the designated partition. Each partition behaves as a node to k3s/k8s.
The Brokerage for shared IoT infrastructure allows each node in a [SMARTER edge infrastructure] to be partitioned, where each tenant has full control of a partition. The diagram below shows the brokerage architecture. A set of physical nodes are managed by an instance of SMARTER Node Manager. This SMARTER Node Manager managing physical nodes is connected to a SMARTER Brokerage Manager that provides the brokerage API. The brokerage Manager API allows virtual nodes (partitions of physical nodes) to be allocated into physical node with each virtual node behaving as a SMARTER node itself and is managed by a separate instance of SMARTER Node Manager (one per tenant). Brokerage API server supports two types of users, brokers and tenants. A broker is a superuser for the Brokerage API server and is able to create,modify and delete tenants and virtual nodes. A tenant has limited access to brokerage API and is only able to manage their virtual nodes (creation, deletion). A tenant SMARTER Node Manager is used to deploy applications on those virtual nodes. A tenant is expected to have full access to their SMARTER Node Manager. The SMARTER Brokerage API is a REST API and it is described by the swagger definition at [Swagger API definition] The section "API Notes" describe the API in more detail. The SMARTER Brokerage Manager is stateless, all the API operations interact with objects in the SMARTER Node Manager that is managing the physical nodes. Each virtual node appears as a pod running on the physical node it is associated with. ![SMARTER virtual nodes] Brokerage-API-diagram.png "Standard SMARTER virtual node network topology"). ![SMARTER time line] Timeline-brokerage.png "Standard SMARTER time line"). A node in a k3s/k8s context is a system that is managed by an k3s/k8s server where pods can be deployed. In the figure there are three SMARTER Node Managers (k3s/k8s servers). The blue one that is managing the physical infrastructure (edge nodes). The red and green are managing partitions running on the edge nodes, they do not have direct access to the edge nodes themselves but only to the designated partition. Each partition behaves as a node to k3s/k8s.
Support
Quality
Security
License
Reuse
Support
smarter-brokerage has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are no watchers for this library.
It had no major release in the last 6 months.
There are 1 open issues and 0 have been closed. On average issues are closed in 95 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of smarter-brokerage is current.
Quality
smarter-brokerage has no bugs reported.
Security
smarter-brokerage has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
smarter-brokerage does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
smarter-brokerage releases are not available. You will need to build from source code and install.
smarter-brokerage has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of smarter-brokerage
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of smarter-brokerage
smarter-brokerage Key Features
No Key Features are available at this moment for smarter-brokerage.
smarter-brokerage Examples and Code Snippets
No Code Snippets are available at this moment for smarter-brokerage.
Community Discussions
No Community Discussions are available at this moment for smarter-brokerage.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install smarter-brokerage
SMARTER brokerage is written in python and requires flask and kubernetes python API. Both can be installed using pip3:. Clone this repository https://gitlab.com/arm-research/smarter/smarter-brokerage. Insert the credentials that allow access to the SMARTER Node Manager in a file (ex: copy kube.config) and set the environment variable KUBECONFIG to point to the file. You can test the configuration using kubectl. The default location if the KUBECONFIG is not set is "~/.kube/config". The SMARTER Brokerage Manager needs the credentials to access the SMARTER Node Manager that manages the edge nodes, those credentials are provided in a kube.config file (KUBECONFIGEDGE). The script "execute_test.sh" runs the broker serving the API on localhost port 8080 . The following messages shows that the broker is running correctly.
Support
For any new features, suggestions and bugs create an issue on GitLab.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page