Skip to content

Conversation

@alshabib
Copy link
Contributor

No description provided.

Praseed Balakrishnan and others added 17 commits September 4, 2014 10:30
Conflicts:
	java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java
	java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java
	java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/CircuitSignalID.java
Conflicts:
	c_gen/c_test_gen.py
	java_gen/java_type.py
	java_gen/pre-written/pom.xml
	java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchField.java
	java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/MatchFields.java
	loxi_ir/ir_offset.py
@bsn-abat
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these all be capitalized?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should inherit from an of_action_<experimenter name> class.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leenheer could you have a look at this?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the comment. Care to elaborate?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally add a level to the class hierarchy for each discriminator. of_action_experimenter dispatches to the next level based on the "experimenter" field, and of_action_bsn (for example) dispatches on the "subtype" field.

I think the current code works only because the are no other actions for that experimenter ID.

Please create a new file in openflow_input named after the experimenter (like bsn, nicira, and calient) and add a of_action_ there. Then of_action_circuit (actually of_action__circuit) can inherit from the new class.

@rlane
Copy link
Contributor

rlane commented Aug 21, 2015

Overall looks good. I assume it passes make check-all. I did not carefully review the content of the new messages because I assume they describe OpenFlow extensions already in use.

The new input files need copyright headers. You can copy from e.g. standard-1.4 and add your copyright to it.

@alshabib
Copy link
Contributor Author

Can someone help us merge this?

@rlane
Copy link
Contributor

rlane commented Feb 4, 2016

Can you rebase this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants