cannot find "odl-sfc-ui" on ODL-Neon& Fluorine


Ziyu Wu
 

Hi Experts,

 

Good days

 

I’m using ODL-Neon and OVS 2.11 for SFC-NSH experiment.

But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-guide/service-function-chaining”<https://docs.opendaylight.org/en/stable-neon/user-guide/service-function-chaining.html>

May I know where I can get it or any alternative solution about this?

 

Also I tried using REST api to operate ODL and created ovs-bridge successfully on the OVS. But I failed to verify the SFF mentioned in the guide.

 

Could you help on this?

Appreciate your reply

 

Best wishes,

Ziyu

 

 

===============================================================================================================

Cannot verify SFF after created ovs-bridge using:

Send POST request to URL: http://<odl_ip_address>:8181/restconf/operations/service-function-forwarder-ovs:create-ovs-bridge  - Succeed

Verification

In a shell execute: ovs-vsctl show. There should be a Bridge with the name br-test and one port/interface called br-test.

Also, the corresponding SFF for this OVS Bridge should be configured, which can be verified through the SFC User Interface or RESTCONF as follows.

  1. Visit the SFC User Interface: http://<odl_ip_address>:8181/sfc/index.html#/sfc/serviceforwarder  - Failed
  2. Use pure RESTCONF and send a GET request to URL:http://<odl_ip_address>:8181/restconf/config/service-function-forwarder:service-function-forwarders  - Failed as below screenshot

There should be an SFF, whose name will be ending with br1 and the SFF should contain two DataPlane locators: br1 and testPort.

 

 

 

 

===============================================================================================================

Cannot find “odl-sfc-ui” plugin

 

chang@mec:~/opendaylight-0.10.1/bin$ ./karaf 

Apache Karaf starting up. Press Enter to open the shell now...

100% [========================================================================]

Karaf started in 17s. Bundle stats: 448 active, 449 total

                                                                                           

    ________                       ________                .__  .__       .__     __       

    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_     

     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\    

    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |      

    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|      

            \/|__|        \/     \/        \/     \/\/            /_____/      \/          

                                                                                           

 

Hit '<tab>' for a list of available commands

and '[cmd] --help' for help on a specific command.

Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

 

opendaylight-user@root>   

opendaylight-user@root>feature:install odl-sfc-ui

Error executing command: No matching features for odl-sfc-ui/0

 


Jaime Caamaño Ruiz
 

Hello Ziyu

But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
guide/service-function-chaining”<https://docs.opendaylight.org/en/sta
bl
e-neon/user-guide/service-function-chaining.html>
There is no ui any longer in ODL, thats a leftover in the
documentation. You will need to operate with HTTP REST requests.

Use pure RESTCONF and send a GET request to URL:http://<odl_ip_addres
s>;
:8181/restconf/config/service-function-forwarder:service-function-
forwarders - Failed as below screenshot
Unfortunately this is out of date too. The SFF is no longer configured
automatically from an OVS bridge. It works in the opposite direction,
you configure an SFF manually specifying the OVS bridge, and that
bridge gets configured in OVS automatically.

Perhaps this example [1] helps. If you configure that in ODL, 'br-int'
bridge will be added to OVS instance.

[1] https://github.com/opendaylight/sfc/blob/stable/neon/resources/conf
iguration-examples/simple/json/03-service_function_forwarders.json

BR
Jaime.


-----Original Message-----
From: Wu Ziyu <qw98www@...>
To: sfc-dev@... <sfc-dev@...>
Subject: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
Date: Fri, 21 Jun 2019 16:53:31 +0000

Hi Experts,

Good days

I’m using ODL-Neon and OVS 2.11 for SFC-NSH experiment.
But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
guide/service-function-chaining”<https://docs.opendaylight.org/en/stabl
e-neon/user-guide/service-function-chaining.html>
May I know where I can get it or any alternative solution about this?

Also I tried using REST api to operate ODL and created ovs-bridge
successfully on the OVS. But I failed to verify the SFF mentioned in
the guide.

Could you help on this?
Appreciate your reply

Best wishes,
Ziyu


=======================================================================
========================================
Cannot verify SFF after created ovs-bridge using:

Send POST request to URL: http://<odl_ip_address>:8181/restconf/operati
ons/service-function-forwarder-ovs:create-ovs-bridge - Succeed
Verification

In a shell execute: ovs-vsctl show. There should be a Bridge with the
name br-test and one port/interface called br-test.

Also, the corresponding SFF for this OVS Bridge should be configured,
which can be verified through the SFC User Interface or RESTCONF as
follows.

Visit the SFC User Interface: http://<odl_ip_address>:8181/sfc/index.ht
ml#/sfc/serviceforwarder - Failed
Use pure RESTCONF and send a GET request to URL:http://<odl_ip_address>
:8181/restconf/config/service-function-forwarder:service-function-
forwarders - Failed as below screenshot
There should be an SFF, whose name will be ending with br1 and the SFF
should contain two DataPlane locators: br1 and testPort.







=======================================================================
========================================
Cannot find “odl-sfc-ui” plugin

chang@mec:~/opendaylight-0.10.1/bin$ ./karaf
Apache Karaf starting up. Press Enter to open the shell now...
100%
[======================================================================
==]
Karaf started in 17s. Bundle stats: 448 active, 449 total


________ ________ .__ .__
.__ __
\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__|
____ | |___/ |_
/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/
___\| | \ __\
/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| /
/_/ > Y \ |
\_______ / __/ \___ >___| /_______ (____ /
____||____/__\___ /|___| /__|
\/|__| \/ \/ \/ \/\/
/_____/ \/



Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
OpenDaylight.

opendaylight-user@root>
opendaylight-user@root>feature:install odl-sfc-ui
Error executing command: No matching features for odl-sfc-ui/0

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


Ziyu Wu
 

Hi Jaime and team,

Good morning,

I still got some questions after following the example[1] and SFC user guide[2] and asking for your suggestions.



I configured exactly the same topology as the SFC user guide[2] like below:



The issues are:

  1. Classifier got configured by ODL the bridge like below[3], but no flow entries were issued by ODL
===================
[3].

root@classifier-1:/home/chang# ovs-vsctl show

29d82891-002e-47dd-b69c-ad10ff29d92f

    Manager "tcp:10.5.40.96:6640"

        is_connected: true

    Bridge "br0"

        Controller "tcp:10.5.40.96:6653"

            is_connected: true

        Port "br0"

            Interface "br0"

                type: internal

        Port "classifier1-dpl"

            Interface "classifier1-dpl"

                type: vxlan

                options: {dst_port="6633", key=flow, "nshc1"=flow, "nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow, remote_ip=flow}

    ovs_version: "2.11.90"

root@classifier-1:/home/chang# ovs-ofctl dump-flows br0

root@classifier-1:/home/chang# ovs-ofctl -O Openflow13 dump-flows br0

root@classifier-1:/home/chang# ovs-ofctl -O Openflow13 dump-flows br0


===================

2. SFs got nothing from ODL[4]. While SFFs seem normal, which means both bridge and flow entries were configured by ODL.

===================
[4]

root@sf-1:/home/chang# ovs-vsctl show

bce90480-17b4-41f5-8eb7-dc4f3f212470

    Manager "tcp:10.5.40.96:6640"

        is_connected: true

    ovs_version: "2.11.90"

root@sf-1:/home/chang# 



===================

3. In "03-service_function_forwarders.json", what does the "ip" in "sff-data-plane-locator" means?[5]
It only takes effect when it same as the "ip-mgmt-address". Which means when I configure it as "10.0.0.100", the classifier even won't get bridge configured by ODL.

===================
[5]

                "sff-data-plane-locator": [
                    {
                        "name": "classifier1-dpl",
                        "data-plane-locator": {
                            "transport": "service-locator:vxlan-gpe",
                            "port": 6633,
                            "ip": "10.5.40.97"
                        },
                        "service-function-forwarder-ovs:ovs-options": {
                            "remote-ip": "flow",
                            "dst-port": "6633",
                            "key": "flow",
                            "nsp": "flow",
                            "nsi": "flow",
                            "nshc1": "flow",
                            "nshc2": "flow",
                            "nshc3": "flow",
                            "nshc4": "flow"
                        }
                    }
                ]

===================

4. In "09-configure-service_function_classifiers"[6], could you please explain the significance of "interface"? 
My understanding is the interface connected to SFF. Is that correct?

===================
[6]

{
  "service-function-classifiers": {
    "service-function-classifier": [
      {
        "name": "Classifier1",
        "scl-service-function-forwarder": [
          {
            "name": "Classifier1",
            "interface": "enp1s0f0"
          }
        ],
        "acl": {
            "name": "ACL1",
            "type": "ietf-access-control-list:ipv4-acl"
         }
      },
      {
        "name": "Classifier2",
        "scl-service-function-forwarder": [
          {
            "name": "Classifier2",
            "interface": "enx503eaa8581e4"
          }
        ],
        "acl": {
            "name": "ACL2",
            "type": "ietf-access-control-list:ipv4-acl"
         }
      }
    ]
  }
}

===================

I also attached my postman_collection.json and the screenshot of the SFF status.

===================


Appreciate your reply.

Thanks in advance.
BR
Ziyu









From: Jaime Caamaño Ruiz <jcaamano@...>
Date: 2019年6月24日 16:13
To: Wu Ziyu; sfc-dev@...
Subject: Re: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
 
Hello Ziyu

> But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
> guide/service-function-chaining”<https://docs.opendaylight.org/en/sta
> bl
> e-neon/user-guide/service-function-chaining.html>

There is no ui any longer in ODL, thats a leftover in the
documentation. You will need to operate with HTTP REST requests.

> Use pure RESTCONF and send a GET request to URL:http://<odl_ip_addres
> s>;
> :8181/restconf/config/service-function-forwarder:service-function-
> forwarders  - Failed as below screenshot

Unfortunately this is out of date too. The SFF is no longer configured
automatically from an OVS bridge. It works in the opposite direction,
you configure an SFF manually specifying the OVS bridge, and that
bridge gets configured in OVS automatically.

Perhaps this example [1] helps. If you configure that in ODL, 'br-int'
bridge will be added to OVS instance.

[1] https://github.com/opendaylight/sfc/blob/stable/neon/resources/conf
iguration-examples/simple/json/03-service_function_forwarders.json

BR
Jaime.


-----Original Message-----
From: Wu Ziyu <qw98www@...>
To: sfc-dev@... <sfc-dev@...>
Subject: [sfc-dev]  cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
Date: Fri, 21 Jun 2019 16:53:31 +0000

Hi Experts,
 
Good days
 
I’m using ODL-Neon and OVS 2.11 for SFC-NSH experiment.
But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
guide/service-function-chaining”<https://docs.opendaylight.org/en/stabl
e-neon/user-guide/service-function-chaining.html>
May I know where I can get it or any alternative solution about this?
 
Also I tried using REST api to operate ODL and created ovs-bridge
successfully on the OVS. But I failed to verify the SFF mentioned in
the guide.
 
Could you help on this?
Appreciate your reply
 
Best wishes,
Ziyu
 
 
=======================================================================
========================================
Cannot verify SFF after created ovs-bridge using:

Send POST request to URL: http://<odl_ip_address>:8181/restconf/operati
ons/service-function-forwarder-ovs:create-ovs-bridge  - Succeed
Verification

In a shell execute: ovs-vsctl show. There should be a Bridge with the
name br-test and one port/interface called br-test.

Also, the corresponding SFF for this OVS Bridge should be configured,
which can be verified through the SFC User Interface or RESTCONF as
follows.

Visit the SFC User Interface: http://<odl_ip_address>:8181/sfc/index.ht
ml#/sfc/serviceforwarder  - Failed
Use pure RESTCONF and send a GET request to URL:http://<odl_ip_address>
:8181/restconf/config/service-function-forwarder:service-function-
forwarders  - Failed as below screenshot
There should be an SFF, whose name will be ending with br1 and the SFF
should contain two DataPlane locators: br1 and testPort.


 

 
 
 
=======================================================================
========================================
Cannot find “odl-sfc-ui” plugin
 
chang@mec:~/opendaylight-0.10.1/bin$ ./karaf
Apache Karaf starting up. Press Enter to open the shell now...
100%
[======================================================================
==]
Karaf started in 17s. Bundle stats: 448 active, 449 total
                                                                      
                  
    ________                       ________                .__  .__   
  .__     __      
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__|
____ |  |___/  |_    
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/
___\|  |  \   __\   
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  /
/_/  >   Y  \  |     
    \_______  /   __/ \___  >___|  /_______  (____  /
____||____/__\___  /|___|  /__|     
            \/|__|        \/     \/        \/     \/\/          
/_____/      \/         
                                                                      
                  
 
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
OpenDaylight.
 
opendaylight-user@root>  
opendaylight-user@root>feature:install odl-sfc-ui
Error executing command: No matching features for odl-sfc-ui/0
 
_______________________________________________
sfc-dev mailing list
sfc-dev@...
https://lists.opendaylight.org/mailman/listinfo/sfc-dev


Jaime Caamaño Ruiz
 

Hello

Classifier got configured by ODL the bridge like below[3], but no
flow
entries were issued by ODL
There is currently a problem with the SCF classifiers and sfc103 demo,
you will need this patch

https://git.opendaylight.org/gerrit/#/c/79533/

2. SFs got nothing from ODL[4]. While SFFs seem normal, which means
both bridge and flow entries were configured by ODL.
This could be because odl-sfc-sb-rest feature is not activated?

3. In "03-service_function_forwarders.json", what does the "ip" in
"sff-data-plane-locator" means?[5]
Thats the ip of the vxlan vtep for that OVS instance and incidentally
is the ip that SFC uses to reach out to that OVS instance.

4. In "09-configure-service_function_classifiers"[6], could you
please
explain the significance of "interface"?
That's the name of the OVS interface/port source of the incoming
traffic you wan to classify into the chain.

Note that you have the whole setup of sfc103 demo at

https://github.com/opendaylight/sfc/tree/master/sfc-demo/sfc103

BR
Jaime.

-----Original Message-----
From: Wu Ziyu <qw98www@...>
To: sfc-dev@... <sfc-dev@...>,
Jaime Caamaño Ruiz <jcaamano@...>
Subject: Re: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
Date: Mon, 1 Jul 2019 11:33:02 +0000

Hi Jaime and team,

Good morning,

I still got some questions after following the example[1] and SFC user
guide[2] and asking for your suggestions.

[1]https://github.com/opendaylight/sfc/tree/stable/neon/resources/confi
guration-examples/sfc103

[2]https://buildmedia.readthedocs.org/media/pdf/odl-sfc/latest/odl-sfc.
pdf

I configured exactly the same topology as the SFC user guide[2] like
below:



The issues are:

Classifier got configured by ODL the bridge like below[3], but no flow
entries were issued by ODL
===================
[3].

root@classifier-1:/home/chang# ovs-vsctl show
29d82891-002e-47dd-b69c-ad10ff29d92f
Manager "tcp:10.5.40.96:6640"
is_connected: true
Bridge "br0"
Controller "tcp:10.5.40.96:6653"
is_connected: true
Port "br0"
Interface "br0"
type: internal
Port "classifier1-dpl"
Interface "classifier1-dpl"
type: vxlan
options: {dst_port="6633", key=flow, "nshc1"=flow,
"nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow,
remote_ip=flow}
ovs_version: "2.11.90"
root@classifier-1:/home/chang# ovs-ofctl dump-flows br0
root@classifier-1:/home/chang# ovs-ofctl -O Openflow13 dump-flows br0
root@classifier-1:/home/chang# ovs-ofctl -O Openflow13 dump-flows br0

===================

2. SFs got nothing from ODL[4]. While SFFs seem normal, which means
both bridge and flow entries were configured by ODL.

===================
[4]

root@sf-1:/home/chang# ovs-vsctl show
bce90480-17b4-41f5-8eb7-dc4f3f212470
Manager "tcp:10.5.40.96:6640"
is_connected: true
ovs_version: "2.11.90"
root@sf-1:/home/chang#


===================

3. In "03-service_function_forwarders.json", what does the "ip" in
"sff-data-plane-locator" means?[5]
It only takes effect when it same as the "ip-mgmt-address". Which means
when I configure it as "10.0.0.100", the classifier even won't get
bridge configured by ODL.

===================
[5]

"sff-data-plane-locator": [
{
"name": "classifier1-dpl",
"data-plane-locator": {
"transport": "service-locator:vxlan-gpe",
"port": 6633,
"ip": "10.5.40.97"
},
"service-function-forwarder-ovs:ovs-options": {
"remote-ip": "flow",
"dst-port": "6633",
"key": "flow",
"nsp": "flow",
"nsi": "flow",
"nshc1": "flow",
"nshc2": "flow",
"nshc3": "flow",
"nshc4": "flow"
}
}
]

===================

4. In "09-configure-service_function_classifiers"[6], could you please
explain the significance of "interface"?
My understanding is the interface connected to SFF. Is that correct?

===================
[6]

{
"service-function-classifiers": {
"service-function-classifier": [
{
"name": "Classifier1",
"scl-service-function-forwarder": [
{
"name": "Classifier1",
"interface": "enp1s0f0"
}
],
"acl": {
"name": "ACL1",
"type": "ietf-access-control-list:ipv4-acl"
}
},
{
"name": "Classifier2",
"scl-service-function-forwarder": [
{
"name": "Classifier2",
"interface": "enx503eaa8581e4"
}
],
"acl": {
"name": "ACL2",
"type": "ietf-access-control-list:ipv4-acl"
}
}
]
}
}

===================

I also attached my postman_collection.json and the screenshot of the
SFF status.

===================


Appreciate your reply.

Thanks in advance.
BR
Ziyu








From: Jaime Caamaño Ruiz <jcaamano@...>
Date: 2019年6月24日 16:13
To: Wu Ziyu; sfc-dev@...
Subject: Re: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine

Hello Ziyu

But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
guide/service-function-chaining”<https://docs.opendaylight.org/en/sta
bl
e-neon/user-guide/service-function-chaining.html>
There is no ui any longer in ODL, thats a leftover in the
documentation. You will need to operate with HTTP REST requests.

Use pure RESTCONF and send a GET request to URL:http://<odl_ip_addres
s>;
:8181/restconf/config/service-function-forwarder:service-function-
forwarders - Failed as below screenshot
Unfortunately this is out of date too. The SFF is no longer configured
automatically from an OVS bridge. It works in the opposite direction,
you configure an SFF manually specifying the OVS bridge, and that
bridge gets configured in OVS automatically.

Perhaps this example [1] helps. If you configure that in ODL, 'br-int'
bridge will be added to OVS instance.

[1] https://github.com/opendaylight/sfc/blob/stable/neon/resources/conf
iguration-examples/simple/json/03-service_function_forwarders.json

BR
Jaime.


-----Original Message-----
From: Wu Ziyu <qw98www@...>
To: sfc-dev@... <sfc-dev@...>
Subject: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
Date: Fri, 21 Jun 2019 16:53:31 +0000

Hi Experts,

Good days

I’m using ODL-Neon and OVS 2.11 for SFC-NSH experiment.
But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
guide/service-function-chaining”<https://docs.opendaylight.org/en/stabl
e-neon/user-guide/service-function-chaining.html>
May I know where I can get it or any alternative solution about this?

Also I tried using REST api to operate ODL and created ovs-bridge
successfully on the OVS. But I failed to verify the SFF mentioned in
the guide.

Could you help on this?
Appreciate your reply

Best wishes,
Ziyu


=======================================================================
========================================
Cannot verify SFF after created ovs-bridge using:

Send POST request to URL: http://<odl_ip_address>:8181/restconf/operati
ons/service-function-forwarder-ovs:create-ovs-bridge - Succeed
Verification

In a shell execute: ovs-vsctl show. There should be a Bridge with the
name br-test and one port/interface called br-test.

Also, the corresponding SFF for this OVS Bridge should be configured,
which can be verified through the SFC User Interface or RESTCONF as
follows.

Visit the SFC User Interface: http://<odl_ip_address>:8181/sfc/index.ht
ml#/sfc/serviceforwarder - Failed
Use pure RESTCONF and send a GET request to URL:http://<odl_ip_address>
;
:8181/restconf/config/service-function-forwarder:service-function-
forwarders - Failed as below screenshot
There should be an SFF, whose name will be ending with br1 and the SFF
should contain two DataPlane locators: br1 and testPort.







=======================================================================
========================================
Cannot find “odl-sfc-ui” plugin

chang@mec:~/opendaylight-0.10.1/bin$ ./karaf
Apache Karaf starting up. Press Enter to open the shell now...
100%
[======================================================================
==]
Karaf started in 17s. Bundle stats: 448 active, 449 total


________ ________ .__ .__
.__ __
\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__|
____ | |___/ |_
/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/
___\| | \ __\
/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| /
/_/ > Y \ |
\_______ / __/ \___ >___| /_______ (____ /
____||____/__\___ /|___| /__|
\/|__| \/ \/ \/ \/\/
/_____/ \/



Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
OpenDaylight.

opendaylight-user@root>
opendaylight-user@root>feature:install odl-sfc-ui
Error executing command: No matching features for odl-sfc-ui/0

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


Ziyu Wu
 

Hi Jaime and team,

Good afternoon.

Still need your advice:

1. The ODL patch <https://git.opendaylight.org/gerrit/#/c/79533/> prompted compilation error as shown in [1].

2. I checked the "odl-sfc-sb-rest" plugin and it is running.[2]


=====================================
[1]

Java: OpenJDK 1.8.0_171
Maven: v3.6.1

[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for sfc 0.10.0-SNAPSHOT:
[INFO]
[INFO] sfc-artifacts ...................................... SUCCESS [ 0.222 s]
[INFO] ODL :: sfc :: sfc-model ............................ FAILURE [ 11.881 s]
[INFO] sfc ................................................ SKIPPED
[INFO] ODL :: sfc :: sfc-provider ......................... SKIPPED
[INFO] ODL :: sfc :: sfc-sb-rest .......................... SKIPPED
[INFO] ODL :: sfc :: sfclisp .............................. SKIPPED
[INFO] ODL :: sfc :: sfc-util-parent ...................... SKIPPED
[INFO] ODL :: sfc :: sfc-openflow-utils ................... SKIPPED
[INFO] ODL :: sfc :: sfc-vpp-utils ........................ SKIPPED
[INFO] ODL :: sfc :: sfc-genius-utils ..................... SKIPPED
[INFO] ODL :: sfc :: sfc-ovs .............................. SKIPPED
[INFO] ODL :: sfc :: sfc-classifiers ...................... SKIPPED
[INFO] ODL :: sfc :: sfc-scf-openflow ..................... SKIPPED
[INFO] ODL :: sfc :: sfc-scf-vpp .......................... SKIPPED
[INFO] ODL :: sfc :: sfc-netconf .......................... SKIPPED
[INFO] ODL :: sfc :: sfc-vnfm-spi ......................... SKIPPED
[INFO] ODL :: sfc :: sfc-vnfm-tacker ...................... SKIPPED
[INFO] ODL :: sfc :: sfc-pot .............................. SKIPPED
[INFO] ODL :: sfc :: odl-sfc-model ........................ SKIPPED
[INFO] ODL :: sfc :: odl-sfc-provider ..................... SKIPPED
[INFO] ODL :: sfc :: sfc-shell ............................ SKIPPED
[INFO] ODL :: sfc :: odl-sfc-shell ........................ SKIPPED
[INFO] ODL :: sfc :: odl-sfc-provider-rest ................ SKIPPED
[INFO] ODL :: sfc :: odl-sfc-ovs .......................... SKIPPED
[INFO] ODL :: sfc :: sfc-renderers ........................ SKIPPED
[INFO] ODL :: sfc :: sfc-openflow-renderer ................ SKIPPED
[INFO] ODL :: sfc :: odl-sfc-openflow-renderer ............ SKIPPED
[INFO] ODL :: sfc :: sfc-genius ........................... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-genius ....................... SKIPPED
[INFO] ODL :: sfc :: sfc-ios-xe-renderer .................. SKIPPED
[INFO] ODL :: sfc :: odl-sfc-ios-xe-renderer .............. SKIPPED
[INFO] ODL :: sfc :: odl-sfc-netconf ...................... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-pot .......................... SKIPPED
[INFO] ODL :: sfc :: sfc-pot-netconf-renderer ............. SKIPPED
[INFO] ODL :: sfc :: odl-sfc-pot-netconf-renderer ......... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-sb-rest ...................... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-scf-openflow ................. SKIPPED
[INFO] ODL :: sfc :: sfc-vpp-renderer ..................... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-vpp-renderer ................. SKIPPED
[INFO] ODL :: sfc :: odl-sfc-scf-vpp ...................... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-vnfm-tacker .................. SKIPPED
[INFO] ODL :: sfc :: odl-sfclisp .......................... SKIPPED
[INFO] ODL :: sfc :: sfc-statistics ....................... SKIPPED
[INFO] ODL :: sfc :: odl-sfc-statistics ................... SKIPPED
[INFO] ODL :: sfc :: features4-sfc ........................ SKIPPED
[INFO] ODL :: sfc :: features-aggregator .................. SKIPPED
[INFO] ODL :: sfc :: sfc-karaf ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.966 s
[INFO] Finished at: 2019-07-02T14:24:37+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project sfc-model: Compilation failure
[ERROR] /home/chang/distribution/sfc-model/target/generated-sources/mdsal-binding/org/opendaylight/yang/gen/v1/urn/cisco/params/xml/ns/yang/sfc/sff/ovs/rev140701/create/ovs/bridge/input/OvsNodeBuilder.java:[126,26] org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.ovs.rev140701.create.ovs.bridge.input.OvsNodeBuilder.OvsNodeImpl is not abstract and does not override abstract method implementedInterface() in org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.overlay.rev150105.IpPortLocator

Same screenshot was attached as well.

=====================================

=====================================
[2]

opendaylight-user@root>feature:list | grep sfc
odl-sfc-statistics │ 0.9.1 │ │ Uninstalled │ odl-sfc-statistics │ ODL :: sfc :: odl-sfc-statistics
odl-netvirt-sfc │ 0.8.1 │ │ Uninstalled │ odl-netvirt-sfc │ OpenDaylight :: NetVirt :: SFC
odl-sfc-scf-vpp │ 0.9.1 │ │ Uninstalled │ odl-sfc-scf-vpp │ ODL :: sfc :: odl-sfc-scf-vpp
features4-sfc │ 0.9.1 │ │ Uninstalled │ features4-sfc │ ODL :: sfc :: features4-sfc
odl-sfc-ovs │ 0.9.1 │ x │ Started │ odl-sfc-ovs │ ODL :: sfc :: odl-sfc-ovs
odl-sfclisp │ 0.9.1 │ │ Uninstalled │ odl-sfclisp │ ODL :: sfc :: odl-sfclisp
odl-sfc-model │ 0.9.1 │ x │ Started │ odl-sfc-model │ ODL :: sfc :: odl-sfc-model
odl-sfc-openflow-renderer │ 0.9.1 │ x │ Started │ odl-sfc-openflow-renderer │ ODL :: sfc :: odl-sfc-openflow-renderer
odl-sfc-genius │ 0.9.1 │ │ Uninstalled │ odl-sfc-genius │ ODL :: sfc :: odl-sfc-genius
odl-sfc-vnfm-tacker │ 0.9.1 │ │ Uninstalled │ odl-sfc-0.9.1 │ ODL :: sfc :: odl-sfc-vnfm-tacker
odl-sfc-scf-openflow │ 0.9.1 │ │ Uninstalled │ odl-sfc-scf-openflow │ ODL :: sfc :: odl-sfc-scf-openflow
odl-sfc-vpp-renderer │ 0.9.1 │ │ Uninstalled │ odl-sfc-vpp-renderer │ ODL :: sfc :: odl-sfc-vpp-renderer
odl-sfc-shell │ 0.9.1 │ x │ Started │ odl-sfc-shell │ ODL :: sfc :: odl-sfc-shell
odl-sfc-pot │ 0.9.1 │ x │ Started │ odl-sfc-pot │ ODL :: sfc :: odl-sfc-pot
odl-sfc-provider │ 0.9.1 │ x │ Started │ odl-sfc-provider │ ODL :: sfc :: odl-sfc-provider
odl-sfc-pot-netconf-renderer │ 0.9.1 │ x │ Started │ odl-sfc-pot-netconf-renderer │ ODL :: sfc :: odl-sfc-pot-netconf-renderer
odl-sfc-ios-xe-renderer │ 0.9.1 │ │ Uninstalled │ odl-sfc-ios-xe-renderer │ ODL :: sfc :: odl-sfc-ios-xe-renderer
odl-sfc-netconf │ 0.9.1 │ x │ Started │ odl-sfc-netconf │ ODL :: sfc :: odl-sfc-netconf
odl-sfc-sb-rest │ 0.9.1 │ x │ Started │ odl-sfc-sb-rest │ ODL :: sfc :: odl-sfc-sb-rest
odl-sfc-provider-rest │ 0.9.1 │ │ Started │ odl-sfc-provider-rest │ ODL :: sfc :: odl-sfc-provider-rest


=====================================

Any suggestion?
Thanks in advance :)

Best wishes,
Ziyu



_______________
2019/7/2 10:33AM,“Jaime Caamaño Ruiz”<jcaamano@...> wrote:

Hello

> Classifier got configured by ODL the bridge like below[3], but no
> flow
> entries were issued by ODL

There is currently a problem with the SCF classifiers and sfc103 demo,
you will need this patch

https://git.opendaylight.org/gerrit/#/c/79533/

> 2. SFs got nothing from ODL[4]. While SFFs seem normal, which means
> both bridge and flow entries were configured by ODL.

This could be because odl-sfc-sb-rest feature is not activated?

> 3. In "03-service_function_forwarders.json", what does the "ip" in
> "sff-data-plane-locator" means?[5]

Thats the ip of the vxlan vtep for that OVS instance and incidentally
is the ip that SFC uses to reach out to that OVS instance.

> 4. In "09-configure-service_function_classifiers"[6], could you
> please
> explain the significance of "interface"?

That's the name of the OVS interface/port source of the incoming
traffic you wan to classify into the chain.

Note that you have the whole setup of sfc103 demo at

https://github.com/opendaylight/sfc/tree/master/sfc-demo/sfc103

BR
Jaime.

-----Original Message-----
From: Wu Ziyu <qw98www@...>
To: sfc-dev@... <sfc-dev@...>,
Jaime Caamaño Ruiz <jcaamano@...>
Subject: Re: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
Date: Mon, 1 Jul 2019 11:33:02 +0000

Hi Jaime and team,

Good morning,

I still got some questions after following the example[1] and SFC user
guide[2] and asking for your suggestions.

[1]https://github.com/opendaylight/sfc/tree/stable/neon/resources/confi
guration-examples/sfc103

[2]https://buildmedia.readthedocs.org/media/pdf/odl-sfc/latest/odl-sfc.
pdf

I configured exactly the same topology as the SFC user guide[2] like
below:



The issues are:

Classifier got configured by ODL the bridge like below[3], but no flow
entries were issued by ODL
===================
[3].

root@classifier-1:/home/chang# ovs-vsctl show
29d82891-002e-47dd-b69c-ad10ff29d92f
Manager "tcp:10.5.40.96:6640"
is_connected: true
Bridge "br0"
Controller "tcp:10.5.40.96:6653"
is_connected: true
Port "br0"
Interface "br0"
type: internal
Port "classifier1-dpl"
Interface "classifier1-dpl"
type: vxlan
options: {dst_port="6633", key=flow, "nshc1"=flow,
"nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow,
remote_ip=flow}
ovs_version: "2.11.90"
root@classifier-1:/home/chang# ovs-ofctl dump-flows br0
root@classifier-1:/home/chang# ovs-ofctl -O Openflow13 dump-flows br0
root@classifier-1:/home/chang# ovs-ofctl -O Openflow13 dump-flows br0

===================

2. SFs got nothing from ODL[4]. While SFFs seem normal, which means
both bridge and flow entries were configured by ODL.

===================
[4]

root@sf-1:/home/chang# ovs-vsctl show
bce90480-17b4-41f5-8eb7-dc4f3f212470
Manager "tcp:10.5.40.96:6640"
is_connected: true
ovs_version: "2.11.90"
root@sf-1:/home/chang#


===================

3. In "03-service_function_forwarders.json", what does the "ip" in
"sff-data-plane-locator" means?[5]
It only takes effect when it same as the "ip-mgmt-address". Which means
when I configure it as "10.0.0.100", the classifier even won't get
bridge configured by ODL.

===================
[5]

"sff-data-plane-locator": [
{
"name": "classifier1-dpl",
"data-plane-locator": {
"transport": "service-locator:vxlan-gpe",
"port": 6633,
"ip": "10.5.40.97"
},
"service-function-forwarder-ovs:ovs-options": {
"remote-ip": "flow",
"dst-port": "6633",
"key": "flow",
"nsp": "flow",
"nsi": "flow",
"nshc1": "flow",
"nshc2": "flow",
"nshc3": "flow",
"nshc4": "flow"
}
}
]

===================

4. In "09-configure-service_function_classifiers"[6], could you please
explain the significance of "interface"?
My understanding is the interface connected to SFF. Is that correct?

===================
[6]

{
"service-function-classifiers": {
"service-function-classifier": [
{
"name": "Classifier1",
"scl-service-function-forwarder": [
{
"name": "Classifier1",
"interface": "enp1s0f0"
}
],
"acl": {
"name": "ACL1",
"type": "ietf-access-control-list:ipv4-acl"
}
},
{
"name": "Classifier2",
"scl-service-function-forwarder": [
{
"name": "Classifier2",
"interface": "enx503eaa8581e4"
}
],
"acl": {
"name": "ACL2",
"type": "ietf-access-control-list:ipv4-acl"
}
}
]
}
}

===================

I also attached my postman_collection.json and the screenshot of the
SFF status.

===================


Appreciate your reply.

Thanks in advance.
BR
Ziyu








From: Jaime Caamaño Ruiz <jcaamano@...>
Date: 2019年6月24日 16:13
To: Wu Ziyu; sfc-dev@...
Subject: Re: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine

Hello Ziyu

> But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
> guide/service-function-chaining”<https://docs.opendaylight.org/en/sta
> bl
> e-neon/user-guide/service-function-chaining.html>

There is no ui any longer in ODL, thats a leftover in the
documentation. You will need to operate with HTTP REST requests.

> Use pure RESTCONF and send a GET request to URL:http://<odl_ip_addres
> s>;
> :8181/restconf/config/service-function-forwarder:service-function-
> forwarders - Failed as below screenshot

Unfortunately this is out of date too. The SFF is no longer configured
automatically from an OVS bridge. It works in the opposite direction,
you configure an SFF manually specifying the OVS bridge, and that
bridge gets configured in OVS automatically.

Perhaps this example [1] helps. If you configure that in ODL, 'br-int'
bridge will be added to OVS instance.

[1] https://github.com/opendaylight/sfc/blob/stable/neon/resources/conf
iguration-examples/simple/json/03-service_function_forwarders.json

BR
Jaime.


-----Original Message-----
From: Wu Ziyu <qw98www@...>
To: sfc-dev@... <sfc-dev@...>
Subject: [sfc-dev] cannot find "odl-sfc-ui" on ODL-Neon& Fluorine
Date: Fri, 21 Jun 2019 16:53:31 +0000

Hi Experts,

Good days

I’m using ODL-Neon and OVS 2.11 for SFC-NSH experiment.
But I can’t find plug-in “odl-sfc-ui” which is mentioned in “user-
guide/service-function-chaining”<https://docs.opendaylight.org/en/stabl
e-neon/user-guide/service-function-chaining.html>
May I know where I can get it or any alternative solution about this?

Also I tried using REST api to operate ODL and created ovs-bridge
successfully on the OVS. But I failed to verify the SFF mentioned in
the guide.

Could you help on this?
Appreciate your reply

Best wishes,
Ziyu


=======================================================================
========================================
Cannot verify SFF after created ovs-bridge using:

Send POST request to URL: http://<odl_ip_address>:8181/restconf/operati
ons/service-function-forwarder-ovs:create-ovs-bridge - Succeed
Verification

In a shell execute: ovs-vsctl show. There should be a Bridge with the
name br-test and one port/interface called br-test.

Also, the corresponding SFF for this OVS Bridge should be configured,
which can be verified through the SFC User Interface or RESTCONF as
follows.

Visit the SFC User Interface: http://<odl_ip_address>:8181/sfc/index.ht
ml#/sfc/serviceforwarder - Failed
Use pure RESTCONF and send a GET request to URL:http://<odl_ip_address>
;
:8181/restconf/config/service-function-forwarder:service-function-
forwarders - Failed as below screenshot
There should be an SFF, whose name will be ending with br1 and the SFF
should contain two DataPlane locators: br1 and testPort.







=======================================================================
========================================
Cannot find “odl-sfc-ui” plugin

chang@mec:~/opendaylight-0.10.1/bin$ ./karaf
Apache Karaf starting up. Press Enter to open the shell now...
100%
[======================================================================
==]
Karaf started in 17s. Bundle stats: 448 active, 449 total


________ ________ .__ .__
.__ __
\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__|
____ | |___/ |_
/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/
___\| | \ __\
/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| /
/_/ > Y \ |
\_______ / __/ \___ >___| /_______ (____ /
____||____/__\___ /|___| /__|
\/|__| \/ \/ \/ \/\/
/_____/ \/



Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
OpenDaylight.

opendaylight-user@root>
opendaylight-user@root>feature:install odl-sfc-ui
Error executing command: No matching features for odl-sfc-ui/0

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