8000 Dynamic adding host with a quagga service MiniNExT object · Issue #16 · USC-NSL/miniNExT · GitHub
[go: up one dir, main page]

Skip to content

Dynamic adding host with a quagga service MiniNExT object #16

Open

Description

@sinhayash

Is there a way to add a host with a quagga service after MiniNExT has been instantiated? For example:

net = MiniNExT(link=TCLink)
node = net.addHost(name=name, ip=ip, hostname=name, privateLogDir=True, cls=Host,
      privateRunDir=True, inMountNamespace=True, inPIDNamespace=True, inUTSNamespace=True,
      service=quaggaSvc, nodeConfig=quaggaSvcConfig)

I cannot create a topo class and pass to MiniNExT since the network changes dynamically.

Activity

  1. sinhayash commented on Mar 11, 2018

    @sinhayash
    Author

    @mjnovice, @edgarcosta92, @bschlinker please tell if this is possible ?

  2. edgar-costa commented on Mar 11, 2018

    @edgar-costa

    Its possible (but would need some mininet/mininext tweaks). You need to see what MiniNext() and MiniNext().start() do, so you can replicate that when you add your new node into the network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0