diff options
| author | Akihiro Motoki <amotoki@gmail.com> | 2015-09-04 15:46:33 +0900 |
|---|---|---|
| committer | Akihiro Motoki <amotoki@gmail.com> | 2015-09-04 16:16:48 +0900 |
| commit | 4903c16c9acd30e5a9512bd2bfcedf1774b2a5a2 (patch) | |
| tree | 9f2bda24cdf1001034a15526451eb390bb78cbe7 /neutronclient/v2_0/client.py | |
| parent | d75f79f67c176a38d41fcc5f8794d5956ac65ace (diff) | |
| download | python-neutronclient-3.0.0.tar.gz | |
Remove NEC plugin specific commands3.0.0
Related blueprint core-vendor-decomposition
Related-Bug: #1487929
Change-Id: I05107361106f73212274c7e1506dfde2e26032a4
Diffstat (limited to 'neutronclient/v2_0/client.py')
| -rw-r--r-- | neutronclient/v2_0/client.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py index facc6d1..f69c4b9 100644 --- a/neutronclient/v2_0/client.py +++ b/neutronclient/v2_0/client.py @@ -408,8 +408,6 @@ class Client(ClientBase): metering_label_path = "/metering/metering-labels/%s" metering_label_rules_path = "/metering/metering-label-rules" metering_label_rule_path = "/metering/metering-label-rules/%s" - packet_filters_path = "/packet_filters" - packet_filter_path = "/packet_filters/%s" DHCP_NETS = '/dhcp-networks' DHCP_AGENTS = '/dhcp-agents' @@ -461,7 +459,6 @@ class Client(ClientBase): 'metering_labels': 'metering_label', 'metering_label_rules': 'metering_label_rule', 'net_partitions': 'net_partition', - 'packet_filters': 'packet_filter', 'loadbalancers': 'loadbalancer', 'listeners': 'listener', 'lbaas_pools': 'lbaas_pool', @@ -1617,33 +1614,6 @@ class Client(ClientBase): return self.delete(self.net_partition_path % netpartition) @APIParamsCall - def create_packet_filter(self, body=None): - """Create a new packet filter.""" - return self.post(self.packet_filters_path, body=body) - - @APIParamsCall - def update_packet_filter(self, packet_filter_id, body=None): - """Update a packet filter.""" - return self.put(self.packet_filter_path % packet_filter_id, body=body) - - @APIParamsCall - def list_packet_filters(self, retrieve_all=True, **_params): - """Fetch a list of all packet filters for a tenant.""" - return self.list('packet_filters', self.packet_filters_path, - retrieve_all, **_params) - - @APIParamsCall - def show_packet_filter(self, packet_filter_id, **_params): - """Fetch information of a certain packet filter.""" - return self.get(self.packet_filter_path % packet_filter_id, - params=_params) - - @APIParamsCall - def delete_packet_filter(self, packet_filter_id): - """Delete the specified packet filter.""" - return self.delete(self.packet_filter_path % packet_filter_id) - - @APIParamsCall def create_rbac_policy(self, body=None): """Create a new RBAC policy.""" return self.post(self.rbac_policies_path, body=body) |
