From 7040e5340d6ac325a9f214db7ac248d136832692 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Fri, 8 Jul 2016 17:05:22 +0200 Subject: Add delete bgpvpn function in openstack utils JIRA: FUNCTEST-99 Change-Id: I0d28e5d07c857f4e80d7cf96a2ff4dbf87075abe Signed-off-by: jose.lausuch --- utils/openstack_utils.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils') 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 # ********************************************* -- cgit 1.2.3-korg