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

jamoluhrsen's profile - activity

2017-02-08 22:47:28 -0700 answered a question an odl cluster error

we also have some probably better documentation around setting up clustering here. Specifically, we package some scripts with the distribution itself to help making setting things up easier (hopefully)

2016-10-31 11:27:40 -0700 answered a question Not able to add Flood flow on Table 0

one interesting comment in the original question was that the flow was successfully added to the switch via restconf using table 0, but the java method failed.

would it be possible to sniff the traffic between ODL and the switch when you are having trouble? do you see a flowmod sent down to the switch? if so, compare the flowmods between the restconf method and the java method. If not, then we can probably assume some trouble in the java method itself.

2016-10-24 09:56:18 -0700 answered a question Automation of Wireshark part, in order to filter all the packet level details of the message transaction between the Switch and the Controller

I don't know of any wireshark related automation in the OpenDaylight project at this point. There was a system test library created around tcpdump but it's not being used by any current system tests. Maybe it can help somehow?

2016-10-07 21:25:33 -0700 commented answer Using ODL Beryllium with HP Procurve 6600 switch

glad it worked out for you. sounds like you had a packet storm of some sort. I think the l2switch project is not totally reliable so take care when using it. BTW, Boron is out now. give it a try :)

2016-09-20 08:07:54 -0700 commented answer "Unable to login" via DLUX

@vinllen, if possible you can write how you solved it so others in the future can learn from it.

2016-09-19 11:17:06 -0700 commented answer "Unable to login" via DLUX

another thing to check would be a curl command to restconf to see if that is healthy. like this: curl -u "admin:admin" http://$ODL_IP:8181/restconf/modules

2016-09-19 11:16:22 -0700 commented answer "Unable to login" via DLUX

try a clean startup. you can just unzip the distro again, or you can remove the data, snapshot and journal directories before starting karaf. Also, check the karaf.log file for any errors when this happens to find some clues.

2016-09-13 14:09:58 -0700 commented answer Using ODL Beryllium with HP Procurve 6600 switch

great debugging, btw. I wonder if you might not have all the right knobs turned to table 200 for the l2switch app. here is their Be user guide: https://wiki.opendaylight.org/view/L2_Switch:Beryllium:User_Guide you can do a pkt cap on your hosts. I bet they are sending arp packets but no response

2016-09-07 15:43:27 -0700 answered a question Using ODL Beryllium with HP Procurve 6600 switch

I don't know the final solution here, but some comments anyway in case they help.

In your Result section above you mentioned the three flows table 0 -> table 100 (drop); table 200 (drop). I think those might be default from your procurve switch, and not coming from ODL. Either way, telling l2switch to use table 100 seems like the right thing to do.

There may be some bug though, if the switch is rejecting the flow mod with "OFPETBADMATCH (4) and its code is OFPBMCBAD_FIELD (6)." Can you dig a little more on that issue and see if you can determine what the bad match or bad field is? You can also send that kind of question (with details) to the openflowplugin-dev@lists.opendaylight... mailing list.

when using OF1.0, that first rule you see with ethertype 0x88cc is the rule that tells the switches to send all LLDP (link discovery) packets to ODL. that's how it learns the links and is able to paint them in the GUI/DLUX. Unfortunately I cannot see the other rules you pasted. There is a link to see (more), but it's not showing me anything.

2016-07-21 15:19:03 -0700 answered a question How do I tell ODL to install features from local .m2 repository?

The other method that I use is to first clone, edit and build your project (in this case, DLUX) repo. That will put it's build artifacts in your local .m2 repo.

Next clone and build the integration-distribution repo. This will use any artifacts from your local .m2 repo first and then from nexus next. So, the resulting "full" distribution .zip in distribution-karaf/target/ will also have your dlux changes.

karthik330's method probably works fine, just giving another option.

2016-07-20 09:35:11 -0700 answered a question Feature install not working

when you build integration-distribution, the result should be a full distribution .zip file inside the distribution-karaf/target/ folder.

you can then unzip that file, and use ./bin/karaf to start it. There shouldn't be any external resources being pulled in in this step. All the external resources would have been pulled in when you built the integration-distribution project.

can you confirm that you have tried with the release distro (Beryllium SR2) from my previous reply and still saw these troubles?

2016-07-12 23:00:29 -0700 commented question Feature install not working

also, you can grab a released distro like this: https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf-0.4.2-Beryllium-SR2.zip see if you have problems with that in your environment just to double check.

2016-07-11 09:40:56 -0700 answered a question Add-flow for multiple vswitch

It's not clear to me, but it sounds like you are asking if you can give one add-flow request to OpenDaylight and have that replicated to multiple connected openflow switches. I do not think this is possible currently. You would have to iterate of the list of switches and repeat the flow configuration.

2016-06-27 21:02:35 -0700 answered a question see mac address table and arp cache in odl

the l2switch user guide should help, but I think you basically just want to grab the response from the operationaly inventory:nodes API and parse it as needed.

2016-06-22 22:48:18 -0700 commented answer How to get flow to database, but not pushed until asked...

I'm sure similar things have been done in the wild. I remember going through this POC before: https://github.com/BRCDcomm/bvcRestConfExample1 maybe it can provide inspriation? it's an external app that reacts on topology changes. Not exactly what you are asking, but might help.

2016-06-22 12:16:29 -0700 answered a question How to get flow to database, but not pushed until asked...

I don't think this functionality exists currently in any of the OpenDaylight projects. You could write your own application to handle this, where you'd configure your flows (in that application) and then that application can register for events with openflowplugin (e.g. packet-in) and when that event comes you would then push your flows to the config datastore for the appropriate switch (aka node).

also, just to clarify, the operational datastore is just a reflection of what currently exists in the network. you don't push/configure anything there. If a switch comes or goes, it will be automatically reflected in the operational datastore. same thing with flows. If a flow is programmed on a switch (in any fashion) it will be reflected in the operational datastore, even if it's not been configured in the config datastore.

2016-06-14 09:20:43 -0700 answered a question Links don't show on DLUX

Check which openflow tables are available in the HP ProCurve. In the past I knew that some HP switches did not support table 0, instead used table 100 as the default. I think the idea was that would be configurable eventually. If that's what you are hitting, try changing the default table to 0 on the switch.

What ODL features have you installed? There may be some ODL config we can do to tell it which tables to write it's flows. You could also manually configure specific flows to punt LLDP (that's what learns the links) packets to the controller.

2016-06-13 13:33:26 -0700 answered a question How to get the Link - traffic / congestion details from Statistics?

@karthik330, I haven't used it before, but the TSDR project does some stats collection which might have the things you are looking for. Maybe you can consume that project directly to get what you want, but if you are trying to find the code to do the collection (as an example) you might find something in that projects git repo.

https://wiki.opendaylight.org/view/TS...

2016-06-10 10:03:20 -0700 answered a question how to stop controller from creating br-int?

if you just want ovsdb functionality, you can install just "odl-ovsdb-southbound-imple-rest". You are getting the br-int created because you probably have some feature installed that is bringing in the netvirt functionality that ovsdb also has. maybe you installed "odl-ovsdb-openstack", which would do this.

2016-05-31 08:47:10 -0700 answered a question How to modify L2switch code of the Beryllium release?

Here is the l2switch config guide if it helps.

but, I think your config is setting the dropall flow to false, so the flow to drop packets instead of punting to controller is not given to your switches.

another variable in your set is the ovs version. I think ovs 2.0 will punt all packets to controller by default, whereas newer versions (e.g. 2.4) will drop all packets by default.

karthik330 is correct with the workflow. If you are building l2switch locally, and still want to use the full distribution, you have to then build the integration/distribution project which will use your l2switch changes that were built locally. But, if all you are doing is changing the config file, you don't need to build anything. you can

  • start the controller and install your l2switch feature(s). this will create the config files.
  • stop the controller
  • modify the config files, and restart.
2016-05-25 08:02:47 -0700 answered a question Unable to access web-UI on Helium ODL

Helium is getting old at this point, but I remember at some point "dlux" was removed from the URL. you can try it without that. Your steps seem ok, though. you can check karaf.log for any obvious ERROR messages. Could your local system have a proxy getting in the way?

2016-05-24 08:54:12 -0700 commented answer How to make my own module known to ODL?

@karthik330, just a small tidbit about github. that is just a mirror of the actual repos. I think it might sync daily, so it should be very accurate, but there is a small chance something newly merged in upstream ODL is not yet sync'd to github.

2016-05-24 08:53:01 -0700 commented answer How to make my own module known to ODL?

@Gamuto, the integration/distribution project is only pulling artifacts from the other ODL projects and creates a distribution .zip After you build it (mvn clean install) you will get the full .zip file in ./distribution-karaf/target/

2016-05-24 08:49:33 -0700 answered a question Web ui not showing all hosts in a topology

you can install just "odl-l2switch-switch-ui" and that will bring in the GUI (DLUX) as well as all the other features you need. Try starting from a clean slate. unzip the distribution, start karaf, install the feature. After a few mins (you can monitor CPU usage and wait until it calms down) start mininet and then see if the pings are successful.

If not, then I would look at the karaf.log for any obvious ERROR messages. You could check the flows on the mininet switches (as karthik330 alludes to).

2016-05-18 09:01:31 -0700 answered a question VTN-OpenStack integration

I've not personally tried any of this, but the VTN project has some guides you might find useful.

2016-05-12 08:10:25 -0700 commented question How to add a flow from ODL to multiple OVS switches in one go?

@Lorunification, you should move your comment to an answer as that is correct, afaik.

2016-05-11 08:22:06 -0700 commented answer can't get complete topology information

thanks for checking @bhavesh07. @luis999, maybe you can try again from scratch?

2016-05-10 21:08:16 -0700 commented question can't get complete topology information

can you provide the 8h8s.py source somehow?

2016-05-10 08:43:59 -0700 commented question can't get complete topology information

also, what is your mininet command. I can try it myself using the same ODL version and mininet topo. oh, also output of "ovs-vsctl show" once mininet is running.

2016-05-09 16:41:13 -0700 commented question can't get complete topology information

if you have verified that all of your switches are connected (some status on the switch) but it's not showing up in the operational topology response, then it seems like a bug. does pingall work? do you have any serious ERROR messages in karaf.log?

2016-05-06 08:41:20 -0700 commented question can't get complete topology information

this sounds like a bug, but can you update the question with the URI you are using with postman?

2016-05-05 21:46:34 -0700 commented answer Maven build taking too much time !

ok, so after you build l2switch you should see this folder: "distribution/karaf/target/assembly/bin". in that folder you can launch karaf. That will not give you the full distribution, but if all you care about is testing your minor l2switch changes it should speed things up.

2016-05-05 21:29:57 -0700 answered a question REST command (body) with tcp port range?

I may be wrong, but I think this might be a limitation of openflowplugin. You can ask for clarification by sending an email to openflowplugin-dev@lists.opendaylight... . If that's the case, you could request the enhancement on that list or open a bug on bugzilla.

The yang model that describes the tcp port match fields does not appear to have masking available. see here

In the meantime, as a workaround, maybe you could add 8 separate flows, one for each of the ports in your 1000-1007 range?

2016-05-05 11:34:57 -0700 answered a question Maven build taking too much time !

I don't know any maven tricks to make it faster. How long is "too much time"? just to set some expectatoins, I built l2switch (with the tests) locally in aprox 20m. Upstream it's happening in the 25m range.

2016-05-05 10:41:17 -0700 commented answer API call to get openflow:id

awesome! happy to help

2016-05-05 09:50:56 -0700 answered a question API call to get openflow:id

actually, the <id> in "openflow:<id>" should just be a decimal representation of your mac address.

we have simple python code in upstream ODL CSIT that does this, if it helps.

2016-05-04 08:39:50 -0700 commented question br-int interface.. ODL Lithium to Mirantis openstack 8 integration

additionally, can you provide the output of "curl -u admin:admin http://$ODL_IP:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/

2016-04-25 13:05:30 -0700 commented question Opendaylight github code pathetic problem of not getting build

agreed, there are not enough details here to help. Still, I posed this question for you on a mailing list. maybe one of those responses would help? https://lists.opendaylight.org/pipermail/integration-dev/2016-April/006505.html

2016-04-25 11:15:09 -0700 commented answer I am new to odl and trying to execute Hello world program. I am getting the error in checkstyle plugin of maven.

double check your maven version as well. I've recently seen some emails where people solved their problems by upgrading to a newer maven version. I'm using 3.0.5 without issues.

2016-04-13 09:50:31 -0700 commented answer karaf features installed by default

check your org.apache.karaf.features.cfg file in ./distribution/karaf/target/assembly/etc/ Does it not have the l2switch feature you want? btw, the .zip will be in distribution-karaf/target/ after you build the integration/distribtion project.

2016-04-13 09:34:59 -0700 answered a question No karaf base dir found.error while compile odlparent.Help me please.

I just ran in to this issue myself, and I resolved it by cleaning my local m2 repo (for me it was "rm -rf ~/.m2/repository) and rebuilding.

2016-04-12 15:29:26 -0700 commented question Remove all vlan tags with a flow

this is with your brocade switch with only a single table? if not, you can try the goto trick. But, I think (via email) Luis Gomez noted that your switch was not behaving correctly when you used multiple actions.

2016-04-12 09:03:55 -0700 answered a question How to check Network Speed at each link in DLUX ui?

@karthik330, sorry I am not sure if/how we can get this info easily (like via GUI) to the end user with current upstream OpenDaylight. You could create some automation to poll on port or flow statistics where you can get data/traffic counters. Using those values and your polling interval, you can calculate the "rate" on a per-flow basis. Google just landed me on Brocade's user guides, which might be useful.

Ports

Links

2016-04-12 08:50:30 -0700 commented answer installing dlux and l2switch features in startup project karaf

my featuresBoot line: featuresBoot = config,standard,region,package,kar,ssh,management,odl-l2switch-all then, ./bin/karaf to start and when I check "features:list -i | grep l2switch" I see 7 l2switch features installed. if your setup is the same and it's not working, check karaf.log for ERRORs

2016-04-12 08:46:42 -0700 commented answer karaf features installed by default

the patch in the last comment created a distribution .zip that you can get here and verify: https://jenkins.opendaylight.org/releng/job/integration-distribution-verify-boron/59/org.opendaylight.integration$distribution-karaf/

2016-04-12 08:46:06 -0700 commented answer karaf features installed by default
2016-04-12 08:15:41 -0700 commented answer installing dlux and l2switch features in startup project karaf

in "etc/org.apache.karaf.features.cfg" you will find a variable "featuresBoot". add the features you like to that line (comma separated).

2016-04-11 08:34:18 -0700 answered a question Unable to access web-ui on Beryllium

just to double check, you can run this command "feature:list -i | grep dlux" in the karaf console to double check that it's installed. On the linux console, you can do "netstat -na | grep 8181" to see if the port is indeed open. If the port is not open and dlux is installed, then I would check your karaf.log to see if there might be some clue there (search for "ERROR").

2016-04-07 10:43:27 -0700 commented answer untagging and tagging vlans

lets see if you can get some answers on the mailing list (I saw you already emailed). You know it could also be a bug on the switch side. Maybe you can try with another switch (e.g. OVS) to see what your results are?