Skip to content

Dynamic adding host with a quagga service MiniNExT object #16

@sinhayash

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.

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