batman-adv-virt

Tools and configurations to virtualize batman-adv via Docker, Vagrant and Packer for tests, simulations and emulations.

https://github.com/individe/batman-adv-virt

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary

Keywords

ad-hoc-network batman batman-adv container containerization docker docker-compose emulation individe mesh mesh-networks packer simulation testing testing-tools vagrant virtual-machine virtualization
Last synced: 6 months ago · JSON representation ·

Repository

Tools and configurations to virtualize batman-adv via Docker, Vagrant and Packer for tests, simulations and emulations.

Basic Info
  • Host: GitHub
  • Owner: individe
  • License: mit
  • Language: HCL
  • Default Branch: main
  • Homepage:
  • Size: 5.86 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
ad-hoc-network batman batman-adv container containerization docker docker-compose emulation individe mesh mesh-networks packer simulation testing testing-tools vagrant virtual-machine virtualization
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation

README.md

batman-adv-virt

individe.xyz endlesshorizons.xyz

Tools and configurations to ease virtualization and containerization of batman-adv via Docker, Vagrant and Packer for tests, simulations and emulations. Included tools are also A.L.F.R.E.D and nvm (with node and npm installed).

Table of contents

Requirements

Usage

Docker

Note: This docker image can be ran only on Linux machines and batman-adv kernel module must be enabled.

Note: You may need to prefix Docker commands with sudo, if it is not added to non-sudo group beforehand.

bash docker build -t batman-adv-virt . # Build the image docker run --privileged -it \ --cap-add=ALL \ -v /dev:/dev \ -v /lib/modules:/lib/modules \ batman-adv-virt # Start the image

Optionally add --name container_name to name your container, --rm flag to delete the container after you're finished with it or replace -it with -d to start the container in detached mode instead of interactive.

To open up a bash for detached container, type:

docker exec -it (container_name) /bin/bash

To detach, press Ctrl-D.

docker-compose

TBD

Vagrant

To spin up vagrant box in virtualbox, run:

vagrant up --provider virtualbox

Or replace virtualbox with some other provider, just beware, that Vagrantfile considers one eth0 interface already exists and creates another eth1 for meshing.

To ssh into a box, run:

vagrant ssh

To detach from the shh, press Ctrl-D.

After you're finished, destroy a box by running:

vagrant destroy

Packer

To build a vagrant box with packer run:

packer build batman-adv.pkr.hcl

You can also change the builder, by replacing vagrant in batman-adv.pkr.hcl with some other builder. Available builders are:

qemu hyperv-iso azure-arm vsphere-clone amazon-ebsvolume alicloud-ecs triton osc-bsuvolume docker googlecompute osc-chroot oracle-classic parallels-iso oracle-oci openstack virtualbox-iso scaleway proxmox-iso amazon-chroot vsphere-iso proxmox-clone virtualbox-ovf osc-bsu ncloud hcloud hyperv-vmcx jdcloud parallels-pvm vmware-iso amazon-ebs ucloud-uhost lxd proxmox vagrant file amazon-ebssurrogate vmware-vmx tencentcloud-cvm lxc oneandone amazon-instance null virtualbox-vm yandex hyperone profitbricks azure-chroot linode digitalocean azure-dtl osc-bsusurrogate cloudstack

Simulation example

TBD

License

Licensed under MIT licence, Copyright (c) 2022 Aleksa Milošević.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Milošević"
  given-names: "Aleksa"
title: "batman-adv-virt, a toolkit for fast and easy virtualization and containerization of batman-adv instances"
version: 0.1.0
date-released: 2022-10-18
url: "https://github.com/individe/batman-adv-virt"

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 3
  • Total Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
ajaleksa a****c@g****m 3

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Dockerfile docker
  • debian bullseye build