-
Notifications
You must be signed in to change notification settings - Fork 136
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
nf_router parameters #237
Comments
I've never worked with the NF router, but here is what I found in the nf_router.c. It references a struct called |
Yeah that's right, it's the service is of the NF to forward to |
@khaledshahine - please let us know if you have other questions. Also, we would be grateful if you can make a pull request to add a line to the Readme.md file documenting the file format. |
In my test result, nf_router forward flow by Destination IP, and the action is next NF to forward. Like this [Destination IP,Next NF]. But it could not set multiple next NFs, i also want someone gives some suggestiones. |
Can you clarify what you are trying to do? Are you trying to send from the router to one of several NF replicas? The easiest way to do that is to start all the NFs with the same service ID. Then ONVM will automatically load balance across them. |
Not that way, multiple next NFs means a service chain. Just like this : [SFC : 2(service id) 3 4 5 ]. But flows need to go through 2 5 3. nf_router first forward flows to 2, but could not set after 2 will be forward to 5, because nf 2 set the default action is forward to 3. I also try to use NF (flow table ) .but it could not run....NF (flow table )README.md doesn't give me help. |
OK, in that case you will want to use to use the FlowDirector API (https://github.com/sdnfv/openNetVM/blob/master/onvm/onvm_nflib/onvm_flow_dir.h). This lets you specify a service chain (a list of actions, like You are right that currently the To see the basics of maintaining per_flow state, we suggest you look at the |
@twood02 I have an expectation whether it is possible to control the service chain flow tables by connecting the SDN controller. I seem to this mentioned in NFVnice, but I can’t understand the way it is deployed. May i get the guide for this form the team member? Thanks a lot. |
@Yongeverhuang in NFVNice we didn't want the SDN lookup cost to influence results, so the flow chain rules were defined with the FlowDirector API mentioned above. If you need an SDN controller to provide the rules, then you will have to look at the I think this is a sample script that we used with the SDN controller. It might be useful to get you started If you have more issues with using an SDN controller or the FlowDirector API, please make a separate Issue. Also, it would be helpful if you filled out this short user survey for us so that we can have a better idea of how people are using OpenNetVM and what parts we need to improve. Thanks |
I want to know what's the parameter next to the IP in the nf_router (route.conf file) refer to ?
The text was updated successfully, but these errors were encountered: