# Path: f5_heat/resources/f5_bigip_device.py
# class BigIPConnectionFailed(HTTPError):
# class F5BigIPDevice(resource.Resource):
#     PROPERTIES = (
#         IP,
#         USERNAME,
#         PASSWORD
#     ) = (
#         'ip',
#         'username',
#         'password'
#     )
#     def get_bigip(self):
#     def handle_create(self):
#     def handle_delete(self):
# def resource_mapping():
# 
# Path: f5_heat/resources/f5_bigip_device.py
# class BigIPConnectionFailed(HTTPError):
#     pass


from f5.bigip import ManagementRoot
from f5_heat.resources import f5_bigip_device
from f5_heat.resources.f5_bigip_device import BigIPConnectionFailed
from heat.common import exception
from heat.common import template_format
from heat.engine.hot.template import HOTemplate20150430
from heat.engine import rsrc_defn
from heat.engine import template
import mock
import pytest
#
# 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.
#



f5_bigip_defn = '''
heat_template_version: 2015-04-30
description: Testing iAppService plugin
resources:
  bigip_rsrc:
    type: F5::BigIP::Device
    properties:
      ip: 10.0.0.1
      username: admin
      password: admin
'''


bad_f5_bigip_defn = '''
heat_template_version: 2015-04-30
description: Testing Bad iAppService plugin
resources:
  bigip_rsrc:
    type: F5::BigIP::Device
    properties:

# Path: f5_heat/resources/f5_bigip_device.py
# class BigIPConnectionFailed(HTTPError):
# class F5BigIPDevice(resource.Resource):
#     PROPERTIES = (
#         IP,
#         USERNAME,
#         PASSWORD
#     ) = (
#         'ip',
#         'username',
#         'password'
#     )
#     def get_bigip(self):
#     def handle_create(self):
#     def handle_delete(self):
# def resource_mapping():
# 
# Path: f5_heat/resources/f5_bigip_device.py
# class BigIPConnectionFailed(HTTPError):
#     pass


# Path: f5_heat/resources/test/test_f5_bigip_device.py
from f5.bigip import ManagementRoot
from f5_heat.resources import f5_bigip_device
from f5_heat.resources.f5_bigip_device import BigIPConnectionFailed
from heat.common import exception
from heat.common import template_format
from heat.engine.hot.template import HOTemplate20150430
from heat.engine import rsrc_defn
from heat.engine import template
import mock
import pytest

#
# 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.
#



f5_bigip_defn = '''
heat_template_version: 2015-04-30
description: Testing iAppService plugin
resources:
  bigip_rsrc:
    type: F5::BigIP::Device
    properties:
      ip: 10.0.0.1
      username: admin
      password: admin
'''


bad_f5_bigip_defn = '''
heat_template_version: 2015-04-30
description: Testing Bad iAppService plugin
resources:
  bigip_rsrc:
    type: F5::BigIP::Device
    properties:

      ip: good_ip