Skip to content

Bug: BGP module fails when applying routing policies #1

@NetOpsChic

Description

@NetOpsChic

Description:
When specifying export-policy or import-policy in the bgp module, SR Linux returns:

JSON data for schema node must start with an object or with a list: 
Parse error on line 1: "export-connected"

Cause:
The module currently writes a plain string to /bgp/group/export-policy, but SR Linux expects entries under:

/bgp/group/apply-policy/export-policy[policy="<name>"]

Fix needed:
Update module to create list entries (value: {}) under apply-policy/export-policy and apply-policy/import-policy.

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