Hi,
I have been trying to achieve service function chaining with NSH
encapsulation using ODL carbon (distribution-karaf-0.6.1-Carbon). Openstack
(ocata) allinone node is pre-deployed with the integration of Yi Yang ovs
nsh patch.
In ODL only SFC features are enabled (odl-sfc-ui,
odl-sfc-openflow-renderer, odl-sfc-scf-openflow, odl-sfc-ovs).
I have created simple topology
Client --- SF1 --- Server
Openstack ALLINONE Node - 192.168.122.9
ODL - 192.168.122.58
client - 10.0.0.4(IP), 23(ofport)
server- 10.0.0.10(IP), 24(ofport)
SF1 - 10.0.0.7(IP), 25(ofport)
When SFC configuration is inserted through REST, I didn't find
classification rules in the ovs node (openstack allinone). The whole
configuration inserted through REST is attached.
Found below error in karaf.log while inserting the Service Function
Classifier configuration through REST and the same was attached.
2017-10-16 07:32:17,037 | ERROR | dispatcher-76130 |
SfcGeniusRpcClient | 396 - org.opendaylight.sfc.genius -
0.5.1.Carbon | getDpnIdFromInterfaceNameFromGeniusRPC(GetDpidFromInterfaceInput
[_intfName=qvo1d67f595-33, augmentation=[]]) failed: RpcResult
[successful=false, result=null, errors=[RpcError [message=Retrieval of
datapath id for the key {qvo1d67f595-33} *failed due to missing Interface
in Config DataStore, severity=ERROR, errorType=APPLICATION,
tag=operation-failed, applicationTag=null, info=null, cause=null]*]]
2017-10-16 07:32:17,038 | ERROR | dispatcher-76130 |
OpenflowClassifierProcessor | 397 - org.opendaylight.sfc.scf-openflow
- 0.5.1.Carbon | createdServiceFunctionClassifier: *Could not extract the
node name from the OVS interface*
2017-10-16 07:32:17,039 | ERROR | dispatcher-76130 |
SfcGeniusRpcClient | 396 - org.opendaylight.sfc.genius -
0.5.1.Carbon | getDpnIdFromInterfaceNameFromGeniusRPC(GetDpidFromInterfaceInput
[_intfName=qvo1d67f595-33, augmentation=[]]) failed: RpcResult
[successful=false, result=null, errors=[RpcError [message=Retrieval of
datapath id for the key {qvo1d67f595-33} *failed due to missing Interface
in Config DataStore*, severity=ERROR, errorType=APPLICATION,
tag=operation-failed, applicationTag=null, info=null, cause=null]]]
2017-10-16 07:32:17,039 | ERROR | dispatcher-76130 |
OpenflowClassifierProcessor | 397 - org.opendaylight.sfc.scf-openflow
- 0.5.1.Carbon | createdServiceFunctionClassifier: *Could not extract the
node name from the OVS interface*
I have also tried topology which is similar to sfc104 demo. I succeeded in
achieving SFC with NSH encapsulation using the same ODL distribution
(distribution-karaf-0.6.1-Carbon).
But I could not achieve the same with allinone openstack setup, where all
the VM's(client, server, SF1) are on single compute node.
Could someone please provide some insights on the same.
Thank you
Best Regards,
Anusha K
********************* SERVICE NODES ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-node:service-nodes
{"service-nodes": { "service-node": [ { "name": "classifier1",
"service-function": [ ],"ip-mgmt-address": "192.168.122.9"},{"name": "sff1",
"service-function": [ ], "ip-mgmt-address": "192.168.122.9"}, {"name": "sf1",
"service-function": [ "sf1" ], "ip-mgmt-address": "10.0.0.4"}]}}
********************* SERVICE FUNCTIONS *************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-function:service-functions/
{"service-functions": { "service-function": [ { "name": "sf1",
"ip-mgmt-address": "10.0.0.4", "type": "firewall", "sf-data-plane-locator": [ {
"name": "sf1-dpl", "port": 4791, "ip": "10.0.0.4", "transport":
"service-locator:vxlan-gpe", "service-function-forwarder": "SFF1"} ] } ] } }
********************** SERVICE FUNCTION FORWARDERS ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-function-forwarder:service-function-forwarders/
{"service-function-forwarders": { "service-function-forwarder": [ { "name":
"Classifier1", "service-node":
"classifier1","service-function-forwarder-ovs:ovs-bridge": { "bridge-name":
"br-int"}}, { "name": "SFF1", "service-node": "sff1",
"service-function-forwarder-ovs:ovs-bridge": { "bridge-name": "br-int"},
"sff-data-plane-locator": [ { "name":
"sff1-dpl","data-plane-locator":{"transport":"service-locator:vxlan-gpe","port":4790,"ip":"192.168.122.9"},"service-function-forwarder-ovs:ovs-options":
{ "remote-ip": "flow", "dst-port": 4790, "key": "flow", "exts":
"gpe"}}],"service-function-dictionary": [ { "name": "sf1",
"sff-sf-data-plane-locator": { "sf-dpl-name": "sf1-dpl", "sff-dpl-name":
"sff1-dpl"}}]}]}}
********************** SERVICE FUNCTION CHAINS ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-function-chain:service-function-chains/
{ "service-function-chains": { "service-function-chain": [ { "name": "SFC1",
"sfc-service-function": [ { "name": "firewall-abstract1", "type": "firewall" }
] } ] } }
********************** SERVICE FUNCTION METADATA ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-function-path-metadata:service-function-metadata/
{"service-function-metadata": { "context-metadata": [ { "name": "NSH1",
"context-header1": "1", "context-header2": "2", "context-header3": "3",
"context-header4": "4" } ] }}
********************** SERVICE FUNCTION PATH ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-function-path:service-function-paths/
{ "service-function-paths": { "service-function-path": [ { "name": "SFP1",
"service-chain-name": "SFC1", "starting-index": 255, "symmetric":"false",
"context-metadata": "NSH1" }] }}
********************** ACCESS CONTROL LISTS ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/ietf-access-control-list:access-lists/
{ "access-lists": { "acl": [ { "acl-name": "ACL1", "acl-type":
"ietf-access-control-list:ipv4-acl", "access-list-entries": { "ace": [ {
"rule-name": "ACE11", "actions": {
"service-function-acl:rendered-service-path": "RSP1" }, "matches": {
"destination-ipv4-network":"10.0.0.0/24", "source-ipv4-network": "10.0.0.0/24",
"protocol": "1", "source-port-range": {"lower-port":"0"},
"destination-port-range": { "lower-port": "0"} } }, { "rule-name": "ACE12",
"actions": { "service-function-acl:rendered-service-path": "RSP1" },
"matches": { "destination-ipv4-network": "10.0.0.0/24","source-ipv4-network":
"10.0.0.0/24", "protocol": "6", "source-port-range": { "lower-port": 0 },
"destination-port-range": { "lower-port": 80 }}}]}}]}}
********************** RENDERED SERVICE PATH ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X POST --user admin:admin
http://localhost:8181/restconf/operations/rendered-service-path:create-rendered-path/
{"input": { "name": "RSP1", "parent-service-function-path": "SFP1"}}
********************** SERVICE FUNCTION CLASSIFIER ************************
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data
'${JSON}' -X PUT --user admin:admin
http://localhost:8181/restconf/config/service-function-classifier:service-function-classifiers/
{"service-function-classifiers": { "service-function-classifier": [ {
"name":"SFClassifier1", "scl-service-function-forwarder": [ {
"name":"Classifier1", "interface": "qvo1d67f595-33" } ],"acl": { "name":
"ACL1", "type": "ietf-access-control-list:ipv4-acl"}}]}}openstack output
========================
nova list
+--------------------------------------+--------+--------+------------+-------------+-------------------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+--------+--------+------------+-------------+-------------------+
| 0dc2371e-c451-4696-af03-1d2bbc1f88b2 | SF1 | ACTIVE | - | Running
| test_nw=10.0.0.7 |
| 069c82d0-5f1b-45f8-a345-02df3e92b154 | client | ACTIVE | - | Running
| test_nw=10.0.0.4 |
| fecafd51-bf56-4d6c-923a-26f9f64775b6 | server | ACTIVE | - | Running
| test_nw=10.0.0.10 |
+--------------------------------------+--------+--------+------------+-------------+-------------------+
--------------------------------------------------
neutron net-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI
instead.
+--------------------------------------+---------+----------------------------------+----------------------------------------+
| id | name | tenant_id
| subnets |
+--------------------------------------+---------+----------------------------------+----------------------------------------+
| 485887a1-6899-419e-a700-1a5a373766f4 | test_nw |
efe88bdc8a74415ab1969bcc4105fd89 | 32d443fa-9fa2-4527-ba21-392e88315634 |
| | |
| 10.0.0.0/24 |
+--------------------------------------+---------+----------------------------------+----------------------------------------+
--------------------------------------------------
neutron subnet-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI
instead.
+----------------------------------+-------------+----------------------------------+-------------+----------------------------------+
| id | name | tenant_id
| cidr | allocation_pools |
+----------------------------------+-------------+----------------------------------+-------------+----------------------------------+
| 32d443fa- | test_subnet |
efe88bdc8a74415ab1969bcc4105fd89 | 10.0.0.0/24 | {"start": "10.0.0.2", "end":
|
| 9fa2-4527-ba21-392e88315634 | |
| | "10.0.0.254"} |
+----------------------------------+-------------+----------------------------------+-------------+----------------------------------+
--------------------------------------------------
neutron port-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI
instead.
+----------------------------------+------+----------------------------------+-------------------+-----------------------------------+
| id | name | tenant_id |
mac_address | fixed_ips |
+----------------------------------+------+----------------------------------+-------------------+-----------------------------------+
| 1d67f595-33d0-4311-af56-f3ba9cd0 | | efe88bdc8a74415ab1969bcc4105fd89 |
fa:16:3e:6f:0d:6f | {"subnet_id": "32d443fa- |
| 2d2b | | |
| 9fa2-4527-ba21-392e88315634", |
| | | |
| "ip_address": "10.0.0.4"} |
| 1f435a60-ad80-4df3-9461-c53fca60 | | efe88bdc8a74415ab1969bcc4105fd89 |
fa:16:3e:7c:de:35 | {"subnet_id": "32d443fa- |
| 0105 | | |
| 9fa2-4527-ba21-392e88315634", |
| | | |
| "ip_address": "10.0.0.7"} |
| 7c01cff9-f37c- | | efe88bdc8a74415ab1969bcc4105fd89 |
fa:16:3e:d7:65:e7 | {"subnet_id": "32d443fa- |
| 4c43-9fe9-3a75352cf427 | | |
| 9fa2-4527-ba21-392e88315634", |
| | | |
| "ip_address": "10.0.0.2"} |
| 8ca9806e-2697-4d1c-b43c- | | efe88bdc8a74415ab1969bcc4105fd89 |
fa:16:3e:f7:45:5b | {"subnet_id": "32d443fa- |
| 05f9f4a4d94d | | |
| 9fa2-4527-ba21-392e88315634", |
| | | |
| "ip_address": "10.0.0.10"} |
+----------------------------------+------+----------------------------------+-------------------+-----------------------------------+
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
test@test1:~$ sudo ovs-ofctl -O Openflow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa559c54c5afc5027, duration=661203.330s, table=0, n_packets=0,
n_bytes=0, priority=10,icmp6,in_port=23,icmp_type=136 actions=goto_table:24
cookie=0xa559c54c5afc5027, duration=661179.464s, table=0, n_packets=0,
n_bytes=0, priority=10,icmp6,in_port=24,icmp_type=136 actions=goto_table:24
cookie=0xa559c54c5afc5027, duration=661143.225s, table=0, n_packets=0,
n_bytes=0, priority=10,icmp6,in_port=25,icmp_type=136 actions=goto_table:24
cookie=0xa559c54c5afc5027, duration=661203.327s, table=0, n_packets=40,
n_bytes=1680, priority=10,arp,in_port=23 actions=goto_table:24
cookie=0xa559c54c5afc5027, duration=661179.460s, table=0, n_packets=41,
n_bytes=1722, priority=10,arp,in_port=24 actions=goto_table:24
cookie=0xa559c54c5afc5027, duration=661143.222s, table=0, n_packets=51301,
n_bytes=2154642, priority=10,arp,in_port=25 actions=goto_table:24
cookie=0xa559c54c5afc5027, duration=1270656.480s, table=0, n_packets=6,
n_bytes=508, priority=2,in_port=1 actions=drop
cookie=0xa559c54c5afc5027, duration=661203.334s, table=0, n_packets=8728,
n_bytes=2924100, priority=9,in_port=23 actions=goto_table:25
cookie=0xa559c54c5afc5027, duration=661179.468s, table=0, n_packets=8726,
n_bytes=2923672, priority=9,in_port=24 actions=goto_table:25
cookie=0xa559c54c5afc5027, duration=661143.229s, table=0, n_packets=24332,
n_bytes=8212876, priority=9,in_port=25 actions=goto_table:25
cookie=0xa559c54c5afc5027, duration=1270657.108s, table=0, n_packets=904565,
n_bytes=72143550, priority=0 actions=NORMAL
cookie=0x14, duration=660296.415s, table=0, n_packets=207807,
n_bytes=22580198, priority=5 actions=goto_table:1
cookie=0x14, duration=660296.415s, table=1, n_packets=0, n_bytes=0,
priority=250,nsp=36 actions=goto_table:4
cookie=0x14, duration=660296.415s, table=1, n_packets=207807,
n_bytes=22580198, priority=5 actions=drop
cookie=0x14, duration=660296.415s, table=2, n_packets=0, n_bytes=0, priority=5
actions=goto_table:3
cookie=0x14, duration=660296.415s, table=3, n_packets=0, n_bytes=0, priority=5
actions=goto_table:4
cookie=0x14, duration=660296.415s, table=4, n_packets=0, n_bytes=0,
priority=550,nsi=255,nsp=36
actions=load:0xa000004->NXM_NX_TUN_IPV4_DST[],goto_table:10
cookie=0x14, duration=660296.415s, table=4, n_packets=0, n_bytes=0, priority=5
actions=goto_table:10
cookie=0xba5eba1100000102, duration=660296.415s, table=10, n_packets=0,
n_bytes=0, priority=660,nsi=254,nsp=36,nshc1=0
actions=load:0x4->NXM_NX_TUN_GPE_NP[],IN_PORT
cookie=0xba5eba1100000101, duration=660296.415s, table=10, n_packets=0,
n_bytes=0, priority=655,nsi=255,nsp=36,in_port=26
actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSH_C1[]->NXM_NX_NSH_C1[],move:NXM_NX_NSH_C2[]->NXM_NX_NSH_C2[],move:NXM_NX_NSH_C3[]->NXM_NX_NSH_C3[],move:NXM_NX_NSH_C4[]->NXM_NX_NSH_C4[],move:NXM_NX_TUN_ID[0..31]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],IN_PORT
cookie=0xba5eba1100000103, duration=660296.415s, table=10, n_packets=0,
n_bytes=0, priority=655,nsi=254,nsp=36,in_port=26
actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSI[]->NXM_NX_NSI[],move:NXM_NX_NSP[0..23]->NXM_NX_NSP[0..23],move:NXM_NX_NSH_C1[]->NXM_NX_TUN_IPV4_DST[],move:NXM_NX_NSH_C2[]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],IN_PORT
cookie=0xba5eba1100000101, duration=660296.415s, table=10, n_packets=0,
n_bytes=0, priority=650,nsi=255,nsp=36
actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSH_C1[]->NXM_NX_NSH_C1[],move:NXM_NX_NSH_C2[]->NXM_NX_NSH_C2[],move:NXM_NX_NSH_C3[]->NXM_NX_NSH_C3[],move:NXM_NX_NSH_C4[]->NXM_NX_NSH_C4[],move:NXM_NX_TUN_ID[0..31]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],output:26
cookie=0xba5eba1100000103, duration=660296.415s, table=10, n_packets=0,
n_bytes=0, priority=650,nsi=254,nsp=36
actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSI[]->NXM_NX_NSI[],move:NXM_NX_NSP[0..23]->NXM_NX_NSP[0..23],move:NXM_NX_NSH_C1[]->NXM_NX_TUN_IPV4_DST[],move:NXM_NX_NSH_C2[]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],output:26
cookie=0x14, duration=660296.415s, table=10, n_packets=0, n_bytes=0,
priority=5 actions=drop
cookie=0x8000000, duration=872865.038s, table=17, n_packets=0, n_bytes=0,
priority=0,metadata=0x8000000000000000/0xf000000000000000
actions=write_metadata:0x9000000000000000/0xf000000000000000,goto_table:80
cookie=0x6800000, duration=872865.038s, table=18, n_packets=0, n_bytes=0,
priority=0 actions=goto_table:38
cookie=0x1080000, duration=872864.713s, table=19, n_packets=0, n_bytes=0,
priority=100,arp,arp_op=1 actions=group:5000
cookie=0x1080000, duration=872864.713s, table=19, n_packets=0, n_bytes=0,
priority=100,arp,arp_op=2 actions=CONTROLLER:65535
cookie=0x1080000, duration=872864.713s, table=19, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x1030000, duration=872864.713s, table=20, n_packets=0, n_bytes=0,
priority=0 actions=goto_table:80
cookie=0x8000004, duration=872864.720s, table=22, n_packets=0, n_bytes=0,
priority=0 actions=CONTROLLER:65535
cookie=0x1080000, duration=872864.720s, table=23, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0xa559c54c5afc5027, duration=661203.332s, table=24, n_packets=0,
n_bytes=0,
priority=2,icmp6,in_port=23,icmp_type=136,nd_target=fe80::f816:3eff:fe6f:d6f
actions=NORMAL
cookie=0xa559c54c5afc5027, duration=661179.466s, table=24, n_packets=0,
n_bytes=0,
priority=2,icmp6,in_port=24,icmp_type=136,nd_target=fe80::f816:3eff:fef7:455b
actions=NORMAL
cookie=0xa559c54c5afc5027, duration=661143.227s, table=24, n_packets=0,
n_bytes=0,
priority=2,icmp6,in_port=25,icmp_type=136,nd_target=fe80::f816:3eff:fe7c:de35
actions=NORMAL
cookie=0xa559c54c5afc5027, duration=661203.329s, table=24, n_packets=40,
n_bytes=1680, priority=2,arp,in_port=23,arp_spa=10.0.0.4 actions=goto_table:25
cookie=0xa559c54c5afc5027, duration=661179.463s, table=24, n_packets=41,
n_bytes=1722, priority=2,arp,in_port=24,arp_spa=10.0.0.10 actions=goto_table:25
cookie=0xa559c54c5afc5027, duration=661143.224s, table=24, n_packets=51301,
n_bytes=2154642, priority=2,arp,in_port=25,arp_spa=10.0.0.7
actions=goto_table:25
cookie=0xa559c54c5afc5027, duration=1270657.106s, table=24, n_packets=0,
n_bytes=0, priority=0 actions=drop
cookie=0xa559c54c5afc5027, duration=661203.337s, table=25, n_packets=8766,
n_bytes=2925560, priority=2,in_port=23,dl_src=fa:16:3e:6f:0d:6f actions=NORMAL
cookie=0xa559c54c5afc5027, duration=661179.472s, table=25, n_packets=8766,
n_bytes=2925264, priority=2,in_port=24,dl_src=fa:16:3e:f7:45:5b actions=NORMAL
cookie=0xa559c54c5afc5027, duration=661143.233s, table=25, n_packets=75631,
n_bytes=10367298, priority=2,in_port=25,dl_src=fa:16:3e:7c:de:35 actions=NORMAL
cookie=0x4000000, duration=872865.038s, table=45, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x8500000, duration=872865.024s, table=48, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x8050000, duration=872865.024s, table=50, n_packets=0, n_bytes=0,
priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8050001, duration=872864.871s, table=50, n_packets=0, n_bytes=0,
priority=10 actions=goto_table:51
cookie=0x8030000, duration=872864.857s, table=51, n_packets=0, n_bytes=0,
priority=15,dl_dst=01:80:c2:00:00:00/ff:ff:ff:ff:ff:f0 actions=drop
cookie=0x8030000, duration=872864.871s, table=51, n_packets=0, n_bytes=0,
priority=0 actions=goto_table:52
cookie=0x6800000, duration=872865.038s, table=60, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x1030000, duration=872864.713s, table=80, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x8220000, duration=872864.713s, table=81, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x4000001, duration=872865.038s, table=90, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x6900000, duration=872865.038s, table=211, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x6900000, duration=872865.038s, table=212, n_packets=0, n_bytes=0,
priority=0 actions=goto_table:213
cookie=0x6900000, duration=872865.038s, table=213, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x6900000, duration=872864.871s, table=213, n_packets=0, n_bytes=0,
priority=62020 actions=drop
cookie=0x8000230, duration=872865.038s, table=230, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x8000231, duration=872865.038s, table=231, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x6900000, duration=872865.038s, table=241, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x6900000, duration=872865.038s, table=242, n_packets=0, n_bytes=0,
priority=0 actions=goto_table:243
cookie=0x6900000, duration=872865.038s, table=243, n_packets=0, n_bytes=0,
priority=0 actions=drop
cookie=0x6900000, duration=872864.871s, table=243, n_packets=0, n_bytes=0,
priority=62020 actions=drop
sudo ovs-vsctl show
------------------------
b8c23ed7-7060-4d52-ad62-3392dfda9f21
Manager "tcp:192.168.122.58:6640"
is_connected: true
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
Controller "tcp:192.168.122.58:6653"
is_connected: true
fail_mode: secure
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvo1f435a60-ad"
tag: 6
Interface "qvo1f435a60-ad"
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "qvo8ca9806e-26"
tag: 6
Interface "qvo8ca9806e-26"
Port br-int
Interface br-int
type: internal
Port "sff1-dpl"
Interface "sff1-dpl"
type: vxlan
options: {dst_port="4790", exts=gpe, key=flow, remote_ip=flow}
Port "qvo1d67f595-33"
tag: 6
Interface "qvo1d67f595-33"
Port "tap7c01cff9-f3"
tag: 6
Interface "tap7c01cff9-f3"
type: internal
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
ovs_version: "2.5.90"
sudo ovs-ofctl show br-int
------------------------------
OFPT_FEATURES_REPLY (xid=0x2): dpid:000022ecc950ba45
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src
mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
1(int-br-ex): addr:0a:8b:ca:c3:fd:89
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
2(patch-tun): addr:32:e6:e1:a5:e2:de
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
22(tap7c01cff9-f3): addr:c0:76:00:00:00:00
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
23(qvo1d67f595-33): addr:12:a8:c6:63:d6:8d
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
24(qvo8ca9806e-26): addr:26:08:3c:7a:0a:0e
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
25(qvo1f435a60-ad): addr:0e:ee:71:4e:69:c4
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
26(sff1-dpl): addr:a6:f2:f3:1e:74:7c
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-int): addr:22:ec:c9:50:ba:45
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
2017-10-16 07:29:26,462 | INFO | 1947496826-80978 |
actWadlGeneratorGrammarGenerator | 98 - com.sun.jersey.jersey-server - 1.17.0 |
Couldn't find grammar element for class
org.opendaylight.netconf.sal.restconf.impl.NormalizedNodeContext
2017-10-16 07:29:26,462 | INFO | 1947496826-80978 |
actWadlGeneratorGrammarGenerator | 98 - com.sun.jersey.jersey-server - 1.17.0 |
Couldn't find grammar element for class
org.opendaylight.netconf.sal.restconf.impl.NormalizedNodeContext
2017-10-16 07:30:04,867 | ERROR | ssifierService-2 | ClassifierService
| 402 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.1.Carbon |
Thread terminated due to uncaught exception: ClassifierService-2
java.lang.NullPointerException
at
org.opendaylight.netvirt.sfc.classifier.service.domain.impl.ConfigurationClassifierImpl.getEntries(ConfigurationClassifierImpl.java:101)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_131]
at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_131]
at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[:1.8.0_131]
at
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[:1.8.0_131]
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[:1.8.0_131]
at
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[:1.8.0_131]
at
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_131]
at
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[:1.8.0_131]
at
org.opendaylight.netvirt.sfc.classifier.service.domain.impl.ConfigurationClassifierImpl.getAllEntries(ConfigurationClassifierImpl.java:76)
at
org.opendaylight.netvirt.sfc.classifier.service.domain.impl.ClassifierUpdate.run(ClassifierUpdate.java:36)
at
org.opendaylight.netvirt.sfc.classifier.service.ClassifierService.doUpdateAll(ClassifierService.java:77)[402:org.opendaylight.netvirt.sfc.classifier-impl:0.4.1.Carbon]
at
org.opendaylight.netvirt.sfc.classifier.utils.LastTaskExecutor.lambda$execute$0(LastTaskExecutor.java:37)[402:org.opendaylight.netvirt.sfc.classifier-impl:0.4.1.Carbon]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_131]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_131]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
2017-10-16 07:30:43,041 | ERROR | ssifierService-3 | ClassifierService
| 402 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.1.Carbon |
Thread terminated due to uncaught exception: ClassifierService-3
java.lang.NullPointerException
at
org.opendaylight.netvirt.sfc.classifier.service.domain.impl.ConfigurationClassifierImpl.getEntries(ConfigurationClassifierImpl.java:101)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_131]
at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)[:1.8.0_131]
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_131]
at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[:1.8.0_131]
at
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[:1.8.0_131]
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[:1.8.0_131]
at
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[:1.8.0_131]
at
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_131]
at
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[:1.8.0_131]
at
org.opendaylight.netvirt.sfc.classifier.service.domain.impl.ConfigurationClassifierImpl.getAllEntries(ConfigurationClassifierImpl.java:76)
at
org.opendaylight.netvirt.sfc.classifier.service.domain.impl.ClassifierUpdate.run(ClassifierUpdate.java:36)
at
org.opendaylight.netvirt.sfc.classifier.service.ClassifierService.doUpdateAll(ClassifierService.java:77)[402:org.opendaylight.netvirt.sfc.classifier-impl:0.4.1.Carbon]
at
org.opendaylight.netvirt.sfc.classifier.utils.LastTaskExecutor.lambda$execute$0(LastTaskExecutor.java:37)[402:org.opendaylight.netvirt.sfc.classifier-impl:0.4.1.Carbon]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_131]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_131]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
2017-10-16 07:31:00,603 | WARN | ssionScavenger-4 |
teInvalidatingHashSessionManager | 229 - org.ops4j.pax.web.pax-web-jetty -
3.2.9 | Timing out for 1 session(s) with id f7ujclumvm6k1r95qnv5px6ql
2017-10-16 07:32:00,603 | WARN | ssionScavenger-4 |
teInvalidatingHashSessionManager | 229 - org.ops4j.pax.web.pax-web-jetty -
3.2.9 | Timing out for 1 session(s) with id su0xmynnaabrsj0dtn3yssbe
2017-10-16 07:32:17,037 | ERROR | dispatcher-76130 | SfcGeniusRpcClient
| 396 - org.opendaylight.sfc.genius - 0.5.1.Carbon |
getDpnIdFromInterfaceNameFromGeniusRPC(GetDpidFromInterfaceInput
[_intfName=qvo1d67f595-33, augmentation=[]]) failed: RpcResult
[successful=false, result=null, errors=[RpcError [message=Retrieval of datapath
id for the key {qvo1d67f595-33} failed due to missing Interface in Config
DataStore, severity=ERROR, errorType=APPLICATION, tag=operation-failed,
applicationTag=null, info=null, cause=null]]]
2017-10-16 07:32:17,038 | ERROR | dispatcher-76130 |
OpenflowClassifierProcessor | 397 - org.opendaylight.sfc.scf-openflow -
0.5.1.Carbon | createdServiceFunctionClassifier: Could not extract the node
name from the OVS interface
2017-10-16 07:32:17,039 | ERROR | dispatcher-76130 | SfcGeniusRpcClient
| 396 - org.opendaylight.sfc.genius - 0.5.1.Carbon |
getDpnIdFromInterfaceNameFromGeniusRPC(GetDpidFromInterfaceInput
[_intfName=qvo1d67f595-33, augmentation=[]]) failed: RpcResult
[successful=false, result=null, errors=[RpcError [message=Retrieval of datapath
id for the key {qvo1d67f595-33} failed due to missing Interface in Config
DataStore, severity=ERROR, errorType=APPLICATION, tag=operation-failed,
applicationTag=null, info=null, cause=null]]]
2017-10-16 07:32:17,039 | ERROR | dispatcher-76130 |
OpenflowClassifierProcessor | 397 - org.opendaylight.sfc.scf-openflow -
0.5.1.Carbon | createdServiceFunctionClassifier: Could not extract the node
name from the OVS interface
2017-10-16 07:33:00,603 | WARN | ssionScavenger-4 |
teInvalidatingHashSessionManager | 229 - org.ops4j.pax.web.pax-web-jetty -
3.2.9 | Timing out for 1 session(s) with id zq7awivfsnt7yh5nh1qc71j2
_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev