Ask Your Question

How to extend match and actions

asked 2015-04-07 23:46:28 -0700

jiangshuimei gravatar image

I want to add some more keys for matching and extend more actions.But I don't know which plugin I shound modify.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-04-08 02:45:21 -0700

Vishal Thapar gravatar image

Openflowplugin and Openflowjava.

Yang files in openflowjava/openflow-protocol-api.src/main/yang would be a good starting point on how to define/augment matches and actions.

edit flag offensive delete publish link more


HI,Vishal Thapar: ,I have some problem and need your help.I want to add a match and action.But I don't know how to modify the project. By reading your answer,I think I should add an augmentation to existing model in openflowJava project or in openflowplugin/extension. Do I need to modify controller's code? what's the relationship between openflowJava ,openflowplugin and controller could you tell me the detail method to add a action?thanks.

wangruxun ( 2015-04-10 07:31:34 -0700 )edit

Can you give me a detail example and show me the process.Thanks.

wangruxun ( 2015-04-10 07:32:18 -0700 )edit

I'd recommend sending out a mail to openflowplugin or openflowjava mail lists. I haven't tried this recently so not sure of exact steps. I'd recommend take a look at any existing commit that added extensions for use as reference. e.g. `;a=commit;h=01a3e436f6947964998fcf9a9f50e68d13e63e05`

Vishal Thapar ( 2015-04-15 23:56:14 -0700 )edit

answered 2015-04-08 02:59:35 -0700

wangruxun gravatar image

I think the above answer is not the best can reference openflowplugin/extensionfiles to understand .

edit flag offensive delete publish link more


Changes would be required in both openflowjava and openflowplugin. Openflowplugin is the interface for applications while openflowjava handles serialization/deserialization of pkts between controller and switches.

Vishal Thapar ( 2015-04-09 01:32:15 -0700 )edit

could you provide a detail method/

wangruxun ( 2015-04-10 06:36:00 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-07 23:46:28 -0700

Seen: 155 times

Last updated: Apr 08 '15