All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huawei.openstack4j.api.networking.ext.FirewallService Maven / Gradle / Ivy

/*******************************************************************************
 * 	Copyright 2016 ContainX and OpenStack4j                                          
 * 	                                                                                 
 * 	Licensed under the Apache License, Version 2.0 (the "License"); you may not      
 * 	use this file except in compliance with the License. You may obtain a copy of    
 * 	the License at                                                                   
 * 	                                                                                 
 * 	    http://www.apache.org/licenses/LICENSE-2.0                                   
 * 	                                                                                 
 * 	Unless required by applicable law or agreed to in writing, software              
 * 	distributed under the License is distributed on an "AS IS" BASIS, WITHOUT        
 * 	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the         
 * 	License for the specific language governing permissions and limitations under    
 * 	the License.                                                                     
 *******************************************************************************/
package com.huawei.openstack4j.api.networking.ext;

import java.util.List;
import java.util.Map;

import com.huawei.openstack4j.common.RestService;
import com.huawei.openstack4j.model.common.ActionResponse;
import com.huawei.openstack4j.model.network.ext.Firewall;
import com.huawei.openstack4j.model.network.ext.FirewallUpdate;

/**
 * 

Networking (Neutron) FwaaS Firewall Extension API.

* *

Represents a logical firewall resource that a tenant can instantiate and manage. A firewall is associated with one firewall policy.

* *

* The FWaaS extension provides OpenStack users with the ability to deploy firewalls to protect their networks. The FWaaS extension enables you to: *

    *
  • Apply firewall rules on traffic entering and leaving tenant networks.
  • *
  • Support for applying tcp, udp, icmp, or protocol agnostic rules.
  • *
  • Creation and sharing of firewall policies which hold an ordered collection of the firewall rules.
  • *
  • Audit firewall rules and policies.
  • *
*

* * @author Vishvesh Deshmukh */ public interface FirewallService extends RestService { /** * List all Firewall(s) that the current tenant has access to. * * @return list of all Firewall(s) */ List list(); /** * Returns list of Firewall(s) filtered by parameters. * * @param filteringParams map (name, value) of filtering parameters * @return filtered list of Firewall(s) */ List list(Map filteringParams); /** * Get the specified Firewall by ID * * @param firewallId the Firewall identifier * @return the Firewall or null if not found */ Firewall get(String firewallId); /** * Delete the specified Firewall by ID * @param firewallId the Firewall identifier * @return the action response */ ActionResponse delete(String firewallId); /** * Create a Firewall * @param firewall * @return Firewall */ Firewall create(Firewall firewall); /** * Update a Firewall * @param firewallId the Firewall identifier * @param firewallUpdate FirewallUpdate * @return Firewall */ Firewall update(String firewallId, FirewallUpdate firewallUpdate); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy