Re: jayRE: Open Day Light controllers


Ajay Chopra <chopraa@...>
 

Hi ,

Please find the attached mail and let me know if we can get solution to below problem .

 

-Ajay

 

 

From: Casey Cain [mailto:ccain@...]
Sent: 22 March 2017 05:44
To: Ajay Chopra <chopraa@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: Re: jayRE: Open Day Light controllers

 

I would guess it is because your PUT statement isn't properly formatted. However, I can't say that I know.  You would need to ask the OpenFlow development team.

 

Regards,

Casey

 

On Wed, Mar 8, 2017 at 9:55 PM, Ajay Chopra <chopraa@...> wrote:

Gentle reminder .

 

From: Ajay Chopra
Sent: 09 March 2017 04:27
To: 'Casey Cain' <ccain@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: jayRE: Open Day Light controllers

 

Hi Casey ,

 

Can you tell me what could be the reason for getting the 405 Method not allowed Error message ?

 

-Ajay

 

From: Casey Cain [mailto:ccain@...]
Sent: 07 March 2017 00:05

To: Ajay Chopra <chopraa@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: Re: jayRE: Open Day Light controllers

 

You may also want to consider installing odl-l2switch-hosttracker and odl-l2switch-arphandler into ODL.

 

Best,

Casey

 

On Mon, Mar 6, 2017 at 10:29 AM, Casey Cain <ccain@...> wrote:

If you wanted to make a flow rules pipeline, it would look something like this:

 

- ARP type flow rules:

$ curl -X PUT -u admin:admin -H "Content-Type: application/xml" -H "Cache-Control: no-cache" -d '<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flow xmlns="urn:opendaylight:flow:inventory">

<strict>false</strict>

<flow-name>flow116</flow-name>

<id>116</id>

<cookie_mask>255</cookie_mask>

<cookie>103</cookie>

<table_id>0</table_id>

<priority>1024</priority>

<hard-timeout>1200</hard-timeout>

<idle-timeout>3400</idle-timeout>

<installHw>false</installHw>

<instructions>

<instruction>

<order>0</order>

<apply-actions>

<action>

<order>0</order>

<output-action>

<output-node-connector>2</output-node-connector>

<max-length>60</max-length>

</output-action>

</action>

</apply-actions>

</instruction>

</instructions>

<match>

<ethernet-match>

<ethernet-type>

<type>2054</type>

</ethernet-type>

<ethernet-destination>

<address>76:f4:64:79:a1:40</address>

</ethernet-destination>

<ethernet-source>

<address>ff:ff:ff:ff:FF:ff</address>

</ethernet-source>

</ethernet-match>

</match>

 

-  ICMP type flow rules

$ curl -X PUT -u admin:admin -H "Content-Type: application/xml" -H "Cache-Control: no-cache" -d '<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flow xmlns="urn:opendaylight:flow:inventory">

<strict>false</strict>

<instructions>

<instruction>

<order>0</order>

<apply-actions>

<action>

<order>0</order>

<output-action>

<output-node-connector>3</output-node-connector>

<max-length>60</max-length>

</output-action>

</action>

</apply-actions>

</instruction>

</instructions>

<table_id>0</table_id>

<id>134</id>

<cookie_mask>255</cookie_mask>

<match>

<ethernet-match>

<ethernet-type>

<type>2048</type>

</ethernet-type>

</ethernet-match>

<ipv4-source>10.0.1.0/24</ipv4-source>

<ipv4-destination>10.0.2.0/24</ipv4-destination>

<ip-match>

<ip-protocol>1</ip-protocol>

</ip-match>

</match>

<hard-timeout>1200</hard-timeout>

<cookie>11</cookie>

<idle-timeout>3400</idle-timeout>

<flow-name>FooXf11</flow-name>

<priority>200</priority>

 

- TCP type flow rules

$ curl -X PUT -u admin:admin -H "Content-Type: application/xml" -H "Cache-Control: no-cache" -d '<flow xmlns="urn:opendaylight:flow:inventory">

<installHw>false</installHw>

<instructions>

<instruction>

<order>0</order>

<apply-actions>

<action>

<order>0</order>

<output-action>

<output-node-connector>2</output-node-connector>

<max-length>60</max-length>

</output-action>

</action>

</apply-actions>

</instruction>

</instructions>

<table_id>0</table_id>

<id>119</id>

<match>

<ethernet-match>

<ethernet-type>

<type>2048</type>

</ethernet-type>

</ethernet-match>

<ipv4-source>10.0.2.0/24</ipv4-source>

<ipv4-destination>10.0.1.0/24</ipv4-destination>

<ip-match>

<ip-protocol>6</ip-protocol>

</ip-match>

</match>

<hard-timeout>0</hard-timeout>

<cookie>10</cookie>

<idle-timeout>0</idle-timeout>

<flow-name>flow118</flow-name>

<priority>200</priority>

 

 

On Mon, Mar 6, 2017 at 10:24 AM, Casey Cain <ccain@...> wrote:

The strict tag usually means strictly matching a particular flow - rather than a wildcard match.

 

I didn't need to specify an ethertype in that example.  When you don't specify an ethertype it kind of matches all ethertypes. Unless you specify some IP field - in which it will implicitly assume the ethertype to be 0x800 (IP)

 

Regards,

Casey

 

On Mon, Mar 6, 2017 at 9:29 AM, Ajay Chopra <chopraa@...> wrote:

Hi Casey ,

 

There is no Ethernet type specified ?

Here the difference is that you are mentioning strict as false .

 

-Ajay

From: Casey Cain [mailto:ccain@...]
Sent: 06 March 2017 22:56
To: Ajay Chopra <chopraa@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: Re: jayRE: Open Day Light controllers

 

Hello, Ajay.

A proper PUT command should look something more like this:

 

$ curl -X PUT -u admin:admin -H "Content-Type: application/xml" -H "Cache-Control: no-cache" -d '<flow xmlns="urn:opendaylight:flow:inventory">

<strict>false</strict>

<flow-name>flow3</flow-name>

<id>134</id>

<cookie_mask>255</cookie_mask>

<cookie>104</cookie>

<table_id>0</table_id>

<priority>0</priority>

<hard-timeout>1200</hard-timeout>

<idle-timeout>3400</idle-timeout>

<installHw>false</installHw>

<match>

<in-port>2</in-port>

</match>

<instructions>

<instruction>

<order>0</order>

<apply-actions>

<action>

<order>0</order>

<output-action>

<output-node-connector>3</output-node-connector>

<max-length>60</max-length>

</output-action>

</action>

</apply-actions>

</instruction>

</instructions>

 

Regards,

Casey

 

On Mon, Mar 6, 2017 at 9:22 AM, Ajay Chopra <chopraa@...> wrote:

Hi Casey ,

 

I have read  the tutorial but there is no help ,I am having issue while adding the flows ,please let me know any references regarding the adding the flow . there is an error related to 405 method not allowed .

 

Ajay

 

From: Casey Cain [mailto:ccain@...]
Sent: 06 March 2017 21:33
To: Ajay Chopra <chopraa@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: Re: Open Day Light controllers

 

Hello, Ajay.

I am unsure how I can help you further without more information.  It seemed that were not setting up your instance correctly for OpenFlow.  The guides that I sent you should have given you the correct guidance on how to setup a OpenFlow route in your environment.  If  you're still unsure on how to proceed, I suggest reviewing the tutorials once again before posting your question on ask.opendaylight.org

 

You can also reach out to the OpenFlow development team at openflowjava-dev@...

 

Regards,

Casey

 

On Sun, Mar 5, 2017 at 10:24 PM, Ajay Chopra <chopraa@...> wrote:

Hi ,

 

Any update ?

 

-Ajay

 

From: Ajay Chopra
Sent: 03 March 2017 16:20
To: 'Casey Cain' <ccain@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: Open Day Light controllers

 

HI ,

 

Any update ?

 

-Ajay
Sent: 03 March 2017 12:01
To: 'Casey Cain' <ccain@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: Open Day Light controllers

 

Hi Casey cain ,

 

The PUT command uses http://10.119.162.14:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:224635998159098/table/0 .

 

-Ajay

 

From: Casey Cain [mailto:ccain@...]
Sent: 03 March 2017 11:47
To: Ajay Chopra <chopraa@...>
Cc: Jayavel Arumugam (IT Services), Noida <JayavelA@...>


Subject: Re: Open Day Light controllers

 

Hi, Ajay.

I will try to help you moving forward with this issue.

There still seems to be some ambiguity in how you are connected to the switch.

Can you tell me what commands you are currently using for your put command?

Have you searched ask.opendaylight.org or posted your question there yet?

 

Another good resource for faster answers is our IRC channels.

 

 

 

On Thu, Mar 2, 2017 at 10:00 PM, Ajay Chopra <chopraa@...> wrote:

Hi Phil ,

 

Any update ?

 

-Ajay

From: Ajay Chopra
Sent: 02 March 2017 11:32
To: 'Phil Robb' <probb@...>
Cc: 'info@...' <info@...>; 'Casey Cain' <ccain@...>; Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: Open Day Light controllers

 

Hi Phil ,

 

Any update ?

 

-Ajay

From: Ajay Chopra
Sent: 01 March 2017 18:29
To: 'Phil Robb' <probb@...>
Cc: 'info@...' <info@...>; 'Casey Cain' <ccain@...>; Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: Open Day Light controllers

 

HI Phil ,

 

Got the below message when I try to push the Flows into the switch .

Error 405 Method not allowed .

 

Please let me know how can I overcome it so that I can add the flows .

 

-Ajay

                                                                                                                                                                                                     .

From: Ajay Chopra
Sent: 01 March 2017 11:51
To: 'Phil Robb' <probb@...>
Cc: info@...; Casey Cain <ccain@...>
Subject: RE: Open Day Light controllers

 

1)Switch is Brocade switch .

2) Yes , I have connectivity .

3) feature:install odl-restconf

    feature:install odl-dlux-core

    feature:install odl-mdsal-apidocs

   feature:install odl-openflowplugin-flow-services-rest

   feature:install odl-openflowplugin-flow-services-ui

   feature:install odl-dlux-node

   feature:install odl-dlux-yangui

   feature:install odl-l2switch-switch

4)I am using Postman

5)I am trying to PUT the flows but not able to add the flows .

 

From: Phil Robb [mailto:probb@...]
Sent: 01 March 2017 09:36
To: Ajay Chopra <chopraa@...>
Cc: info@...; Casey Cain <ccain@...>


Subject: Re: Open Day Light controllers

 

hello Ajay:

 

I've cc-ed Casey Cain.  Casey can help you to post this question to the OpenDaylight Q&A forum (ask.opendaylight.org)  and help make sure you get an answer from the community.

 

Your question is too vague as of yet for anyone to help though.  What switch are you trying to talking to?....  Are you sure you have connectivity to the switch?...What components of ODL did you install via Karaf?... what commands did you issue?.... what return codes did you get from the commands that you issued?.... etc.

 

When you go to post the question, please be specific with what you are using, what you did, and the results you saw.  Otherwise, those that try to help on our Q&A forum won't have enough information to be able to respond.

 

Best,

 

Phil.

 

 

On Tue, Feb 28, 2017 at 3:35 AM, Ajay Chopra <chopraa@...> wrote:

HI phil,

 

I have installed open daylight but not able to add flows can u help how to add the flows ?

 

-Ajay

 

From: Ajay Chopra
Sent: 21 November 2016 12:36
To: 'Phil Robb' <probb@...>
Cc: 'info@...' <info@...>
Subject: RE: Open Day Light controllers

 

Hello Phil,

 

I have installed the opendaylight Beryllium controller ,but when I login using web with login/pass as admin.

It is not logging in .

Is there any update there ?due to which I am not able to login .

Can you check at your side ?

 

-Ajay

From: Ajay Chopra
Sent: 06 July 2016 10:55
To: 'Phil Robb' <probb@...>
Cc: 'info@...' <info@...>; Syed Tabrez Ahmed Shah <SyedS@...>; Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: Open Day Light controllers

 

Gentle reminder .

 

From: Ajay Chopra
Sent: 05 July 2016 15:29
To: 'Phil Robb' <probb@...>
Cc: info@...; Syed Tabrez Ahmed Shah <SyedS@...>; Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: RE: Open Day Light controllers

 

Can you share the link from where we can download the ODL controller ?

 

-Ajay

From: Phil Robb [mailto:probb@...]
Sent: 29 June 2016 21:10
To: Ajay Chopra <chopraa@...>
Cc: info@...; Syed Tabrez Ahmed Shah <SyedS@...>; Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: Re: Open Day Light controllers

 

Hey Ajay:

 

As an open source project, OpenDaylight does not test/certify against any particular hardware.  We support OpenFlow, along with many other protocols so to that extent we support Pica8 switches. 

 

Vendors who provide controllers based on OpenDaylight will often test and document what hardware they've tested against, so that may be helpful to you as well.

 

Best,

 

Phil.

 

On Wed, Jun 29, 2016 at 8:16 AM, Ajay Chopra <chopraa@...> wrote:

Gentle Reminder .

 

From: Ajay Chopra
Sent: 29 June 2016 13:06
To: 'info@...' <info@...>
Cc: Syed Tabrez Ahmed Shah <SyedS@...>; Jayavel Arumugam (IT Services), Noida <JayavelA@...>
Subject: Open Day Light controllers

 

Hello OpenDayLight Team ,

 

Can you share the details of Open Day Light controllers which can support Pica8 or Edge Core Switch  ?

 

-Ajay



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------



 

--

Phil Robb

Sr. Director Of Technical Operations

OpenDaylight Project

Skype: Phil.Robb



 

--

Phil Robb

Executive Director, OpenDaylight Project

VP Operations - Networking & Orchestration, The Linux Foundation

Skype: Phil.Robb



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6



 

--

Casey Cain

Technical Program Manager

Linux Foundation

_________________

IRC - CaseyODL

Skype - wrathwolfk

WeChat - okaru6

Join z.archive.openflowjava-dev@lists.opendaylight.org to automatically receive all group messages.