Neutron LBaaS: Directory Restructure
* refactored directories for better design * create class type directories where each will have: * client * behaviors * response (model) * request (model) * added behavior file stubs with copyright only Change-Id: I296005dff9ec73fdffd23f65c8ee94669a7e9175
This commit is contained in:
parent
c2c9f4c851
commit
0d17139642
|
@ -13,3 +13,6 @@ 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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -15,9 +15,9 @@ limitations under the License.
|
|||
"""
|
||||
|
||||
from cloudcafe.networking.lbaas.common.client import BaseLoadBalancersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.health_monitor \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.request \
|
||||
import CreateHealthMonitor, UpdateHealthMonitor
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.health_monitor \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.response \
|
||||
import HealthMonitor, HealthMonitors
|
||||
|
||||
|
|
@ -13,3 +13,6 @@ 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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -15,9 +15,9 @@ limitations under the License.
|
|||
"""
|
||||
|
||||
from cloudcafe.networking.lbaas.common.client import BaseLoadBalancersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.listener import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.request import \
|
||||
CreateListener, UpdateListener
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.listener import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.response import \
|
||||
Listener, Listeners
|
||||
|
||||
|
|
@ -13,3 +13,6 @@ 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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -15,9 +15,9 @@ limitations under the License.
|
|||
"""
|
||||
|
||||
from cloudcafe.networking.lbaas.common.client import BaseLoadBalancersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.load_balancer \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.request \
|
||||
import CreateLoadBalancer, UpdateLoadBalancer
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.load_balancer \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.response \
|
||||
import LoadBalancer, LoadBalancers
|
||||
|
||||
|
|
@ -13,3 +13,6 @@ 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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -15,9 +15,9 @@ limitations under the License.
|
|||
"""
|
||||
|
||||
from cloudcafe.networking.lbaas.common.client import BaseLoadBalancersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.member import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.request import \
|
||||
CreateMember, UpdateMember
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.member import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.response import \
|
||||
Member, Members
|
||||
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -15,9 +15,9 @@ limitations under the License.
|
|||
"""
|
||||
|
||||
from cloudcafe.networking.lbaas.common.client import BaseLoadBalancersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.pool import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.request import \
|
||||
CreatePool, UpdatePool
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.pool import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.response import \
|
||||
Pool, Pools
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ import xml.etree.ElementTree as ET
|
|||
|
||||
from cafe.engine.models.base import AutoMarshallingModel
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.session_persistence \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.session_persistence.request \
|
||||
import SetSessionPersistence
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ import xml.etree.ElementTree as ET
|
|||
from cafe.engine.models.base import \
|
||||
AutoMarshallingModel, AutoMarshallingListModel
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.session_persistence \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.session_persistence.response \
|
||||
import SessionPersistence
|
||||
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
|
||||
from lbaascafe.lbaas.lbaas_api.clients.base_load_balancers_client \
|
||||
import BaseLoadBalancersClient
|
||||
|
||||
|
||||
class BaseLoadBalancersClientFixture(unittest.TestCase):
|
||||
"""
|
||||
@summary: Base Load Balancers Client for Load Balancer Client Tests
|
||||
"""
|
||||
SERIALIZE = None
|
||||
DESERIALIZE = None
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super(BaseLoadBalancersClientFixture, cls).setUpClass()
|
||||
|
||||
cls.auth_token = "fake_auth_token"
|
||||
cls.load_balancer_id = "12345"
|
||||
cls.url = "http://fake.url.endpoint"
|
||||
cls.load_balancers_url = '{url}/{suffix}'.format(
|
||||
url=cls.url, suffix=BaseLoadBalancersClient._SUFFIX)
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -14,14 +14,15 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
|
||||
import mock
|
||||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.clients.health_monitor.client \
|
||||
import mock
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.client \
|
||||
import HealthMonitorsClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.health_monitor \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.request \
|
||||
import CreateHealthMonitor, UpdateHealthMonitor
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.health_monitor \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.response \
|
||||
import HealthMonitor, HealthMonitors
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ import json
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.health_monitor \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.request \
|
||||
import CreateHealthMonitor, UpdateHealthMonitor
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ limitations under the License.
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.health_monitor \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.health_monitor.response \
|
||||
import HealthMonitor, HealthMonitors
|
||||
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -14,14 +14,15 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
|
||||
import mock
|
||||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.clients.listener.client import \
|
||||
import mock
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.client import \
|
||||
ListenersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.listener import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.request import \
|
||||
CreateListener, UpdateListener
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.listener import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.response import \
|
||||
Listener, Listeners
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ import json
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.listener import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.request import \
|
||||
CreateListener, UpdateListener
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ ListenersResponseTest
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.listener \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.listener.response \
|
||||
import Listener, Listeners
|
||||
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -14,14 +14,15 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
|
||||
import mock
|
||||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.clients.load_balancer.client \
|
||||
import mock
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.client \
|
||||
import LoadBalancersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.load_balancer \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.request \
|
||||
import CreateLoadBalancer, UpdateLoadBalancer
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.load_balancer \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.response \
|
||||
import LoadBalancer, LoadBalancers
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ import json
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.load_balancer import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.request import \
|
||||
CreateLoadBalancer, UpdateLoadBalancer
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ LoadBalancersResponseTest
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.load_balancer \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.load_balancer.response \
|
||||
import LoadBalancer, LoadBalancers
|
||||
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -14,14 +14,15 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
|
||||
import mock
|
||||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.clients.member.client import \
|
||||
import mock
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.client import \
|
||||
MembersClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.member import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.request import \
|
||||
CreateMember, UpdateMember
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.member import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.response import \
|
||||
Member, Members
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ import json
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.member import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.request import \
|
||||
CreateMember, UpdateMember
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ MembersResponseTest
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.member \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.member.response \
|
||||
import Member, Members
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -1,15 +0,0 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
|
@ -0,0 +1,18 @@
|
|||
"""
|
||||
Copyright 2014 Rackspace
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
from cafe.engine.behaviors import BaseBehavior
|
||||
|
|
@ -14,14 +14,15 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
|
||||
import mock
|
||||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.clients.pool.client import \
|
||||
import mock
|
||||
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.client import \
|
||||
PoolsClient
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.pool import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.request import \
|
||||
CreatePool, UpdatePool
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.pool import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.response import \
|
||||
Pool, Pools
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ import json
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.pool import \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.request import \
|
||||
CreatePool, UpdatePool
|
||||
|
||||
|
|
@ -23,9 +23,9 @@ PoolsResponseTest
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.pool \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.pool.response \
|
||||
import Pool, Pools
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.session_persistence \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.session_persistence.response \
|
||||
import SessionPersistence
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ import json
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.request.session_persistence \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.session_persistence.request \
|
||||
import SetSessionPersistence
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ SessionPersistenceRequestTest
|
|||
import unittest
|
||||
|
||||
from cloudcafe.networking.lbaas.common.constants import Constants
|
||||
from cloudcafe.networking.lbaas.lbaas_api.models.response.session_persistence \
|
||||
from cloudcafe.networking.lbaas.lbaas_api.session_persistence.response \
|
||||
import SessionPersistence
|
||||
|
||||
|
Loading…
Reference in New Issue