Implements SFC CRUD interface in OpenStack vimconn 69/2069/7 vnffg
authorIgor Duarte Cardoso <igor.duarte.cardoso@intel.com>
Mon, 14 Aug 2017 16:39:34 +0000 (16:39 +0000)
committerIgor Duarte Cardoso <igor.duarte.cardoso@intel.com>
Tue, 26 Sep 2017 20:59:23 +0000 (20:59 +0000)
commit3cf9bcdc0db2139497655a6a201600969318abd8
tree2ebcdd71c812ba1e1af51a0597318c8894a4c413
parentc2abdbf0e0ae12fc74e11b2dc09b33c4384d799c
Implements SFC CRUD interface in OpenStack vimconn

Change vimconn_openstack.py to implement the SFC functions
specified by the SFC interface in vimconn.py.

The OpenStack VIM connector calls the networking-sfc Neutron
extension methods, whose resources are mapped to the VIM
connector's SFC resources as follows:
- Classification (OSM) -> Flow Classifier (Neutron)
- Service Function Instance (OSM) -> Port Pair (Neutron)
- Service Function (OSM) -> Port Pair Group (Neutron)
- Service Function Path (OSM) -> Port Chain (Neutron)

Also adds unit tests.

This relates to feature 638.

Change-Id: I501837bfaed6638a7b5f345fda547b746e4e7d45
Signed-off-by: Igor Duarte Cardoso <igor.duarte.cardoso@intel.com>
osm_ro/test/__init__.py [new file with mode: 0644]
osm_ro/test/test_vimconn_openstack.py [new file with mode: 0644]
osm_ro/vimconn_openstack.py