Skip to content

[BUG] polycubectl - "no cube found named xxx" #135

@gianlu33

Description

@gianlu33

Describe the bug

Some commands do not work using the notation
polycubectl <service_type> <service_name> <add/remove/set/..>

To Reproduce

  1. polycubectl bridge add b1 stp-enabled=true -> ok
  2. polycubectl bridge b1 ports add p1 -> ok
  3. polycubectl bridge b1 stp 1 set priority=28672 -> error

Output after command 3. -> No cube found named bridge

Additional context

If i omit <service_type>, the command works correctly
E.g. polycubectl b1 stp 1 set priority=28672 -> ok

Strangely, this bug does not happens everytime (for example command 2. above does not present any problem)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions