Skip to content

Commit

Permalink
Add missing documentation for ActionProfile (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
tatry committed Oct 14, 2022
1 parent 7df3721 commit 4a8a1ae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,3 @@ psabpf-ctl table add pipe <ID> <TABLE> action <ACTION> key <KEY> data <DATA> [pr
- Each key can be written as IPv4 or MAC address, IPv6 is not supported yet. Values can be specified in binary, octal, decimal or hexadecimal format.
- DATA - list of action arguments. Each argument can be written as IPv4 or MAC address, IPv6 is not supported yet. Arguments can be specified in binary, octal, decimal or hexadecimal format.
- PRIORITY - value of priority. Higher value means higher priority.
-
16 changes: 15 additions & 1 deletion docs/command reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ OBJECT := { clone-session |
del-port |
table |
action-selector |
action-profile |
meter |
digest |
counter |
register }
register |
value-set }
OPTIONS := {}
```
Expand Down Expand Up @@ -98,6 +100,18 @@ ACTION := { id ACTION_ID | name ACTION_NAME }
ACTION_PARAMS := { DATA }
```
# Action Profile
```shell
psabpf-ctl action-profile add-member pipe ID ACTION_PROFILE_NAME action ACTION [data ACTION_PARAMS]
psabpf-ctl action-profile delete-member pipe ID ACTION_PROFILE_NAME MEMBER_REF
psabpf-ctl action-profile update-member pipe ID ACTION_PROFILE_NAME MEMBER_REF action ACTION [data ACTION_PARAMS]
psabpf-ctl action-profile get pipe ID ACTION_PROFILE_NAME [member MEMBER_REF]

ACTION := { id ACTION_ID | name ACTION_NAME }
ACTION_PARAMS := { DATA }
```
# Meters
```shell
Expand Down

0 comments on commit 4a8a1ae

Please sign in to comment.