aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/epc
AgeCommit message (Collapse)AuthorFilesLines
2018-02-27Clean all OpenStack related modulesCédric Ollivier27-1500/+0
Xtesting is only focused on the framework and entry points. Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-22Switch from CONST to CONFCédric Ollivier1-7/+7
It also removes constants.CONST and env.Environment which are now useless. Depends-On: I764a0a2a24447c941d1e726f3116593b29dd1c1e Depends-On: I6cfa832466dcefd737314633d807512e46267a69 Change-Id: Ife41c59d9f2e6ec4e49df38af962039f99554bc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-21Unify security group operationsCédric Ollivier1-7/+7
It updates juju_epc to conform with cloudify_ims and cloudify_vrouter regarding security group operations. Change-Id: I2bc4a16ec17f2836564df82d3ceddd3bc73ece7a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-21Leverage of snaps creds to get the right region nameCédric Ollivier1-7/+2
Else it gets the defaut value as it's unset in env. Change-Id: Ic2a9cdaed7891fe2723f960782c81c0cbb04e8f0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-15Removed os_utils and fully switched to snapssoumaya1-12/+39
JIRA: FUNCTEST-925 Change-Id: Ibcbf42c34b764fda09d4d49513b261aae296a68b Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2018-02-09Conform with OpenStackUser.get_os_creds() in juju_epcCédric Ollivier1-8/+4
UserSettings are not linked to any project then abot has to be passed as arg when calling get_os_creds. Else it returns the project registered in credentials instead of the one created by this testcase. Change-Id: Ia0658cc9af155df06de3d14e21e5288dad6367f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-07Remove dns server from juju_epc configCédric Ollivier1-4/+1
The dns server shoud be set by the Cloud provider via Neutron configs. Snaps is currently enforcing 8.8.8.8 as default too. Change-Id: I3e9a25d8bbfbab4cd1d44e394235b329df86e82e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-03Fix JujuEpc prepare() and deploy_orchestrator()Cédric Ollivier1-173/+177
It bypasses a known unfixed Juju bug [1] by creating a second '_member_' user [1]. An 'admin' user is still required to create flavors and by snaps when listing virtual machines. It highlights a possible bug in user_creator.get_os_creds(). It partially rewrites the testcase by cleaning instance attributes and by taking several os.system() returns into account. It sets the new password automatically generated [2] and starts switching from openstack utils to snaps in vEPC. This patchset must be completed by unit tests and by another patch fully switching to snaps in the last methods. It should be noted that the testcase sets 8.8.8.8 as dns server which could raise side effects. [1] https://bugs.launchpad.net/juju/+bug/1710848 [2] https://gerrit.opnfv.org/gerrit/#/c/50747/ Change-Id: Id18b4b185aa1825196e91f6692338169f51faea8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-02Stop setting ext net in configCédric Ollivier1-3/+1
It simply relies on the related env var as expected. Change-Id: Ibbb1a2ab2cccdff8cafe6f409af383a24778b1f5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-01Install vEPC dependencies in DockerfileCédric Ollivier1-17/+0
It also cleans sources and packages. Change-Id: Ie3a1a836c27af295b93386e8df63c0ae5accde84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-30Removal of deprecated SNAPS-OO classes in juju_epcCédric Ollivier1-28/+21
It completes the first commit about that topic [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47617/ Change-Id: I1a55b45f0535ae98681546d4d24bb424cf892aa8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-30Remove duplicated code related to snaps credsJuha Kosonen1-4/+1
Add support for providing credentials in snaps_utils. JIRA: FUNCTEST-916 Change-Id: I3e027229d213d3791a115920f7012309cc027712 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-01-29Enable epc unit testsCédric Ollivier1-2/+3
It adds the missing __init__.py to activate vepc unit tests. They are disabled because they are currently false (otherwise it would block next changes). Change-Id: I65b32490efde4cc8f6b3d9e6ee19257dcf02c2dd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-23Dynamic region name of juju cloudsoumaya1-9/+14
Region name in juju cloud has been made dynamic now, region name will be added in cloud file from os environment variable. It fixes the issues when runnit juju_epc vs Apex [1]. It also updates ubuntu images to xenial. [1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/628/console Change-Id: I9422af3086141cd40b99e6482883a7081f58c2ea Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2017-12-16Enforce a versioned public identity endpointCédric Ollivier1-12/+21
juju simply adds /auth/tokens to the public identity endpoint wich fails vs an unversioned endpoint as currently advised. It enforces a versioned endpoint till juju implements the right discovery. It may be improved to detect the right API version instead of forcing v3. But v2 is hugely deprecated and no longer used by all OPNFV installers. It also fixes errors/warnings listed by pylint. Change-Id: I6e8ba4b2122c19629426530d2d34e51e1bc609ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-13Change the name of flavor and disabled ssh-hostname verification.soumaya2-6/+12
Change-Id: Ia801e8a37288606a325b5dd010ab9f6acbfdadf4 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2017-12-11vEPC tests with juju as an VNF managersoumaya27-0/+1489
juju_epc testcase validate EPC setup with the help of ABoT which acting as test executor. Functest-abot-epc-bundle deploys OAI charms alongwith mysql and ABoT. JUJU is acting as a VNF manager. Change-Id: I45d7b37f21f6b8c7049ab2bf42a4678e30b67a72 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>