new_external_port and DB table adds 77/1277/2
authormirabal <leonardo.mirabal@altran.com>
Thu, 9 Mar 2017 13:41:21 +0000 (14:41 +0100)
committermirabal <leonardo.mirabal@altran.com>
Fri, 10 Mar 2017 13:29:59 +0000 (14:29 +0100)
commit3782945e0a074cb28f82a512f7a9128797b298e3
tree1411a42b02587ff58b1c83bbd5ae2d05f348e19d
parent1817f966ef776fcf99fd063c677d13138966cb59
new_external_port and DB table adds

- new_external_port() add to ovim, create a new external port and ensure the mapping correspondencer btw multimple sdn controllers
- Add ofc_id, switch_mac columns to table "ports" & "resources_port"
- Add foreign FK_port_ofc_id key btw "ports" and "ofcs"
- Add foreign FK_resource_ofc_id key btw "resources_port" and "ofcs"

Change-Id: I3a3603a17f415954fad7520573e4d6d434791f96
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
database_utils/migrate_vim_db.sh
httpserver.py
openvimd.py
ovim.py