Giter Site home page Giter Site logo

p4srv6's Issues

/demo/srv6/end.am cannot be operated correctly

~$ ./p4/behavioral-model/tools/runtime_CLI.py
action end_am(PortId_t oif, EthernetAddress dmac)
oif=3, dmac=, priority=100(required for ternary table)
action end_am_d(PortId_t oif)
oif=2

What does the piece of code mean? I have strictly followed the instructions except this unknown code and I cannot operate the demo of /demo/srv6/end.am correctly. Could you explain this code in detail?
(ps. I can operate the demo of l2fwd corrrectly with the instructions and my enviroments is ok)
Looking forward to your reply~

Refactor End for different SL

There are two options (so far).

  1. use ipv6_srh.segmentsLeft as part of match key and call srv6_End0, srv6_End1 ... according to SL.
  2. Flag srv6-action matched in metadata and have srh-post-process table to do all process which would change depending on ipv6_srh.segmentsLeft.

2. could be a generic table handling different SRv6 functions (P4 actions).

Port VLAN support

Add port VLAN support to prepare for mac flooding which is required for mac learning.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.