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

Rf dynamic libnl #3

Open
wants to merge 66 commits into
base: libnl
Choose a base branch
from
Open

Rf dynamic libnl #3

wants to merge 66 commits into from

Conversation

trungdtbk
Copy link

No description provided.

Josh Bailey and others added 30 commits November 3, 2014 16:09
* don't busy wait so much on routing updates.
* lxc images should be able to use nameservers.
- Modified rfclient/RFClient.cc
- Modified rftest/rftest2
Changes to have rftest2 work in vandervecken branch
The receive buffer was being forced twice on the neighbour update socket.
The second call should have been asserting the receive buffer increase
on the route update socket.

Without this, large routing update bursts were resulting in dropped
netlink messages, and thus missing FIB updates in the OF dataplane.

These dropped netlink messages can be seen by running:
  $ cat /proc/net/netlink
and looking for non-zero values in the "Drops" column.

Signed-off-by: Stacey Sheldon <stac@corsa.com>
The paths for the external (non-default) config files was missing
a '/' which meant that the startup script would never find the
external config files and would always use the default files in /tmp.

Signed-off-by: Stacey Sheldon <stac@corsa.com>
…th-fix

projectw.sh: fix path to external config files for rfserver
…ce-fix

rfclient: apply setsockopt(SO_RCVBUFFORCE) to netlink socket for routes
Added the OSPF constant for enabling rftest2 in vandervecken branch
…teMod

when it has been sent to datapath). Don't acknowledge a RouteMod from rfclient,
until rfproxy acknowledges it. Probably too aggressive, but more important
that is correct at this stage (ie. RouteMods must not be lost).
This avoids a compilation problem.

Signed-off-by: Chris <chris.lorier@reannz.co.nz>
rflib: TLV: fix shared_array constructor invokation
Initial push as for backup
Details of change will be explained later

Signed-off-by: Trung Truong <trungdtbk@gmail.com>
Initial push as for backup
Details of change will be explained later

Signed-off-by: Trung Truong <trungdtbk@gmail.com>
Update RPC server and client

upload test script for Mininet (mytest/test2.py)

Signed-off-by: Trung Truong <trungdtbk@gmail.com>
Signed-off-by: Trung Truong <trungdtbk@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Here the things:

To make it simple, this verion defines 3 methods: delete/add/update
delete method removes entry from config table, rf table & notify proxy
to update its table. It also removes flow entries based on in_port and
out_port matches
add method allows to add new config map between vm_port & dp_port, if
they are not in use.
update method allows to change the map config of a vm_port or a dp_port

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Change in the way handling RouteMod with ISL: Search for specific VM.
That's it, only install flows to ISL port that is configured for the vm

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Included with two test scripts. The scripts require some preprations for
LXC container beforehand.

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Kris libnl work)
Add build.sh (downloaded from Kris libnl)

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
trungdtbk and others added 30 commits January 10, 2015 01:16
expected

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
two VMs, each has two ports, are mapped to two switches.
two sw have 3 inter-links, & each has a port connected to a host 
there are 3 tests: each uses one inter-link

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
routemodtranslator for it. This causes trouble when creating mapping
config after a dp has started

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
have to wait until ARP expires to have switch table updated. This makes
rfclient to send RouteMods as rfserver's request

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Need to pass by reference not by value to FlowTable thread
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
(because the routes were added before the port is mapped)

Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
Signed-off-by: Trung Truong <huutrung.truong@gmail.com>
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.

None yet

4 participants