<commit_before>#
"""
     Copyright (c) 2016 World Wide Technology, Inc.
     All rights reserved.

     Revision history:
     28 March 2016  |  1.0 - initial release
     29 March 2016  |  1.1 - comments and style modifications

     module: F5_connector.py
     author: <NAME>, World Wide Technology
     short_description: This Phantom app supports containment actions like 'block ip' on an F5 BIG-IP appliance.

    remarks: The appdev tutorial is at  https://10.255.78.71/docs/appdev/tutorial

             ssh phantom@10.255.78.71
             export PYTHONPATH=/opt/phantom/lib/:/opt/phantom/www/
             export REQUESTS_CA_BUNDLE=/opt/phantom/etc/cacerts.pem
             cd ./app_dev/ens_vt
             cd ./app_dev/f5_firewall
             touch __init__.py
             ../compile_app.py -i

"""
#
# Phantom App imports
#
import phantom.app as phantom
from phantom.base_connector import BaseConnector
from phantom.action_result import ActionResult
#
#  system imports
#
import simplejson as json
import time
import requests
import httplib
#
#  application imports
#
import icontrol_install_config as iControl                 # https://github.com/joelwking/ansible-f5/blob/master/icontrol_install_config.py
try:
    from F5_Connector_consts import *                      # file name would be ./F5_Connector_consts.py
except ImportError:<commit_msg>documetation update<commit_after>#
"""
     Copyright (c) 2016 World Wide Technology, Inc.
     All rights reserved.

     Revision history:
     28 March 2016  |  1.0 - initial release
     29 March 2016  |  1.1 - comments and style modifications
     30 March 2016  |  1.2 - documentation update

     module: F5_connector.py
     author: <NAME>, World Wide Technology
     short_description: This Phantom app supports containment actions like 'block ip' on an F5 BIG-IP appliance.

    remarks: The appdev tutorial is at  https://10.255.78.71/docs/appdev/tutorial

             ssh phantom@10.255.78.71
             export PYTHONPATH=/opt/phantom/lib/:/opt/phantom/www/
             export REQUESTS_CA_BUNDLE=/opt/phantom/etc/cacerts.pem
             cd ./app_dev/f5_firewall
             touch __init__.py
             ../compile_app.py -i

"""
#
# Phantom App imports
#
import phantom.app as phantom
from phantom.base_connector import BaseConnector
from phantom.action_result import ActionResult
#
#  system imports
#
import simplejson as json
import time
import requests
import httplib
#
#  application imports
#
import icontrol_install_config as iControl                 # https://github.com/joelwking/ansible-f5/blob/master/icontrol_install_config.py
try:
    from F5_Connector_consts import *                      # file name would be ./F5_Connector_consts.py
except ImportError:
{'fraction_non_alphanumeric': 0.07700690156193243, 'fraction_numerical': 0.034871049763893935, 'mean_word_length': 2.6094364351245085, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '212638', 'n_tokens_mistral': 913, 'n_tokens_neox': 805, 'n_words': 234}