Hi , Does Opendaylight support networking-sfc ? From Article https://docs.openstack.org/networking-odl/ocata/specs/sfc-driver.html , it seems Opendaylight does not support it. It has plan to do that.
But when I look at this doc https://github.com/openstack/networking-odl/tree/master/devstack , there is configuration for SFC , So I tried with Devstack /Opendaylight . And when I create Port pair in neutron side , it is successful . But when I check the openstack log , it error out . it says portpair rest api (http://10.10.90.43:8087/controller/nb/v2/neutron/portpairs)is not available . But I see for ports (http://10.10.90.43:8087/controller/nb/v2/neutron/ports) rest api is available . Can you please help me what is current status of the support ? ubuntu@master:~/sfc_Demo$ neutron port-pair-create PP1 --ingress p2 --egress p3 neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. Created a new port_pair: +-----------------------------+--------------------------------------+ | Field | Value | +-----------------------------+--------------------------------------+ | description | | | egress | 11407108-28da-4a47-812b-beacd02d3483 | | id | 8087a53b-0b9e-4b73-9a86-4c4149ff3301 | | ingress | 0c1086f0-0b12-48ff-b335-c1758051abc7 | | name | PP1 | | project_id | 6703821670ee4ff498ec6e9ab319b0c3 | | service_function_parameters | {"weight": 1, "correlation": null} | | tenant_id | 6703821670ee4ff498ec6e9ab319b0c3 | +-----------------------------+--------------------------------------+ Logs from Neutron :- ubuntu@master:~/sfc_Demo$ adroom:100 make_reservation /opt/stack/neutron/neutron/db/quota/driver.py:222 2018-05-19 10:11:23.331 3121 DEBUG networking_sfc.services.sfc.plugin [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] networking_sfc.services.sfc.plugin.SfcPlugin method create_port_pair called wit h arguments (<neutron.context.Context object at 0x7faba8c00d10>,) {'port_pair': {u'port_pair': {u'ingress': u'0c1086f0-0b12-48ff-b335-c1758051abc7', 'description': '', 'tenant_id': u'6703821670ee4ff498ec6 e9ab319b0c3', u'egress': u'11407108-28da-4a47-812b-beacd02d3483', 'service_function_parameters': {'weight': 1, 'correlation': None}, 'project_id': u'6703821670ee4ff498ec6e9ab319b0c3', u'name': u'PP1'}}} w rapper /usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:47 2018-05-19 10:11:23.331 3121 DEBUG networking_sfc.db.sfc_db [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] networking_sfc.services.sfc.plugin.SfcPlugin method create_port_pair called with argument s (<neutron.context.Context object at 0x7faba8c00d10>, {u'port_pair': {u'ingress': u'0c1086f0-0b12-48ff-b335-c1758051abc7', 'description': '', 'tenant_id': u'6703821670ee4ff498ec6e9ab319b0c3', u'egress': u'11407108-28da-4a47-812b-beacd02d3483', 'service_function_parameters': {'weight': 1, 'correlation': None}, 'project_id': u'6703821670ee4ff498ec6e9ab319b0c3', u'name': u'PP1'}}) {} wrapper /usr/local/lib/ python2.7/dist-packages/oslo_log/helpers.py:47 2018-05-19 10:11:23.456 3121 DEBUG networking_odl.journal.journal [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] Resetting thread timer set_sync_event /opt/stack/networking-odl/networking_odl/jour nal/journal.py:115 2018-05-19 10:11:23.461 3121 DEBUG networking_odl.journal.journal [-] Thread walking database _sync_pending_rows /opt/stack/networking-odl/networking_odl/journal/journal.py:165 2018-05-19 10:11:23.472 3121 DEBUG neutron.callbacks.manager [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] Notify callbacks [] for port_pair, before_response _notify_loop /opt/stack/neutron/neutr on/callbacks/manager.py:142 2018-05-19 10:11:23.474 3121 INFO neutron.wsgi [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] 10.10.90.43 "POST /v2.0/sfc/port_pairs.json HTTP/1.1" status: 201 len: 566 time: 0.2255571 2018-05-19 10:11:23.484 3121 INFO networking_odl.journal.journal [-] Syncing create portpair 8087a53b-0b9e-4b73-9a86-4c4149ff3301 2018-05-19 10:11:23.485 3121 DEBUG networking_odl.common.client [-] Sending METHOD (post) URL (http://10.10.90.43:8087/controller/nb/v2/neutron/portpairs) JSON ({ "portpair": { "ingress": "0c1086f0-0b12-48ff-b335-c1758051abc7", "description": "", "tenant_id": "6703821670ee4ff498ec6e9ab319b0c3", "egress": "11407108-28da-4a47-812b-beacd02d3483", "service_function_parameters": { "weight": 1, "correlation": null }, "project_id": "6703821670ee4ff498ec6e9ab319b0c3", "id": "8087a53b-0b9e-4b73-9a86-4c4149ff3301", "name": "PP1" } }) request /opt/stack/networking-odl/networking_odl/common/client.py:86 2018-05-19 10:11:23.506 3121 DEBUG networking_odl.common.client [-] Exception from ODL: 404 Client Error: Not Found for url: http://10.10.90.43:8087/controller/nb/v2/neutron/portpairs <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /controller/nb/v2/neutron/portpairs. Reason: <pre> Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/> <br/> Thanks Om Prakash
_______________________________________________ sfc-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/sfc-dev
