-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configuration of shim-tcp-udp #9
Comments
Following up #8 , I think that if we want to support the manager it makes sense the second option you propose. All the virtual machines have a management interface, and all the corresponding TAPs are bridged together into a mgmt bridge. But then you have different options to allow connectivity to an external manager:
What about solution 1? It seems the best one to me... |
Agree 1) seems the best one. How could we automate creation of this separate QEMU VM as much as possible? Could we have a script that starts it given a path to the image? What is the best way to create the image without using buildroot? |
Ok agreed on 1, I will do it. If you are not familiar with qemu you can first create the empty image
then download the ISO of a distribution you want to use, and use this script available at https://github.com/vmaffione/qrun
install the OS and shutdown the VM. Then you can run the VM with
|
I've added support for --manager option. When you specify it, the system automatically creates a normal DIF NMS.DIF laying over a shim DIF, where all the nodes are involved. Then it adds the MAD configuration in the ipcmanager.conf. I tried to run a scenario (without manager), and it seems to do what expected. Could you give a try? |
Just tried it, there's one thing that should be fixed. In the NMS DIF, each IPCP only needs to enroll with the IPCP in the system running the Manager (it's a different enrollment strategy than the other ones, we could call it "star"). The problem is that the machine with the Manager is not there yet, but I would do the following: If the --manager option is specified, gen.py will also create an extra machine with the custom manager image (when we have it, the same image as others for now) and the NMS DIF; all the other IPCPs in the NMS DIF will only enroll to this one. What do you think? |
Yes, it seems reasonable, I will do it! |
I updated the code so that:
Could you try these new features? |
It would be nice if some of the machines could have an interface with a routable IP address configured, and the demonstrator allowed for the configuration of shim DIFs over TCP/UDP. This way RINA experiments could be extended outside of the machine where the demonstrator is installed.
(e.g. useful if you want to setup a datacentre in the demonstrator machine, and then have a number of laptops connecting to the different tenant DIFs and play quake for instance - as we did in the TNC demo)
The text was updated successfully, but these errors were encountered: