Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

How to extend match and actions

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

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
0

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

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

Comments

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 -0800 )edit

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

wangruxun ( 2015-04-10 07:32:18 -0800 )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. `https://git.opendaylight.org/gerrit/gitweb?p=openflowjava.git;a=commit;h=01a3e436f6947964998fcf9a9f50e68d13e63e05`

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

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

wangruxun gravatar image

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

edit flag offensive delete publish link more

Comments

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 -0800 )edit

could you provide a detail method/

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

Question Tools

Follow
1 follower

Stats

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

Seen: 164 times

Last updated: Apr 08 '15