mixcoatl/network/firewall.py
def describe_firewall(firewall_id, endpoint=None, **kwargs):
        """Changes the basic meta-data for a firewall

        :param firewall_id: The id of the firewall to modify
        :type firewall_id: int.
        :param description: The description of the firewall
        :type description: string.
        :param label: The label to assign the firewall.
        :type label: string.
        :param name: The name to give the firewall.
        :type name: string.
        :returns: `bool`
        :raises: :class:`FirewallException`
        """

        if kwargs:
            f = Firewall(firewall_id, endpoint=endpoint)
            f.label = kwargs.get('label', None)
            f.description = kwargs.get('name', None)
            f.label = kwargs.get('label', None)
            return f.describe()
        else:
            raise FirewallException("No attributes were specified to change")
Changes the basic meta-data for a firewall

        :param firewall_id: The id of the firewall to modify
        :type firewall_id: int.
        :param description: The description of the firewall
        :type description: string.
        :param label: The label to assign the firewall.
        :type label: string.
        :param name: The name to give the firewall.
        :type name: string.
        :returns: `bool`
        :raises: :class:`FirewallException`
        
Changes the basic meta-data for a firewall
Changes the basic meta - data for a firewall
def describe_firewall(firewall_id, endpoint=None, **kwargs):
        if kwargs:
            f = Firewall(firewall_id, endpoint=endpoint)
            f.label = kwargs.get('label', None)
            f.description = kwargs.get('name', None)
            f.label = kwargs.get('label', None)
            return f.describe()
        else:
            raise FirewallException("No attributes were specified to change")
def describe_firewall ( firewall_id , endpoint = None , ** kwargs ) : if kwargs : f = Firewall ( firewall_id , endpoint = endpoint ) f . label = kwargs . get ( 'label' , None ) f . description = kwargs . get ( 'name' , None ) f . label = kwargs . get ( 'label' , None ) return f . describe ( ) else : raise FirewallException ( "No attributes were specified to change" )
Changes the basic meta-data for a firewall
Changes the basic meta - data for a firewall
"""Changes the basic meta-data for a firewall

        :param firewall_id: The id of the firewall to modify
        :type firewall_id: int.
        :param description: The description of the firewall
        :type description: string.
        :param label: The label to assign the firewall.
        :type label: string.
        :param name: The name to give the firewall.
        :type name: string.
        :returns: `bool`
        :raises: :class:`FirewallException`
        """
None
None
firewall_id
The id of the firewall to modify
The id of the firewall to modify
endpoint
description
The description of the firewall
The description of the firewall
label
The label to assign the firewall.
The label to assign the firewall .
name
The name to give the firewall.
The name to give the firewall .