+
Skip to content

Nokia SRLinux icmp-type not supported #426

@XioNoX

Description

@XioNoX

According to https://github.com/aerleon/aerleon/blob/main/aerleon/lib/nokiasrl.py#L236C74-L236C85 icmp-type seems to be supported.

But a configuration like:

filters:
  - header:
      comment: |-
        Testing 
      targets:
        nokiasrl: test inet6 r24.3.2
    terms:
      - name: deny_ra
        protocol: icmpv6
        icmp-type: router-advertisement
        action: deny

Outputs:

[
  {
    "acl-filter": {
      "_annotate": "$Id:$ $Date:$ $Revision:$",
      "description": "Testing ",
      "entry": [
        {
          "action": {
            "drop": {}
          },
          "description": "deny_ra",
          "match": {
            "ipv6": {
              "next-header": 58
            }
          },
          "sequence-id": 5
        }
      ],
      "name": "test",
      "type": "ipv6"
    }
  }
]

Which blocks all ICMPv6 instead of only some types. The same issue happens with v4 as well.

Aerleon should probably not accept that configuration option until it's properly supported in order to avoid some outage.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载