Skip to content

[BUG] Unable to declare routing.community in groups #2154

Closed
@jbemmel

Description

@jbemmel

Lab:

---
groups:
  test:
    members: [ x ]
    module: [ routing ]
    routing:
     community:
      c1: '65233:101'
     policy:
      set_pref:
      - match.community: c1
        set.locpref: 120

nodes:
  x:
   routing:
     community:
      c2: '65233:102'
     policy:
      set_pref:
      - match.community: c2
        set.locpref: 130

Result:

user@vm:~/$ netlab create /tmp/community_in_group.yml
[ERRORS]  Errors found in community_in_group.yml
[TYPE]    routing: attribute 'topology.groups.test.routing.community.c1[1]' must be a dictionary, found str
[HINT]    use 'netlab show attributes --module routing' to display valid attributes
[FATAL]   Cannot proceed beyond this point due to errors, exiting

Commenting out the 'groups' part, things work fine at the node level

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions