Skip to content

chi.network.wizard.create_network throws TypeError #41

@robertu94

Description

@robertu94

I've been trying out the chi library to allocate resources for my experiments, but I've run into a few different issues. Here is one of them. According to the docs, chi.network.wizard.create_network with gateway=True should create a network with NAT for the nodes. Since I wanted that, tried to use this function but got this exception.

Traceback (most recent call last):
  File "<stdin>", line 17, in <module>
  File "/home/runderwood/git/libpressio-stream/devops/venv/lib64/python3.11/site-packages/chi/network.py", line 826, in create_network
    router = create_router(router_name, gateway=gateway)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: create_router() got an unexpected keyword argument 'gateway'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions