OpenStack Interactivity between Neutron and Horizon - openstack

I am curious about the how the horizon interacts with neutron in OpenStack.
For example, when I upload a yaml-file in Orchestration, it will show the network topology in Network Topology.
I am customizing a map which could show the details in each node. So I have to know the interactivity about the neutron and horizon. I do not know how the horizon-level gets the information from neutron-level (specifically says, how can I build the topology from the data in neutron).
Could you please tell why and how the interactivity between launching the stack and building the network topology? Thanks in heart.

Horizon is a Django app which uses Python clients to interact with various OpenStack components (keystone, nova, neutron, etc).
Heat is OpenStack's orchestration engine which creates OpenStack resources from a template.
You have to go through the Horizon code to understand how Horizon-Neutron interaction works.
Horizon network topology-github

Related

How to get access to the HTTP Rest API end points of network parameters in corda community edition?

I am trying to check the HTTP network map protocol in the sample cordapp example, I have used network bootstrapper to generate node info files. But I need to check the Rest API end points mentioned in the docs: /network-map/publish.
Is it necessary to set up the network map for this? If required,I am not able to get the corda-network map jar file for the community edition. How to access those API endpoints ?
The cordapp samples available in the samples repository uses a locally bootstrapped network. The network bootstrapper is used for this purpose to generate the node-info and the certificates of the network participants. It's a quick and easy way to set up a static Corda network for the purpose of local deployment and testing.
It doesn't have a network map service. The node-info files of each participant is dropped into the additional-node-info folder of the nodes which serves as the network map cache for the node.
The REST end-points you mentioned are available in a real network map service running as part of a dynamic Corda network setup (mostly) used for production deployments.
R3 does not provide a community version of the network map.
However, there is a commercial offering called CENM (https://docs.corda.net/docs/cenm/1.2.html). It's not just a Network Map but also takes care of other aspects of Network Management like Identity and Signing.
In case you are looking for an open-source network map you could try out Cordite Network Map (https://marketplace.r3.com/solutions/cordite-network-map) developed by one of our partners.

Where to get the nerwork-map-<Version>.jar for corda network setup for the Community edition?

I have been try to setup the network map. Where can we get the network-map.jar to run the standalone network mapper for community edition.
Or Network map only comes with enterprise version.
Thanks
There is no community version of the network map provided by R3.
However, as Sneha mentioned there is a commercial offering called CENM (https://docs.corda.net/docs/cenm/1.2.html). It's not just a Network Map but also takes care of other aspects of Network Management like Identity and Signing.
In case you are looking for an open-source network map you could try out Cordite Network Map
(https://marketplace.r3.com/solutions/cordite-network-map) developed by one of our partners.
in open source version, network maps functionality is handled by adding the node-info files to each node's additional-node-infos folder.
If you want to run a stand-alone network map, one option is to use CENM - Corda Enterprise Network Manager. With CENM you get access to the pki-tool, identity manager and network map jars which helps you to set up a private network.
https://docs.corda.net/docs/cenm/1.1/network-map.html
Apart from that if you wish to experiment with a standalone network map, you could also try out a stand-alone network map built by one of our engineers. Pasting the link below
https://github.com/roastario/spring-boot-network-map

How to setup multinode corda network in lab

I followed the documentation from docs.corda.net to setup 3 node dev corda network on a single machine.
My goal is to setup multinode production level corda network that involves multiple physical machines. Can someone please help me how can I achieve this?
I want to learn about the corda network capabilities, its different configuration modes etc etc.
I've already setup 3 node dev corda network on a single machine
There are two approaches with which you can achieve the above
Using the network bootstrapper , refer : https://docs.corda.net/network-bootstrapper.html
Using the Network Map Service
For a production level it is preferable to use the network map service as you can manage the nodes dynamically. This is not possible with the networkbootstrapper as the nodes informations are shared within the nodes during the boostrapping which cannot be changed
For NetworkMap Service you can refer Cordite NetwokMapService.

Clarification on corda network type of cordapp example

I m referring Can corda nodes communicate when run from different networks?
I am looking at 3.3 opensource cordapp example and could see the certificates are generated automatically while deployment with devmode=true.
Can I get information - whether it is configured with network type as business network or compatibility zone ?
Can I get more information on how to configure as a business network? is there any example?
If you use deployNodes to create your nodes, you create a mini-compatibility zone of nodes running in devMode. Unlike a traditional compatibility zone, you need to use the Network Bootstrapper tool to manually add nodes to the network, rather than using the dyanmic joining process available in a compatibility zone with a central network map service.
A business network is a sub-group within a compatibility zone of nodes operating for a specific business purpose. A node can be part of multiple business networks. You can read more about business networks here: https://solutions.corda.net/business-networks/what-is-a-business-network.html.

openstack: relation between controller & compute nodes

I just started playing with openstack, and many things still don't understand. As I see it, to start a VM instance, we normally execute some commands on the controller e.g.
glance image-create
nova boot
But how does the controller know:
1) on which compute node to start the VM
2) how many compute nodes it has
Where does it take this information?
The controller will boot determine the location to launch the instance based on the information provided by nova-scheduler:
http://docs.openstack.org/juno/config-reference/content/section_compute-scheduler.html
As for how many compute nodes are recognized, this is determined when you register a compute node with nova compute on the controller. Here is a reference for how compute is installed and configured for RHEL/CentOS/Fedora:
http://docs.openstack.org/juno/install-guide/install/yum/content/ch_nova.html
I'd suggest to learn the OpenStack software architecture for such questions, for example, look at this page http://docs.openstack.org/openstack-ops/content/example_architecture.html.
Simply speacking, OpenStack saves all the configurations in database which is by default mysql, so Controller knows all the information. A Nova component named nova-scheduler running as a controller service will decide where to place VM among all available hosts.
A good staring point is to deploy multiple nodes env. You will know how OpenStack works in the deployment procedure.

Resources