def _load_11_6(self, **kwargs):
        """Must check if rule actually exists before proceeding with load."""
        if self._check_existence_by_collection(self._meta_data['container'],
                                               kwargs['name']):
            return super(Rule, self)._load(**kwargs)
        msg = 'The application resource named, {}, does not exist on the ' \
              'device.'.format(kwargs['name'])
        raise NonExtantFirewallRule(msg)
def _load_11_6 ( self , ** kwargs ) : if self . _check_existence_by_collection ( self . _meta_data [ 'container' ] , kwargs [ 'name' ] ) : return super ( Rule , self ) . _load ( ** kwargs ) msg = 'The application resource named, {}, does not exist on the ' 'device.' . format ( kwargs [ 'name' ] ) raise NonExtantFirewallRule ( msg )
Must check if rule actually exists before proceeding with load.