From 12200922a923befe47e7edcbdd1683c3486a8b92 Mon Sep 17 00:00:00 2001
From: Na <nazhu@cn.ibm.com>
Date: Sat, 21 May 2016 06:57:25 -0700
Subject: [PATCH] Remove remaining BGP code from neutron

There still are BGP codes in neutron repo, this patch remove it.
It was missed in commit I20b6ddd37d10eae70e8294d578e53137c0f866fe

Change-Id: I6bf71b14a03ccc005dcd4d67078e7e9f4a7ed197
Closes-Bug: #1584333
---
 etc/policy.json               | 7 +------
 neutron/tests/etc/policy.json | 7 +------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/etc/policy.json b/etc/policy.json
index c14746b783d..36b16225048 100644
--- a/etc/policy.json
+++ b/etc/policy.json
@@ -218,10 +218,5 @@
     "create_flavor_service_profile": "rule:admin_only",
     "delete_flavor_service_profile": "rule:admin_only",
     "get_flavor_service_profile": "rule:regular_user",
-    "get_auto_allocated_topology": "rule:admin_or_owner",
-
-    "add_gateway_network": "rule:admin_only",
-    "remove_gateway_network": "rule:admin_only",
-
-    "get_advertised_routes":"rule:admin_only"
+    "get_auto_allocated_topology": "rule:admin_or_owner"
 }
diff --git a/neutron/tests/etc/policy.json b/neutron/tests/etc/policy.json
index c14746b783d..36b16225048 100644
--- a/neutron/tests/etc/policy.json
+++ b/neutron/tests/etc/policy.json
@@ -218,10 +218,5 @@
     "create_flavor_service_profile": "rule:admin_only",
     "delete_flavor_service_profile": "rule:admin_only",
     "get_flavor_service_profile": "rule:regular_user",
-    "get_auto_allocated_topology": "rule:admin_or_owner",
-
-    "add_gateway_network": "rule:admin_only",
-    "remove_gateway_network": "rule:admin_only",
-
-    "get_advertised_routes":"rule:admin_only"
+    "get_auto_allocated_topology": "rule:admin_or_owner"
 }