Applying changes to Openflowj


Jordi Pala Sole
 

Okay! I see it, I compiled the openflowjava and is added automatically into distribution. 

Thanks for all.

Jordi




On Fri, Jul 18, 2014 at 1:10 PM, Michal Polkoráb <michal.polkorab@...> wrote:

You can clone openflowjava wherever you want. It is up to you, it doesn't need to be in integration.

As i said earlier - when you make a change to ofjava and then build the project with mvn clean install, jar files will be added to your local maven repository. And then during the integration build these jars will be added into distribution (opendaylight/plugins).


If you don't need to rebuild whole integration, it is enough to replace existing ofjava jars with your latest jars inside the opendaylight/plugins directory.


Michal


From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 12:57

To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
OH!! Thanks, now I'm running integration version and it's working fine (I see that is using openflowjava).
In fact, I'm insterested in making some changes on openflowjava so, I would like to know how to obtain the project. I realised that I have to do a git clone from the repository: https://git.opendaylight.org/gerrit/p/openflowjava.git. In which folder of the integration has to be pulled?. And then, which is the procedure to add the changes on the "integration" in order to make them run ok?

Thanks for all! You're helping me so much! :)

Jordi



On Fri, Jul 18, 2014 at 11:17 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Ok, so ... the controller distribution runs only with old openflow branch (old openflowplugin and openflowj). There are plans to migrate to the new openflowplugin and openflowjava.

However, I suggest you to clone / pull the integration project and run that distribution. To run the openflowjava it is enough to start integration run.sh -of13. The distribution will check if there are some dependencies in your local maven repository. If there are some dependencies missing, the distribution will download them from odl nexus. So no need to build openflowjava locally if you are not interested in openflowjava development / changes / tests.


Michal


From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 11:02

To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

We've pulled the controller project distribution. The thing is that we are fairly new to ODL, and we are not sure about how to integrate the oipenflowjava project with the controller project. For instance:

1- We git pull the openflowjava project
2- We do mvn clean install.
3- Do we then have to copy the generated jar into the controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/ folder from the controller project?
4- Do we need to modify the openflow protocol plugins bundle from the controller project?

Apologies for so many questions, and thanks for your help.-

Best Regards

Jordi





On Fri, Jul 18, 2014 at 10:50 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


right - openflowjava has its own repository. Your link is pointing to correct location.


You can run openflowjava and openflowplugin in two ways:

 - run.sh from openflowplugin distribution

 - run.sh -of13 from integration distribution


And it supports both of10 and of13.


Michal



From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 10:43
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 



MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 


MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 


MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo



Michal Polkorab
 

You can clone openflowjava wherever you want. It is up to you, it doesn't need to be in integration.

As i said earlier - when you make a change to ofjava and then build the project with mvn clean install, jar files will be added to your local maven repository. And then during the integration build these jars will be added into distribution (opendaylight/plugins).


If you don't need to rebuild whole integration, it is enough to replace existing ofjava jars with your latest jars inside the opendaylight/plugins directory.


Michal


From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 12:57
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
OH!! Thanks, now I'm running integration version and it's working fine (I see that is using openflowjava).
In fact, I'm insterested in making some changes on openflowjava so, I would like to know how to obtain the project. I realised that I have to do a git clone from the repository: https://git.opendaylight.org/gerrit/p/openflowjava.git. In which folder of the integration has to be pulled?. And then, which is the procedure to add the changes on the "integration" in order to make them run ok?

Thanks for all! You're helping me so much! :)

Jordi



On Fri, Jul 18, 2014 at 11:17 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Ok, so ... the controller distribution runs only with old openflow branch (old openflowplugin and openflowj). There are plans to migrate to the new openflowplugin and openflowjava.

However, I suggest you to clone / pull the integration project and run that distribution. To run the openflowjava it is enough to start integration run.sh -of13. The distribution will check if there are some dependencies in your local maven repository. If there are some dependencies missing, the distribution will download them from odl nexus. So no need to build openflowjava locally if you are not interested in openflowjava development / changes / tests.


Michal


From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 11:02

To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

We've pulled the controller project distribution. The thing is that we are fairly new to ODL, and we are not sure about how to integrate the oipenflowjava project with the controller project. For instance:

1- We git pull the openflowjava project
2- We do mvn clean install.
3- Do we then have to copy the generated jar into the controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/ folder from the controller project?
4- Do we need to modify the openflow protocol plugins bundle from the controller project?

Apologies for so many questions, and thanks for your help.-

Best Regards

Jordi





On Fri, Jul 18, 2014 at 10:50 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


right - openflowjava has its own repository. Your link is pointing to correct location.


You can run openflowjava and openflowplugin in two ways:

 - run.sh from openflowplugin distribution

 - run.sh -of13 from integration distribution


And it supports both of10 and of13.


Michal



From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 10:43
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 



MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 


MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 


MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo


Jordi Pala Sole
 

OH!! Thanks, now I'm running integration version and it's working fine (I see that is using openflowjava).
In fact, I'm insterested in making some changes on openflowjava so, I would like to know how to obtain the project. I realised that I have to do a git clone from the repository: https://git.opendaylight.org/gerrit/p/openflowjava.git. In which folder of the integration has to be pulled?. And then, which is the procedure to add the changes on the "integration" in order to make them run ok?

Thanks for all! You're helping me so much! :)

Jordi



On Fri, Jul 18, 2014 at 11:17 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Ok, so ... the controller distribution runs only with old openflow branch (old openflowplugin and openflowj). There are plans to migrate to the new openflowplugin and openflowjava.

However, I suggest you to clone / pull the integration project and run that distribution. To run the openflowjava it is enough to start integration run.sh -of13. The distribution will check if there are some dependencies in your local maven repository. If there are some dependencies missing, the distribution will download them from odl nexus. So no need to build openflowjava locally if you are not interested in openflowjava development / changes / tests.


Michal


From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 11:02

To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

We've pulled the controller project distribution. The thing is that we are fairly new to ODL, and we are not sure about how to integrate the oipenflowjava project with the controller project. For instance:

1- We git pull the openflowjava project
2- We do mvn clean install.
3- Do we then have to copy the generated jar into the controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/ folder from the controller project?
4- Do we need to modify the openflow protocol plugins bundle from the controller project?

Apologies for so many questions, and thanks for your help.-

Best Regards

Jordi





On Fri, Jul 18, 2014 at 10:50 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


right - openflowjava has its own repository. Your link is pointing to correct location.


You can run openflowjava and openflowplugin in two ways:

 - run.sh from openflowplugin distribution

 - run.sh -of13 from integration distribution


And it supports both of10 and of13.


Michal



From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 10:43
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 



MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 


MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo



Michal Polkorab
 

Ok, so ... the controller distribution runs only with old openflow branch (old openflowplugin and openflowj). There are plans to migrate to the new openflowplugin and openflowjava.

However, I suggest you to clone / pull the integration project and run that distribution. To run the openflowjava it is enough to start integration run.sh -of13. The distribution will check if there are some dependencies in your local maven repository. If there are some dependencies missing, the distribution will download them from odl nexus. So no need to build openflowjava locally if you are not interested in openflowjava development / changes / tests.


Michal


From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 11:02
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

We've pulled the controller project distribution. The thing is that we are fairly new to ODL, and we are not sure about how to integrate the oipenflowjava project with the controller project. For instance:

1- We git pull the openflowjava project
2- We do mvn clean install.
3- Do we then have to copy the generated jar into the controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/ folder from the controller project?
4- Do we need to modify the openflow protocol plugins bundle from the controller project?

Apologies for so many questions, and thanks for your help.-

Best Regards

Jordi





On Fri, Jul 18, 2014 at 10:50 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


right - openflowjava has its own repository. Your link is pointing to correct location.


You can run openflowjava and openflowplugin in two ways:

 - run.sh from openflowplugin distribution

 - run.sh -of13 from integration distribution


And it supports both of10 and of13.


Michal



From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 10:43
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 



MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 


MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo


Jordi Pala Sole
 

Hi Michal,

We've pulled the controller project distribution. The thing is that we are fairly new to ODL, and we are not sure about how to integrate the oipenflowjava project with the controller project. For instance:

1- We git pull the openflowjava project
2- We do mvn clean install.
3- Do we then have to copy the generated jar into the controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/ folder from the controller project?
4- Do we need to modify the openflow protocol plugins bundle from the controller project?

Apologies for so many questions, and thanks for your help.-

Best Regards

Jordi





On Fri, Jul 18, 2014 at 10:50 AM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


right - openflowjava has its own repository. Your link is pointing to correct location.


You can run openflowjava and openflowplugin in two ways:

 - run.sh from openflowplugin distribution

 - run.sh -of13 from integration distribution


And it supports both of10 and of13.


Michal



From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 10:43
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 



MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo



Michal Polkorab
 

Hi Jordi,


right - openflowjava has its own repository. Your link is pointing to correct location.


You can run openflowjava and openflowplugin in two ways:

 - run.sh from openflowplugin distribution

 - run.sh -of13 from integration distribution


And it supports both of10 and of13.


Michal



From: Jordi Palà <jordipalasole@...>
Sent: 18 July 2014 10:43
To: Michal Polkoráb
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] Applying changes to Openflowj
 
Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo 



MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo


Jordi Pala Sole
 

Hi Michal,

I was looking for openflowjava project in the controller but I couldn't find it. I see that the project is outside of the controller  (here: https://github.com/opendaylight/openflowjava). Is it correct?. If it is correct, which is the method to add the new openflowjava library to the controller?. I see that if you want to use it you have to add of13 parameter on run.sh, but It is compatible with old versions like of10?

Thanks for all,  

Jordi Pala


On Fri, Jul 18, 2014 at 9:52 AM, Jordi Palà <jordipalasole@...> wrote:
Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo




Jordi Pala Sole
 

Hi Michal,

Thanks for all. I hesitated to choose the right one. I will try asking to controller-dev!. :)

Regards,

Jordi Pala


On Thu, Jul 17, 2014 at 1:24 PM, Michal Polkoráb <michal.polkorab@...> wrote:

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo



Michal Polkorab
 

Hi Jordi,


you are writting to wrong dev list. Openflowjava-dev list is for the new ofjava used with the new ofplugin. Please try sending your email to controller-dev, as the old openflowj is located there. Also there is much more developers that can help.


Personally I would also try removing the 1.0.2 jar from plugins directory. But osgi is really not my domain.


Regards

Michal Polkorab


From: Jordi Palà <jordipalasole@...>
Sent: 17 July 2014 12:57
To: openflowjava-dev@...
Subject: [openflowjava-dev] Applying changes to Openflowj
 
Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi


 

MichalPolkoráb

Software Developer


Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
+421 918 378 907
/ michal.polkorab@...
reception: +421 2 206 65 111
/ www.pantheon.sk

logo


Jordi Pala Sole
 

Hi,

Could anyone explain how to add correctly the openflowj.jar when is compiled? I follow this steps:

1. I add some lines to the code (some variables to debug, so nothing complex).
2. Go to /ODL_controller/controller/third-party/openflowj (by shell, I'm using linux)
3. mvn clean install
4. It generates a org.openflow.openflowj-1.0.3-SNAPSHOT.jar (inside target folder).
5. Copy the jar into controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

Then I stop the service openfloj (version 1.0.2) and start the version 1.0.3-SNAPSHOT (the last one of git and compiled by me). 

I don't know why changes are not applied (debugging is not showing new variables). If I go to osgi-system-bundle (web) I can see that openflowj is updated because the date of the last modification is correct.

Thanks for all.

Jordi