Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict one instruction type per instruction #169

Open
Alopalao opened this issue Aug 10, 2023 · 0 comments
Open

Restrict one instruction type per instruction #169

Alopalao opened this issue Aug 10, 2023 · 0 comments
Labels
epic_general Generic enhancement and/or fixes priority_low Low priority

Comments

@Alopalao
Copy link

There are 7 types of instructions:

  • Meter
  • Apply-Actions
  • Clear-Actions
  • Write-Actions
  • Write-Metadata
  • Stat-Trigger (not supported by Open vSwitch)
  • Goto-Table

There should not be duplicated intruction_type when creating a flow. For example the following should not be accepted:

            "instructions": [
            	{   
                    "instruction_type": "apply_actions", 
            		"actions": [{"port": 11, "action_type": "output"}]
                },
            	{
                    "instruction_type": "apply_actions", 
            		"actions": [{"port": 10, "action_type": "output"}]
                }
            ]
@viniarck viniarck added priority_low Low priority epic_general Generic enhancement and/or fixes labels Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic_general Generic enhancement and/or fixes priority_low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants