Removes bigip_qkview from skip file (#32529)

pull/25180/head^2
Tim Rupp 7 years ago committed by GitHub
parent c76ce54aee
commit 53940670fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,14 +4,18 @@
# Copyright (c) 2017 F5 Networks Inc. # Copyright (c) 2017 F5 Networks Inc.
# GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['preview'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = r'''
--- ---
module: bigip_qkview module: bigip_qkview
short_description: Manage qkviews on the device. short_description: Manage qkviews on the device
description: description:
- Manages creating and downloading qkviews from a BIG-IP. Various - Manages creating and downloading qkviews from a BIG-IP. Various
options can be provided when creating qkviews. The qkview is important options can be provided when creating qkviews. The qkview is important
@ -82,18 +86,18 @@ author:
- Tim Rupp (@caphrim007) - Tim Rupp (@caphrim007)
''' '''
EXAMPLES = ''' EXAMPLES = r'''
- name: Fetch a qkview from the remote device - name: Fetch a qkview from the remote device
bigip_qkview: bigip_qkview:
asm_request_log: "yes" asm_request_log: yes
exclude: exclude:
- audit - audit
- secure - secure
dest: "/tmp/localhost.localdomain.qkview" dest: /tmp/localhost.localdomain.qkview
delegate_to: localhost delegate_to: localhost
''' '''
RETURN = ''' RETURN = r'''
stdout: stdout:
description: The set of responses from the commands description: The set of responses from the commands
returned: always returned: always
@ -109,16 +113,17 @@ stdout_lines:
import re import re
import os import os
from ansible.module_utils.six import string_types
from ansible.module_utils.f5_utils import AnsibleF5Client
from ansible.module_utils.f5_utils import AnsibleF5Parameters
from ansible.module_utils.f5_utils import HAS_F5SDK
from ansible.module_utils.f5_utils import F5ModuleError
from distutils.version import LooseVersion from distutils.version import LooseVersion
from ansible.module_utils.six import string_types try:
from ansible.module_utils.f5_utils import ( from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
AnsibleF5Client, except ImportError:
AnsibleF5Parameters, HAS_F5SDK = False
HAS_F5SDK,
F5ModuleError,
iControlUnexpectedHTTPError
)
class Parameters(AnsibleF5Parameters): class Parameters(AnsibleF5Parameters):
@ -397,17 +402,17 @@ class ArgumentSpec(object):
), ),
asm_request_log=dict( asm_request_log=dict(
type='bool', type='bool',
default=False, default='no',
), ),
max_file_size=dict( max_file_size=dict(
type='int', type='int',
), ),
complete_information=dict( complete_information=dict(
default=False, default='no',
type='bool' type='bool'
), ),
exclude_core=dict( exclude_core=dict(
default=False, default="no",
type='bool' type='bool'
), ),
force=dict( force=dict(

@ -14,7 +14,6 @@ lib/ansible/modules/cloud/webfaction/webfaction_mailbox.py
lib/ansible/modules/cloud/webfaction/webfaction_site.py lib/ansible/modules/cloud/webfaction/webfaction_site.py
lib/ansible/modules/clustering/consul_acl.py lib/ansible/modules/clustering/consul_acl.py
lib/ansible/modules/network/cloudengine/ce_file_copy.py lib/ansible/modules/network/cloudengine/ce_file_copy.py
lib/ansible/modules/network/f5/bigip_qkview.py
lib/ansible/modules/network/f5/bigip_snmp.py lib/ansible/modules/network/f5/bigip_snmp.py
lib/ansible/modules/network/ios/ios_static_route.py lib/ansible/modules/network/ios/ios_static_route.py
lib/ansible/modules/network/lenovo/cnos_backup.py lib/ansible/modules/network/lenovo/cnos_backup.py

@ -1,21 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright 2017 F5 Networks Inc. # Copyright (c) 2017 F5 Networks Inc.
# # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from __future__ import (absolute_import, division, print_function) from __future__ import (absolute_import, division, print_function)
__metaclass__ = type __metaclass__ = type
@ -40,6 +26,7 @@ try:
from library.bigip_qkview import MadmLocationManager from library.bigip_qkview import MadmLocationManager
from library.bigip_qkview import BulkLocationManager from library.bigip_qkview import BulkLocationManager
from library.bigip_qkview import ArgumentSpec from library.bigip_qkview import ArgumentSpec
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
except ImportError: except ImportError:
try: try:
from ansible.modules.network.f5.bigip_qkview import Parameters from ansible.modules.network.f5.bigip_qkview import Parameters
@ -47,6 +34,7 @@ except ImportError:
from ansible.modules.network.f5.bigip_qkview import MadmLocationManager from ansible.modules.network.f5.bigip_qkview import MadmLocationManager
from ansible.modules.network.f5.bigip_qkview import BulkLocationManager from ansible.modules.network.f5.bigip_qkview import BulkLocationManager
from ansible.modules.network.f5.bigip_qkview import ArgumentSpec from ansible.modules.network.f5.bigip_qkview import ArgumentSpec
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
except ImportError: except ImportError:
raise SkipTest("F5 Ansible modules require the f5-sdk Python library") raise SkipTest("F5 Ansible modules require the f5-sdk Python library")

Loading…
Cancel
Save