Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Jesus Javier Arauz

Hi,

Reading through 
http://docs.opendaylight.org/en/stable-boron/user-guide/service-function-chaining.html, 
in the "Tutorials" section it looks like some step is missing. The first 
tutorial only includes the steps of setting up the OVS instance to work 
with ODL as a controller and adding a port to br1; however, it seems 
these steps alone won't do the trick, since in order for the SFF to 
pop-up in SFC restconf (operational) interface someone must have created 
an SFF in config with the same IP as the port (check 
/sfc-ovs/src/main/java/org/opendaylight/sfc/sfc_ovs/provider/listener/SfcOvsNodeDataListener.java), 
am I wrong?


Additionally, I believe in the Verification steps one should be checking 
operational, not config, right? Config contains the intent, i.e. the SFF 
configured by the operator, while operational contains what is actually 
going on in the network, is that correct?.


Not sure if this is your problem though, just trying to help.

/Javier


On 11/30/2016 10:55 AM, Anirudh Gupta wrote:


Hi Brady,

We were configuring the “br-test” just to verify the functionality as 
mentioned in the section *Verifying mapping from SFF to OVS* of Boron 
User Guide 
http://docs.opendaylight.org/en/stable-boron/user-guide/service-function-chaining.html 



We are using “br-int” only as mentioned in SFF(sff6).

Initially, we had created the flows without Netvirt only. But didn’t 
succeed, so thought of adding the Netvirt Functionality also.


We just want to create a Service chain (with only one SF) in Open 
stack using ODL. For that purpose, we installed below mentioned 
packages in ODL (using feature: install in karaf) but we are not 
convinced that this is the right mix of packages required for the 
service chain to work. Can you please share a bare minimum set of 
packages that we need, to create a service chain in Open stack using ODL ?


oodl-ovsdb-openstack

oodl-dlux-core

oodl-dlux-all

oodl-sfc-ui

oodl-sfc-ovs

oodl-sfc-provider

oodl-sfc-model

oodl-sfc-ui

oodl-openflowplugin-nxm-extensions

oodl-openflowplugin-flow-services

oodl-l2switch-hosttracker

oodl-l2switch-arphandler

oodl-sfcofl2

oodl-netvirt-impl

Regards

Anirudh Gupta

*From:*Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
*Sent:* Wednesday, November 30, 2016 2:18 PM
*To:* Anirudh Gupta ; 
sfc-dev@lists.opendaylight.org

*Subject:* Re: [sfc-dev] ODL SFF Creation Issue

Anirudh,

A few comments on your setup and attached configuration:

Why do you want to create "br-test"? Normally in an OpenStack env, the 
SFF should be on the already created "br-int". I dont see anywhere in 
the config any references to "br-test". The only configured SFF (sff6) 
is being configured on "br-int".


From the flows you attached:

  * There is no Netvirt classifier being configured, which is on table=11
  * There are no SFC flows configured

If you plan to use both SFC and Netvirt on the same bridge, then the 
Application Coexistence needs to be configured so that SFC and Netvirt 
dont stomp on each other's flows. This consists of offsetting the SFC 
flows to its own set of OpenFlow tables.


Here are the commands we usually use to configure Application 
Coexistence for SFC and Netvirt. These commands must be sent before 
creating any VMs.


curl -u admin:admin -H 'Content-type: application/json' -X PUT -d
{"netvirt-providers-config":{"table-offset":1}}

http://192.168.0.2:8181/restconf/config/netvirt-providers-config:netvirt-providers-config

curl -u admin:admin -H 'Content-type: application/json' -X PUT -d

'{"sfc-of-renderer-config":{"sfc-of-table-offset":"150","sfc-of-app-egress-table-offset":"11"}}'http://192.168.0.2:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config

Regards,

Brady

On 30/11/16 07:44, Anirudh Gupta wrote:

Hi,

We have installed Openvswitch 2.5.90 with NSH patch and also
upgraded our ODL setup to distribution-karaf-0.5.0-Boron.

The following packages have been installed on it :-

oodl-ovsdb-openstack

oodl-dlux-core

oodl-dlux-all

oodl-sfc-ui

oodl-sfc-ovs

oodl-sfc-provider

oodl-sfc-model

oodl-sfc-ui

oodl-openflowplugin-nxm-extensions

oodl-openflowplugin-flow-services

oodl-l2switch-hosttracker

oodl-l2switch-arphandler

oodl-sfcofl2

oodl-netvirt-impl

Still we are facing following issues :-

oif a bridge(br-test) request is POST in the ODL from the Rest
Client, then corresponding SFF for this OVS Bridge should be
configured, which is not happening in our case.

oif a bridge(br-test) is created in Openstack using ovs-vsctl
command, then corresponding SFF for this OVS Bridge should be
configured, which is not happening in our case.

oAfter configuring the Rendered Service Path, we can observe the
flow drop

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Brady Allen Johnson


The version of OVS that you installed with the NSH patches will give you 
the VXLAN-GPE support needed for NSH. SFC should create the VXLAN-GPE 
tunnel with what's in the SFF config.


You may consider looking into the OPNFV SFC project, which aims to 
integrate ODL SFC into an OpenStack cloud environment.


Brady


On 30/11/16 12:08, Anirudh Gupta wrote:


We are using Open stack Mitaka setup with VXLAN used as a tunnel 
between the compute nodes.


Do I need to change the Open stack setup configuration for VXLAN-GPE 
or should I mention the same VXLAN port information in the SFF?


Regards

Anirudh

*From:*Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
*Sent:* Wednesday, November 30, 2016 4:31 PM
*To:* Anirudh Gupta ; 
sfc-dev@lists.opendaylight.org
*Cc:* Mohit Gupta ; Lovelesh Pandya 


*Subject:* Re: [sfc-dev] ODL SFF Creation Issue

You only need to list the vxlan-gpe port.

I forgot to mention previously, you should remove this line from the 
ovs-options: "local-ip":"flow"


Here's what I have from a working config:

{
"service-function-forwarders": {
"service-function-forwarder": [
  {
"name": "sff1",
"service-function-forwarder-ovs:ovs-bridge": {
"bridge-name": "br-int"
},
"sff-data-plane-locator": [
  {
"name": "sff-dpl1",
"data-plane-locator":
{
"ip": "159.107.13.58",
"port": 6633,
"transport": "service-locator:vxlan-gpe"
},
"service-function-forwarder-ovs:ovs-options": {
"key": "flow",
"dst-port": "6633",
"remote-ip": "flow"
}
  }
],
"service-function-dictionary": [
  {
"name": "sf1",
"sff-sf-data-plane-locator":
{
"sf-dpl-name": "sf-dpl1",
"sff-dpl-name": "sff-dpl1"
}
  }
]
  }
]
  }
}



Brady

On 30/11/16 11:55, Anirudh Gupta wrote:

Thanks for your inputs.

Just a small query, the Data plane Locator we are configuring
while creating SFF(sffdp6) is a dummy data plane locator.

Should we move on with the same SFF, or we need to mention all the
ports of br-int in data plane locator while configuring the SFF?

The REST API for SFF is as follows :-

*URL :*-

http://172.19.53.31:8181/restconf/config/service-function-forwarder:service-function-forwarders/service-function-forwarder/sff6

*Body :*-

{

"service-function-forwarder":{

"name":"sff6",

"sff-data-plane-locator":[

{

"name":"sff6dp6",

"data-plane-locator":{

"port":4789,

"ip":"172.19.53.34",

"transport":"service-locator:vxlan-gpe"

},

"ovs-bridge":{

"bridge-name":"br-int"

},

"ovs-options":{

"local-ip":"flow",

"remote-ip":"flow",

"dst-port":"4789"

}

}

],

"ip-mgmt-address":"172.19.53.34",

"service-function-forwarder-ovs:ovs-bridge":{

"bridge-name":"br-int"

},

"service-function-dictionary":[

    {

    "sff-sf-data-plane-locator":{

"sf-dpl-name":"sf1dp1",

"sff-dpl-name":"sff6dp6"

},

"sff-interfaces":[

],

"name":"sf1"

}

]

}

}

Regards

Anirudh Gupta

*From:*Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
*Sent:* Wednesday, November 30, 2016 3:58 PM
*To:* Anirudh Gupta 
<mailto:anirudh2.gu...@aricent.com>;
sfc-dev@lists.opendaylight.org <mailto:sfc-dev@lists.opendaylight.org>
*Cc:* Mohit Gupta 
<mailto:mohit2.gu...@aricent.com>; Lovelesh Pandya
 <mailto:lovelesh.pan...@aricent.com>
*Subject:* Re: [sfc-dev] ODL SFF Creation Issue

The only way for SFC to work in OpenStack is to also use Netvirt.
This is because there needs to be a classifier in place that maps
subscriber/tenant traffic to service chains. Currently, the only
supported classifier is implemented in Netvirt.

For pure OpenFlow-based SFC, you just need to install these features:

opendaylight-user@root>feature:install
odl-sfc-openflow-renderer odl-sfc-ui odl-ovsdb-openstack

This will in-turn i

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Anirudh Gupta
We are using Open stack Mitaka setup with VXLAN used as a tunnel between the 
compute nodes.

Do I need to change the Open stack setup configuration for VXLAN-GPE or should 
I mention the same VXLAN port information in the SFF?


Regards
Anirudh

From: Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
Sent: Wednesday, November 30, 2016 4:31 PM
To: Anirudh Gupta ; sfc-dev@lists.opendaylight.org
Cc: Mohit Gupta ; Lovelesh Pandya 

Subject: Re: [sfc-dev] ODL SFF Creation Issue



You only need to list the vxlan-gpe port.

I forgot to mention previously, you should remove this line from the 
ovs-options: "local-ip":"flow"

Here's what I have from a working config:
{
  "service-function-forwarders": {
"service-function-forwarder": [
  {
"name": "sff1",
"service-function-forwarder-ovs:ovs-bridge": {
"bridge-name": "br-int"
},
"sff-data-plane-locator": [
  {
"name": "sff-dpl1",
"data-plane-locator":
{
"ip": "159.107.13.58",
"port": 6633,
"transport": "service-locator:vxlan-gpe"
},
"service-function-forwarder-ovs:ovs-options": {
"key": "flow",
"dst-port": "6633",
"remote-ip": "flow"
}
  }
],
"service-function-dictionary": [
  {
"name": "sf1",
"sff-sf-data-plane-locator":
{
"sf-dpl-name": "sf-dpl1",
"sff-dpl-name": "sff-dpl1"
}
  }
]
  }
]
  }
}


Brady
On 30/11/16 11:55, Anirudh Gupta wrote:
Thanks for your inputs.

Just a small query, the Data plane Locator we are configuring while creating 
SFF(sffdp6) is a dummy data plane locator.

Should we move on with the same SFF, or we need to mention all the ports of 
br-int in data plane locator while configuring the SFF?

The REST API for SFF is as follows :-

URL :- 
http://172.19.53.31:8181/restconf/config/service-function-forwarder:service-function-forwarders/service-function-forwarder/sff6

Body :-
{
"service-function-forwarder":{
"name":"sff6",
"sff-data-plane-locator":[
{
"name":"sff6dp6",
"data-plane-locator":{
"port":4789,
"ip":"172.19.53.34",
"transport":"service-locator:vxlan-gpe"
},
"ovs-bridge":{
"bridge-name":"br-int"
},
"ovs-options":{
"local-ip":"flow",
"remote-ip":"flow",
"dst-port":"4789"
}
}
],
"ip-mgmt-address":"172.19.53.34",
"service-function-forwarder-ovs:ovs-bridge":{
"bridge-name":"br-int"
},
"service-function-dictionary":[
{
"sff-sf-data-plane-locator":{
"sf-dpl-name":"sf1dp1",
"sff-dpl-name":"sff6dp6"
},
"sff-interfaces":[

],
"name":"sf1"
}
]
}
}


Regards
Anirudh Gupta

From: Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
Sent: Wednesday, November 30, 2016 3:58 PM
To: Anirudh Gupta 
<mailto:anirudh2.gu...@aricent.com>; 
sfc-dev@lists.opendaylight.org<mailto:sfc-dev@lists.opendaylight.org>
Cc: Mohit Gupta <mailto:mohit2.gu...@aricent.com>; 
Lovelesh Pandya 
<mailto:lovelesh.pan...@aricent.com>
Subject: Re: [sfc-dev] ODL SFF Creation Issue




The only way for SFC to work in OpenStack is to also use Netvirt. This is 
because there needs to be a classifier in place that maps subscriber/tenant 
traffic to service chains. Currently, the only supported classifier is 
implemented in Netvirt.

For pure OpenFlow-based SFC, you just need to install these features:

opendaylight-user@root>feature:install odl-sfc-openflow-renderer odl-sfc-ui 
odl-ovsdb-openstack

This will in-turn install the rest of the needed SFC features. Notice the 
"odl-sfcofl2" feature is deprecated in Boron (still works though), and has been 
removed in Carbon. Basically we just changed the name to 
"odl-sfc-openflow-renderer".

Im not sure how well the "odl-l2switch-hosttracker" and 
"odl-l2switch-arphandler" features will play with SFC due to the aforementioned 
Application Coexistence issues. Netvirt will handle all the tenant VM traffic 
for you.

I would recommend only installing SFC and Netvirt as listed above.

Dont forget to send the 2 Application Coexistence curl commands mentioned 
previously.

Regards,

Brady

On 30/11/16 10:55, Anir

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Brady Allen Johnson


You only need to list the vxlan-gpe port.

I forgot to mention previously, you should remove this line from the 
ovs-options: "local-ip":"flow"


Here's what I have from a working config:

   {
  "service-function-forwarders": {
"service-function-forwarder": [
  {
"name": "sff1",
"service-function-forwarder-ovs:ovs-bridge": {
"bridge-name": "br-int"
},
"sff-data-plane-locator": [
  {
"name": "sff-dpl1",
"data-plane-locator":
{
"ip": "159.107.13.58",
"port": 6633,
"transport": "service-locator:vxlan-gpe"
},
"service-function-forwarder-ovs:ovs-options": {
"key": "flow",
"dst-port": "6633",
"remote-ip": "flow"
}
  }
],
"service-function-dictionary": [
  {
"name": "sf1",
"sff-sf-data-plane-locator":
{
"sf-dpl-name": "sf-dpl1",
"sff-dpl-name": "sff-dpl1"
}
  }
]
  }
]
  }
   }



Brady

On 30/11/16 11:55, Anirudh Gupta wrote:


Thanks for your inputs.

Just a small query, the Data plane Locator we are configuring while 
creating SFF(sffdp6) is a dummy data plane locator.


Should we move on with the same SFF, or we need to mention all the 
ports of br-int in data plane locator while configuring the SFF?


The REST API for SFF is as follows :-

*URL :*- 
http://172.19.53.31:8181/restconf/config/service-function-forwarder:service-function-forwarders/service-function-forwarder/sff6


*Body :*-

{

"service-function-forwarder":{

"name":"sff6",

"sff-data-plane-locator":[

{

"name":"sff6dp6",

"data-plane-locator":{

"port":4789,

"ip":"172.19.53.34",

"transport":"service-locator:vxlan-gpe"

},

"ovs-bridge":{

"bridge-name":"br-int"

},

"ovs-options":{

"local-ip":"flow",

"remote-ip":"flow",

"dst-port":"4789"

}

}

],

"ip-mgmt-address":"172.19.53.34",

"service-function-forwarder-ovs:ovs-bridge":{

"bridge-name":"br-int"

},

"service-function-dictionary":[

{

"sff-sf-data-plane-locator":{

"sf-dpl-name":"sf1dp1",

"sff-dpl-name":"sff6dp6"

},

"sff-interfaces":[

],

"name":"sf1"

}

]

}

}

Regards

Anirudh Gupta

*From:*Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
*Sent:* Wednesday, November 30, 2016 3:58 PM
*To:* Anirudh Gupta ; 
sfc-dev@lists.opendaylight.org
*Cc:* Mohit Gupta ; Lovelesh Pandya 


*Subject:* Re: [sfc-dev] ODL SFF Creation Issue

The only way for SFC to work in OpenStack is to also use Netvirt. This 
is because there needs to be a classifier in place that maps 
subscriber/tenant traffic to service chains. Currently, the only 
supported classifier is implemented in Netvirt.


For pure OpenFlow-based SFC, you just need to install these features:

opendaylight-user@root>feature:install odl-sfc-openflow-renderer 
odl-sfc-ui odl-ovsdb-openstack


This will in-turn install the rest of the needed SFC features. Notice 
the "odl-sfcofl2" feature is deprecated in Boron (still works though), 
and has been removed in Carbon. Basically we just changed the name to 
"odl-sfc-openflow-renderer".


Im not sure how well the "odl-l2switch-hosttracker" and 
"odl-l2switch-arphandler" features will play with SFC due to the 
aforementioned Application Coexistence issues. Netvirt will handle all 
the tenant VM traffic for you.


I would recommend only installing SFC and Netvirt as listed above.

Dont forget to send the 2 Application Coexistence curl commands 
mentioned previously.


Regards,

Brady

On 30/11/16 10:55, Anirudh Gupta wrote:

Hi Brady,

We were configuring the “br-test” just to verify the functionality
as mentioned in the section *Verifying mapping from SFF to OVS* of
Boron User Guide

http://docs.opendaylight.org/en/stable-boron/user-guide/service-function-chaining.html


We are using “br-int” only as mentioned in SFF(sff6).

Initially, we had created the flows without Netvirt only. But
didn’t succeed, so 

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Anirudh Gupta
Thanks for your inputs.

Just a small query, the Data plane Locator we are configuring while creating 
SFF(sffdp6) is a dummy data plane locator.

Should we move on with the same SFF, or we need to mention all the ports of 
br-int in data plane locator while configuring the SFF?

The REST API for SFF is as follows :-

URL :- 
http://172.19.53.31:8181/restconf/config/service-function-forwarder:service-function-forwarders/service-function-forwarder/sff6

Body :-
{
"service-function-forwarder":{
"name":"sff6",
"sff-data-plane-locator":[
{
"name":"sff6dp6",
"data-plane-locator":{
"port":4789,
"ip":"172.19.53.34",
"transport":"service-locator:vxlan-gpe"
},
"ovs-bridge":{
"bridge-name":"br-int"
},
"ovs-options":{
"local-ip":"flow",
"remote-ip":"flow",
"dst-port":"4789"
}
}
],
"ip-mgmt-address":"172.19.53.34",
"service-function-forwarder-ovs:ovs-bridge":{
"bridge-name":"br-int"
},
"service-function-dictionary":[
{
"sff-sf-data-plane-locator":{
"sf-dpl-name":"sf1dp1",
"sff-dpl-name":"sff6dp6"
},
"sff-interfaces":[

],
"name":"sf1"
}
]
}
}


Regards
Anirudh Gupta

From: Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
Sent: Wednesday, November 30, 2016 3:58 PM
To: Anirudh Gupta ; sfc-dev@lists.opendaylight.org
Cc: Mohit Gupta ; Lovelesh Pandya 

Subject: Re: [sfc-dev] ODL SFF Creation Issue




The only way for SFC to work in OpenStack is to also use Netvirt. This is 
because there needs to be a classifier in place that maps subscriber/tenant 
traffic to service chains. Currently, the only supported classifier is 
implemented in Netvirt.

For pure OpenFlow-based SFC, you just need to install these features:

opendaylight-user@root>feature:install odl-sfc-openflow-renderer odl-sfc-ui 
odl-ovsdb-openstack

This will in-turn install the rest of the needed SFC features. Notice the 
"odl-sfcofl2" feature is deprecated in Boron (still works though), and has been 
removed in Carbon. Basically we just changed the name to 
"odl-sfc-openflow-renderer".

Im not sure how well the "odl-l2switch-hosttracker" and 
"odl-l2switch-arphandler" features will play with SFC due to the aforementioned 
Application Coexistence issues. Netvirt will handle all the tenant VM traffic 
for you.

I would recommend only installing SFC and Netvirt as listed above.

Dont forget to send the 2 Application Coexistence curl commands mentioned 
previously.

Regards,

Brady

On 30/11/16 10:55, Anirudh Gupta wrote:
Hi Brady,

We were configuring the "br-test" just to verify the functionality as mentioned 
in the section Verifying mapping from SFF to OVS of Boron User Guide 
http://docs.opendaylight.org/en/stable-boron/user-guide/service-function-chaining.html

We are using "br-int" only as mentioned in SFF(sff6).

Initially, we had created the flows without Netvirt only. But didn't succeed, 
so thought of adding the Netvirt Functionality also.

We just want to create a Service chain (with only one SF) in Open stack using 
ODL. For that purpose, we installed below mentioned packages in ODL (using 
feature: install in karaf) but we are not convinced that this is the right mix 
of packages required for the service chain to work. Can you please share a bare 
minimum set of packages that we need, to create a service chain in Open stack 
using ODL ?


o   odl-ovsdb-openstack

o   odl-dlux-core

o   odl-dlux-all

o   odl-sfc-ui

o   odl-sfc-ovs

o   odl-sfc-provider

o   odl-sfc-model

o   odl-sfc-ui

o   odl-openflowplugin-nxm-extensions

o   odl-openflowplugin-flow-services

o   odl-l2switch-hosttracker

o   odl-l2switch-arphandler

o   odl-sfcofl2

o   odl-netvirt-impl


Regards
Anirudh Gupta

From: Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
Sent: Wednesday, November 30, 2016 2:18 PM
To: Anirudh Gupta 
<mailto:anirudh2.gu...@aricent.com>; 
sfc-dev@lists.opendaylight.org<mailto:sfc-dev@lists.opendaylight.org>
Subject: Re: [sfc-dev] ODL SFF Creation Issue




Anirudh,

A few comments on your setup and attached configuration:

Why do you want to create "br-test"? Normally in an OpenStack env, the SFF 
should be on the already created "br-int". I dont see anywhere in the config 
any references to "br-test". The only configured SFF (sff6) is being configured 
on "br-int".

>From the flows you attached:

  *   There is no Netvirt classifier being configured, which is on table=11
  *   There are no SFC flows configured

If you plan to use both SFC and Netvirt on the same bridge, then the 
Application Coexistence needs to be configured so that SFC and Ne

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Brady Allen Johnson


The only way for SFC to work in OpenStack is to also use Netvirt. This 
is because there needs to be a classifier in place that maps 
subscriber/tenant traffic to service chains. Currently, the only 
supported classifier is implemented in Netvirt.


For pure OpenFlow-based SFC, you just need to install these features:

opendaylight-user@root>feature:install odl-sfc-openflow-renderer 
odl-sfc-ui odl-ovsdb-openstack


This will in-turn install the rest of the needed SFC features. Notice 
the "odl-sfcofl2" feature is deprecated in Boron (still works though), 
and has been removed in Carbon. Basically we just changed the name to 
"odl-sfc-openflow-renderer".


Im not sure how well the "odl-l2switch-hosttracker" and 
"odl-l2switch-arphandler" features will play with SFC due to the 
aforementioned Application Coexistence issues. Netvirt will handle all 
the tenant VM traffic for you.


I would recommend only installing SFC and Netvirt as listed above.

Dont forget to send the 2 Application Coexistence curl commands 
mentioned previously.


Regards,

Brady


On 30/11/16 10:55, Anirudh Gupta wrote:


Hi Brady,

We were configuring the “br-test” just to verify the functionality as 
mentioned in the section *Verifying mapping from SFF to OVS* of Boron 
User Guide 
http://docs.opendaylight.org/en/stable-boron/user-guide/service-function-chaining.html 



We are using “br-int” only as mentioned in SFF(sff6).

Initially, we had created the flows without Netvirt only. But didn’t 
succeed, so thought of adding the Netvirt Functionality also.


We just want to create a Service chain (with only one SF) in Open 
stack using ODL. For that purpose, we installed below mentioned 
packages in ODL (using feature: install in karaf) but we are not 
convinced that this is the right mix of packages required for the 
service chain to work. Can you please share a bare minimum set of 
packages that we need, to create a service chain in Open stack using ODL ?


oodl-ovsdb-openstack

oodl-dlux-core

oodl-dlux-all

oodl-sfc-ui

oodl-sfc-ovs

oodl-sfc-provider

oodl-sfc-model

oodl-sfc-ui

oodl-openflowplugin-nxm-extensions

oodl-openflowplugin-flow-services

oodl-l2switch-hosttracker

oodl-l2switch-arphandler

oodl-sfcofl2

oodl-netvirt-impl

Regards

Anirudh Gupta

*From:*Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
*Sent:* Wednesday, November 30, 2016 2:18 PM
*To:* Anirudh Gupta ; 
sfc-dev@lists.opendaylight.org

*Subject:* Re: [sfc-dev] ODL SFF Creation Issue

Anirudh,

A few comments on your setup and attached configuration:

Why do you want to create "br-test"? Normally in an OpenStack env, the 
SFF should be on the already created "br-int". I dont see anywhere in 
the config any references to "br-test". The only configured SFF (sff6) 
is being configured on "br-int".


From the flows you attached:

  * There is no Netvirt classifier being configured, which is on table=11
  * There are no SFC flows configured

If you plan to use both SFC and Netvirt on the same bridge, then the 
Application Coexistence needs to be configured so that SFC and Netvirt 
dont stomp on each other's flows. This consists of offsetting the SFC 
flows to its own set of OpenFlow tables.


Here are the commands we usually use to configure Application 
Coexistence for SFC and Netvirt. These commands must be sent before 
creating any VMs.


curl -u admin:admin -H 'Content-type: application/json' -X PUT -d
{"netvirt-providers-config":{"table-offset":1}}

http://192.168.0.2:8181/restconf/config/netvirt-providers-config:netvirt-providers-config

curl -u admin:admin -H 'Content-type: application/json' -X PUT -d

'{"sfc-of-renderer-config":{"sfc-of-table-offset":"150","sfc-of-app-egress-table-offset":"11"}}'http://192.168.0.2:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config

Regards,

Brady

On 30/11/16 07:44, Anirudh Gupta wrote:

Hi,

We have installed Openvswitch 2.5.90 with NSH patch and also
upgraded our ODL setup to distribution-karaf-0.5.0-Boron.

The following packages have been installed on it :-

oodl-ovsdb-openstack

oodl-dlux-core

oodl-dlux-all

oodl-sfc-ui

oodl-sfc-ovs

oodl-sfc-provider

oodl-sfc-model

oodl-sfc-ui

oodl-openflowplugin-nxm-extensions

oodl-openflowplugin-flow-services

oodl-l2switch-hosttracker

oodl-l2switch-arphandler

oodl-sfcofl2

oodl-netvirt-impl

Still we are facing following issues :-

oif a bridge(br-test) request is POST in the ODL from the Rest
Client, then corresponding SFF for this OVS Bridge should be
configured, which is not happening in our case.

oif a bridge(br-test) is created in Openstack using ovs-vsctl
command, then corresponding SFF for this OVS Bridge should be
configured, whic

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Anirudh Gupta
Hi Brady,

We were configuring the "br-test" just to verify the functionality as mentioned 
in the section Verifying mapping from SFF to OVS of Boron User Guide 
http://docs.opendaylight.org/en/stable-boron/user-guide/service-function-chaining.html

We are using "br-int" only as mentioned in SFF(sff6).

Initially, we had created the flows without Netvirt only. But didn't succeed, 
so thought of adding the Netvirt Functionality also.

We just want to create a Service chain (with only one SF) in Open stack using 
ODL. For that purpose, we installed below mentioned packages in ODL (using 
feature: install in karaf) but we are not convinced that this is the right mix 
of packages required for the service chain to work. Can you please share a bare 
minimum set of packages that we need, to create a service chain in Open stack 
using ODL ?


o   odl-ovsdb-openstack

o   odl-dlux-core

o   odl-dlux-all

o   odl-sfc-ui

o   odl-sfc-ovs

o   odl-sfc-provider

o   odl-sfc-model

o   odl-sfc-ui

o   odl-openflowplugin-nxm-extensions

o   odl-openflowplugin-flow-services

o   odl-l2switch-hosttracker

o   odl-l2switch-arphandler

o   odl-sfcofl2

o   odl-netvirt-impl


Regards
Anirudh Gupta

From: Brady Allen Johnson [mailto:brady.allen.john...@ericsson.com]
Sent: Wednesday, November 30, 2016 2:18 PM
To: Anirudh Gupta ; sfc-dev@lists.opendaylight.org
Subject: Re: [sfc-dev] ODL SFF Creation Issue




Anirudh,

A few comments on your setup and attached configuration:

Why do you want to create "br-test"? Normally in an OpenStack env, the SFF 
should be on the already created "br-int". I dont see anywhere in the config 
any references to "br-test". The only configured SFF (sff6) is being configured 
on "br-int".

>From the flows you attached:

  *   There is no Netvirt classifier being configured, which is on table=11
  *   There are no SFC flows configured

If you plan to use both SFC and Netvirt on the same bridge, then the 
Application Coexistence needs to be configured so that SFC and Netvirt dont 
stomp on each other's flows. This consists of offsetting the SFC flows to its 
own set of OpenFlow tables.

Here are the commands we usually use to configure Application Coexistence for 
SFC and Netvirt. These commands must be sent before creating any VMs.

curl -u admin:admin -H 'Content-type: application/json' -X PUT -d 
{"netvirt-providers-config":{"table-offset":1}} 
http://192.168.0.2:8181/restconf/config/netvirt-providers-config:netvirt-providers-config
curl -u admin:admin -H 'Content-type: application/json' -X PUT -d 
'{"sfc-of-renderer-config":{"sfc-of-table-offset":"150","sfc-of-app-egress-table-offset":"11"}}'
 http://192.168.0.2:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config

Regards,

Brady

On 30/11/16 07:44, Anirudh Gupta wrote:
Hi,


We have installed Openvswitch 2.5.90 with NSH patch and also upgraded our ODL 
setup to distribution-karaf-0.5.0-Boron.
The following packages have been installed on it :-

o   odl-ovsdb-openstack

o   odl-dlux-core

o   odl-dlux-all

o   odl-sfc-ui

o   odl-sfc-ovs

o   odl-sfc-provider

o   odl-sfc-model

o   odl-sfc-ui

o   odl-openflowplugin-nxm-extensions

o   odl-openflowplugin-flow-services

o   odl-l2switch-hosttracker

o   odl-l2switch-arphandler

o   odl-sfcofl2

o   odl-netvirt-impl
Still we are facing following issues :-

o   if a bridge(br-test) request is POST in the ODL from the Rest Client, then 
corresponding SFF for this OVS Bridge should be configured, which is not 
happening in our case.

o   if a bridge(br-test) is created in Openstack using ovs-vsctl command, then 
corresponding SFF for this OVS Bridge should be configured, which is not 
happening in our case.

o   After configuring the Rendered Service Path, we can observe the flow drop 
at table 10.



Please find attached the following :-

o   Karaf logs with a log level of DEBUG org.opendaylight.sfc

o   br-int dump-flow

o   SFF-SF-ACL-CLASSIFIER REST API

o   Ovs-vswitchd logs



We are kind of stuck in this issue, request you all to please extend your 
support in order to resolve it.



Regards

Anirudh Gupta

From: Anirudh Gupta
Sent: Wednesday, November 23, 2016 12:35 PM
To: 'sfc-dev@lists.opendaylight.org<mailto:sfc-dev@lists.opendaylight.org>' 
<mailto:sfc-dev@lists.opendaylight.org>
Subject: ODL SFF Creation Issue

Hi,

We are using ODL Beryllium-SR4 release integrated with Openstack Mitaka Release 
having OVS version 2.6.1 and trying to create SFF by manually creating a bridge 
in the compute node.

The following packages are installed in ODL :-


* odl-ovsdb-openstack

* odl-dlux-core

* odl-dlux-all

* odl-sfc-ui

* odl-sfc-ovs

* odl-sfc-provider

* odl-sfc-model

* odl-sfc-ui

* odl-openflowplugin-nxm-extensions

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-30 Thread Brady Allen Johnson


Anirudh,

A few comments on your setup and attached configuration:

Why do you want to create "br-test"? Normally in an OpenStack env, the 
SFF should be on the already created "br-int". I dont see anywhere in 
the config any references to "br-test". The only configured SFF (sff6) 
is being configured on "br-int".


From the flows you attached:

 * There is no Netvirt classifier being configured, which is on table=11
 * There are no SFC flows configured

If you plan to use both SFC and Netvirt on the same bridge, then the 
Application Coexistence needs to be configured so that SFC and Netvirt 
dont stomp on each other's flows. This consists of offsetting the SFC 
flows to its own set of OpenFlow tables.


Here are the commands we usually use to configure Application 
Coexistence for SFC and Netvirt. These commands must be sent before 
creating any VMs.


   curl -u admin:admin -H 'Content-type: application/json' -X PUT -d
   {"netvirt-providers-config":{"table-offset":1}} 
http://192.168.0.2:8181/restconf/config/netvirt-providers-config:netvirt-providers-config

   curl -u admin:admin -H 'Content-type: application/json' -X PUT -d
   
'{"sfc-of-renderer-config":{"sfc-of-table-offset":"150","sfc-of-app-egress-table-offset":"11"}}'
   
http://192.168.0.2:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config

Regards,

Brady


On 30/11/16 07:44, Anirudh Gupta wrote:


Hi,

We have installed Openvswitch 2.5.90 with NSH patch and also upgraded 
our ODL setup to distribution-karaf-0.5.0-Boron.


The following packages have been installed on it :-

oodl-ovsdb-openstack

oodl-dlux-core

oodl-dlux-all

oodl-sfc-ui

oodl-sfc-ovs

oodl-sfc-provider

oodl-sfc-model

oodl-sfc-ui

oodl-openflowplugin-nxm-extensions

oodl-openflowplugin-flow-services

oodl-l2switch-hosttracker

oodl-l2switch-arphandler

oodl-sfcofl2

oodl-netvirt-impl

Still we are facing following issues :-

oif a bridge(br-test) request is POST in the ODL from the Rest Client, 
then corresponding SFF for this OVS Bridge should be configured, which 
is not happening in our case.


oif a bridge(br-test) is created in Openstack using ovs-vsctl command, 
then corresponding SFF for this OVS Bridge should be configured, which 
is not happening in our case.


oAfter configuring the Rendered Service Path, we can observe the flow 
drop at table 10.


Please find attached the following :-

oKaraf logs with a log level of DEBUG org.opendaylight.sfc

obr-int dump-flow

oSFF-SF-ACL-CLASSIFIER REST API

oOvs-vswitchd logs

We are kind of stuck in this issue, request you all to please extend 
your support in order to resolve it.


Regards

Anirudh Gupta

*From:* Anirudh Gupta
*Sent:* Wednesday, November 23, 2016 12:35 PM
*To:* 'sfc-dev@lists.opendaylight.org' 
*Subject:* ODL SFF Creation Issue

Hi,

We are using ODL Beryllium-SR4 release integrated with Openstack 
Mitaka Release having OVS version 2.6.1 and trying to create SFF by 
manually creating a bridge in the compute node.


The following packages are installed in ODL :-

·odl-ovsdb-openstack

·odl-dlux-core

·odl-dlux-all

·odl-sfc-ui

·odl-sfc-ovs

·odl-sfc-provider

·odl-sfc-model

·odl-sfc-ui

·odl-openflowplugin-nxm-extensions

·odl-openflowplugin-flow-services

·odl-l2switch-hosttracker

·odl-l2switch-arphandler

·odl-sfcofl2

As per the Beryllium User 
Guidehttps://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxpam5iZmVzY21hZWRhcHxneDoyM2VjNmZmNTg2N2RhMmFh


*, Chapter 25 Section Configuring SFC-OVS*, if a bridge(br-test) 
request is POST in the ODL from the shell, then corresponding SFF for 
this OVS Bridge should be configured.


But in our case this is not working.

The  bridge details is reaching the ODL karaf.log(attached in the 
mail), but SFF creation is not successful.


The same issue is being observed using Boron SR1 Release.

Can someone please help us in resolving the issue.

PFA the karaf.log with a log level of DEBUG org.opendaylight.sfc

With Regards

Anirudh Gupta

Software Engineer

anirudh2.gu...@aricent.com  | 
Extension – 4908




"DISCLAIMER: This message is proprietary to Aricent and is intended 
solely for the use of the individual to whom it is addressed. It may 
contain privileged or confidential information and should not be 
circulated or used for any purpose other than for what it is intended. 
If you have received this message in error, please notify the 
originator immediately. If you are not the intended recipient, you are 
notified that you are strictly prohibited from using, copying, 
altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the 
information transmitted by this email including damage from virus."



___
sfc-dev mailing list
sfc-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/sfc-dev


___

Re: [sfc-dev] ODL SFF Creation Issue

2016-11-29 Thread Yang, Yi Y
Hi, Sam and Anil

Aricent guys are trying NetVirt and SFC integration, but I think NetVirt isn't 
ready for this so far, I remember Anil had a demo for this, can you tell them 
how they do this?

From: sfc-dev-boun...@lists.opendaylight.org 
[mailto:sfc-dev-boun...@lists.opendaylight.org] On Behalf Of Anirudh Gupta
Sent: Wednesday, November 30, 2016 2:45 PM
To: sfc-dev@lists.opendaylight.org
Subject: Re: [sfc-dev] ODL SFF Creation Issue

Hi,


We have installed Openvswitch 2.5.90 with NSH patch and also upgraded our ODL 
setup to distribution-karaf-0.5.0-Boron.
The following packages have been installed on it :-

o   odl-ovsdb-openstack

o   odl-dlux-core

o   odl-dlux-all

o   odl-sfc-ui

o   odl-sfc-ovs

o   odl-sfc-provider

o   odl-sfc-model

o   odl-sfc-ui

o   odl-openflowplugin-nxm-extensions

o   odl-openflowplugin-flow-services

o   odl-l2switch-hosttracker

o   odl-l2switch-arphandler

o   odl-sfcofl2

o   odl-netvirt-impl
Still we are facing following issues :-

o   if a bridge(br-test) request is POST in the ODL from the Rest Client, then 
corresponding SFF for this OVS Bridge should be configured, which is not 
happening in our case.

o   if a bridge(br-test) is created in Openstack using ovs-vsctl command, then 
corresponding SFF for this OVS Bridge should be configured, which is not 
happening in our case.

o   After configuring the Rendered Service Path, we can observe the flow drop 
at table 10.



Please find attached the following :-

o   Karaf logs with a log level of DEBUG org.opendaylight.sfc

o   br-int dump-flow

o   SFF-SF-ACL-CLASSIFIER REST API

o   Ovs-vswitchd logs



We are kind of stuck in this issue, request you all to please extend your 
support in order to resolve it.



Regards

Anirudh Gupta

From: Anirudh Gupta
Sent: Wednesday, November 23, 2016 12:35 PM
To: 'sfc-dev@lists.opendaylight.org' 
mailto:sfc-dev@lists.opendaylight.org>>
Subject: ODL SFF Creation Issue

Hi,

We are using ODL Beryllium-SR4 release integrated with Openstack Mitaka Release 
having OVS version 2.6.1 and trying to create SFF by manually creating a bridge 
in the compute node.

The following packages are installed in ODL :-


*odl-ovsdb-openstack

*odl-dlux-core

*odl-dlux-all

*odl-sfc-ui

*odl-sfc-ovs

*odl-sfc-provider

*odl-sfc-model

*odl-sfc-ui

*odl-openflowplugin-nxm-extensions

*odl-openflowplugin-flow-services

*odl-l2switch-hosttracker

*odl-l2switch-arphandler

*odl-sfcofl2

As per the Beryllium User 
Guidehttps://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxpam5iZmVzY21hZWRhcHxneDoyM2VjNmZmNTg2N2RhMmFh
, Chapter 25 Section Configuring SFC-OVS, if a bridge(br-test) request is POST 
in the ODL from the shell, then corresponding SFF for this OVS Bridge should be 
configured.

But in our case this is not working.

The  bridge details is reaching the ODL karaf.log(attached in the mail), but 
SFF creation is not successful.

The same issue is being observed using Boron SR1 Release.

Can someone please help us in resolving the issue.

PFA the karaf.log with a log level of DEBUG org.opendaylight.sfc


With Regards

Anirudh Gupta

Software Engineer

anirudh2.gu...@aricent.com<mailto:anirudh2.gu...@aricent.com> | Extension - 4908

[cid:image002.jpg@01D24B1F.1FC02080]<https://www.aricent.com/>






"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."
___
sfc-dev mailing list
sfc-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/sfc-dev


Re: [sfc-dev] ODL SFF Creation Issue

2016-11-29 Thread Anirudh Gupta
Hi,


We have installed Openvswitch 2.5.90 with NSH patch and also upgraded our ODL 
setup to distribution-karaf-0.5.0-Boron.
The following packages have been installed on it :-

o   odl-ovsdb-openstack

o   odl-dlux-core

o   odl-dlux-all

o   odl-sfc-ui

o   odl-sfc-ovs

o   odl-sfc-provider

o   odl-sfc-model

o   odl-sfc-ui

o   odl-openflowplugin-nxm-extensions

o   odl-openflowplugin-flow-services

o   odl-l2switch-hosttracker

o   odl-l2switch-arphandler

o   odl-sfcofl2

o   odl-netvirt-impl
Still we are facing following issues :-

o   if a bridge(br-test) request is POST in the ODL from the Rest Client, then 
corresponding SFF for this OVS Bridge should be configured, which is not 
happening in our case.

o   if a bridge(br-test) is created in Openstack using ovs-vsctl command, then 
corresponding SFF for this OVS Bridge should be configured, which is not 
happening in our case.

o   After configuring the Rendered Service Path, we can observe the flow drop 
at table 10.



Please find attached the following :-

o   Karaf logs with a log level of DEBUG org.opendaylight.sfc

o   br-int dump-flow

o   SFF-SF-ACL-CLASSIFIER REST API

o   Ovs-vswitchd logs



We are kind of stuck in this issue, request you all to please extend your 
support in order to resolve it.



Regards

Anirudh Gupta

From: Anirudh Gupta
Sent: Wednesday, November 23, 2016 12:35 PM
To: 'sfc-dev@lists.opendaylight.org' 
Subject: ODL SFF Creation Issue

Hi,

We are using ODL Beryllium-SR4 release integrated with Openstack Mitaka Release 
having OVS version 2.6.1 and trying to create SFF by manually creating a bridge 
in the compute node.

The following packages are installed in ODL :-


* odl-ovsdb-openstack

* odl-dlux-core

* odl-dlux-all

* odl-sfc-ui

* odl-sfc-ovs

* odl-sfc-provider

* odl-sfc-model

* odl-sfc-ui

* odl-openflowplugin-nxm-extensions

* odl-openflowplugin-flow-services

* odl-l2switch-hosttracker

* odl-l2switch-arphandler

* odl-sfcofl2

As per the Beryllium User 
Guidehttps://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxpam5iZmVzY21hZWRhcHxneDoyM2VjNmZmNTg2N2RhMmFh
, Chapter 25 Section Configuring SFC-OVS, if a bridge(br-test) request is POST 
in the ODL from the shell, then corresponding SFF for this OVS Bridge should be 
configured.

But in our case this is not working.

The  bridge details is reaching the ODL karaf.log(attached in the mail), but 
SFF creation is not successful.

The same issue is being observed using Boron SR1 Release.

Can someone please help us in resolving the issue.

PFA the karaf.log with a log level of DEBUG org.opendaylight.sfc


With Regards

Anirudh Gupta

Software Engineer

anirudh2.gu...@aricent.com | Extension - 4908

[cid:image001.jpg@01D24B03.54C22380]






"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."


Br-int flows After RSP using Boron
Description: Br-int flows After RSP using Boron


karaf.log
Description: karaf.log


ovs-vswitchd.log
Description: ovs-vswitchd.log


SFF And SF REST API
Description: SFF And SF REST API
___
sfc-dev mailing list
sfc-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/sfc-dev