Age | Commit message (Collapse) | Author | Files | Lines |
|
Some hardcoded values within the parser project create problems for
opnfv-armband. In this patch we fix image naming for parser, at
least for the testcase we run in opnfv-ci.
1)Tosca functions like get_attribute() or get_item() could in theory
be used but due to the current structure of the vRNC file it is not
possible.
JIRA: ARMBAND-369
JIRA: PARSER-175
Change-Id: I8cdc82b9e5c9008f3a3a5110d65706440d208ab8
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
|
|
Hardcoded values within the parser project create problems
for opnfv-armband. In this patch we :
1) Add aarch64 image download conditional
2) Fix typos and comments
JIRA: ARMBAND-369
JIRA: PARSER-175
Change-Id: I001087a8783fef66336e9bddc8d67342f6810a1f
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
|
|
JIRA: PARSER-174
Change-Id: I891398e634846db617081b0baed9adf0662743b7
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Add default falvor since there is not any flavor for
some installers.
JIRA: PARSER-172
Change-Id: I5fb0fdc4857a35840399c8cec8f051055a3a4eac
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
urrent parser script for functest is supposed that functest enterns the
tests directory of parser firstly, and then call functest_parser.sh; it
need to use absolute path instead of relative path as work directory.
This modification is from functest patch:
https://gerrit.opnfv.org/gerrit/#/c/49649/
JIRA: PARSER-171
Change-Id: I55b3ce882e6ddd48edf9f43eb8fae8334c5458aa
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
If there is no role of heat_stack_owner in openstack, integration
will be error, the patch will fix it.
JIRA: PARSER-162
Change-Id: I74d4e70153a312c1a64c75e0ff956b7ab2219adf
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Currently the test in apex is error, the patch will fix it.
JIRA: PARSER-160
Change-Id: I0c290f7819468e1f400f1610fc87bceb72086b92
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Currently the query misses a option of --user,
the patch will fix it.
JIRA: PARSER-158
Change-Id: I324d843b00271f7fb333b02c5372cb061d09ae70
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
In env installed by apex, there is no role of heat_stack_owner, so it
need to separate the condition in script.
JIRA:PARSER-157
Change-Id: Ie40715268a1124b57f0bf36ddc566bbcdbed964b
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit 51a4cb9a4026037147da64b2353ec44002c7a7a7)
|
|
When update openstack to ocata and run test in functest, the following
error happends:
ERROR: Missing required credential: roles ['heat_stack_owner']
It need to add role heat_stack_owner to parser user
JIRA: PARSER-156
Change-Id: Ie0417c53c7dbd28efe8d9c4eb3fda23de8e1f841
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
|
|
Modify the install script
JIRA: PARSER-125
Change-Id: Ia43687286fb8ac3b18b816aa5e4928ce9a12beec
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Functest is in charge of installing libraries and it's forbidden by
tests. No syslog service is provided in the container too.
Change-Id: I4de16e091a4eea1b4fad1cb11fcff9abb62f82cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Merge installation and test script because functest will not called the
script of parser_install.sh, and only call the script of
functest_run.sh.
JIRA: PARSER-130
Change-Id: I452010f0d635dfbd9fb802743f3b858d66b72b32
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
The image that is offered by Functest in the container is 0.3.5
This changes avoids downloading 0.3.2 in Functest. See [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/37393/6/functest/ci/download_images.sh
Change-Id: I04ecc9bbed77fb39774460dfb466c32db49b8d98
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Once [1] is merged, the image needed for this test case will be
available in /home/opnfv/functest/images/
So, no need to download again.
[1] https://gerrit.opnfv.org/gerrit/#/c/37393/
Change-Id: I219fc38cdf5e929ecdba1631d6315f6d076ae5d0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Fix heat-translator after sync code from upstream
JIRA:PARSER-120
Change-Id: I033fa7c09fea716d7568613f72643f1e4bf8cd19
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Delete not used property from vRNC,such as activestatus
and id.
Change-Id: I14b4563663d220c241440dff0244ccbadff7912b
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Add debug information when run script in functest.
Change-Id: I4e86d6fb4b2285d96c131163b8f72942eafa2563
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
About parser test in funkiest, replace test case from
test_tosca_nfv_sample.yaml to vRNC.yaml, which include more VDUs, VLs
and CPs.
JIRA:PARSER-103
Change-Id: I7a1c5937f644f7269c0263e681b8778bf98a1406
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
When run parser in functest, we don't know the provider network about
Openstack, if use vxlan or vlan or gre as default, it may be error.
So it's necessary to path the provider network definition in yaml, and
select it in runtime.
JIRA:PARSER-99
Change-Id: I20ae6b213870b18cee094d43ce2ba958f53b111e
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Currently in functest, when deploy a template use parser, the timeout
is a constant value of 3min,
It can be set according to the actual running time.
Additionally, its necessary to add more debug information.
JIRA:PARSER-98
Change-Id: I11b667247644dbd64ecd6e8b0b1015240301279d
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
When deploy vRNC, the follow errors occured:
openstack stack create -t ./vRNC_Hot_Template.yaml vRNC_Stack
The request you have made requires authentication. (HTTP 401)
(Request-ID: req-d0ddd5bd-5291-4b2f-ab92-95618881647a)
The reason is that creating user is before creating project, and the
order will be reverse.
JIRA:PARSER-90
Change-Id: I890be71bfe7b2ec5f393f235c4c79c705340dfaa
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
|
|
As a tester;
I want to known the functest result of vRNC deploy;
So i add stack validation about vRNC.
JIRA:PARSER-81
Change-Id: I97cb76d8f0a5dcd3ea104023149ed0a282d688c6
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
As a tester;
I want functest prepare the test env for parser;
So it 's necessary to create parser_install.sh script for functest when
building docker image.
JIRA:PARSER-84
Change-Id: I3cc2cbba4d90b676ca362e54242f52afc3387e72
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
Currently when deploying stack is error in functest, it will call
reset_parser_test automatically, but when the reset_parser_test itself
is error, the reset of user/project/role will error again, so t's
necessary to check the user, role and project existence when reset test
env.
JIRA:PARSER-83
Change-Id: If22ba162691ab3e4e7581e381524ac1a09dca2f5
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
1. Replace -f to --template-file in heat-translator;
2. Replace heat-translator with openstack template translate later;
3. Modify echo infomations.
JIRA:PARSER-82
Change-Id: I545cb4a38bcdb107c1992b6e02810a46ac9ef201
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
As a tester;
I want to return the initial state of a test case;
So i will clear the env when a testcase is finished.
Change-Id: Ibeaa24d7fc29bab03d87719239fce965ef4dea26
JIRA:PARSER-71
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
As a nfs tosca template designer;
I want to known wether the parse and translation template is correct.
So i use functest project to deploy the template and validate the output
template file.
Change-Id: Ic2d1dba14cf6bd9544d7a57c83256248630f2047
JIRA:PARSER-69
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|