summaryrefslogtreecommitdiffstats
path: root/utils/openstack_utils.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-08 17:05:22 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-07-08 17:05:22 +0200
commit7040e5340d6ac325a9f214db7ac248d136832692 (patch)
tree713155d0cccdb4f7895566eb5d618032f6cca866 /utils/openstack_utils.py
parentd1adf821aea259ab38794cab1f584ce955eab7b4 (diff)
Add delete bgpvpn function in openstack utils
JIRA: FUNCTEST-99 Change-Id: I0d28e5d07c857f4e80d7cf96a2ff4dbf87075abe Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'utils/openstack_utils.py')
-rw-r--r--utils/openstack_utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/openstack_utils.py b/utils/openstack_utils.py
index b463bf4ae..8788fd1fc 100644
--- a/utils/openstack_utils.py
+++ b/utils/openstack_utils.py
@@ -631,6 +631,11 @@ def update_bgpvpn(neutron_client, bgpvpn_id, **kwargs):
json_body = {"bgpvpn": kwargs}
return neutron_client.update_bgpvpn(bgpvpn_id, json_body)
+
+def delete_bgpvpn(neutron_client, bgpvpn_id):
+ return neutron_client.delete_bgpvpn(bgpvpn_id)
+
+
# *********************************************
# SEC GROUPS
# *********************************************