summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2017-10-11Merge "Fix fail of vRouter on Orange POD"Morgan Richomme1-2/+1
2017-10-11Fix fail of vRouter on Orange PODroot1-2/+1
1. Functest docker container environment has no attribute 'OS_REGION_NAME' 2. vRouter was get the 'OS_REGION_NAME' but not used it. 3. Deleting use 'OS_REGION_NAME' part of vRouter. 4. Utility lib of vRouter use Nova client. 5. Modifying Nova client authentication step for auth api v3. 6. Doing test of modified vRouter on Orange POD. Change-Id: I062549e5ca48fb4825b53448a4e2ffc8c1f8ec40 Signed-off-by: root <shuya.nakama@okinawaopenlabs.org>
2017-10-10Modify the egg name for parsershangxdy1-1/+1
Currently the egg name for heat-translator has been changed to nfv-heattranslator in parser project, this patch will modify the docker file. related patches: https://gerrit.opnfv.org/gerrit/#/c/41261/ Change-Id: I2d5d214c722fc133aa015a1c9620a49709db17bb Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-03Disable vyos_vrouterCédric Ollivier1-0/+1
It's postponed to 5.1. Change-Id: Ic06d47b4b5df167044363b40aea0c7932b550be7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-02Add ${DOCKER_TAG} in Docker hooksCédric Ollivier6-6/+6
It e
#ifndef __MV_CRYPTO_H__
#define __MV_CRYPTO_H__

#define DIGEST_INITIAL_VAL_A	0xdd00
#define DIGEST_INITIAL_VAL_B	0xdd04
#define DIGEST_INITIAL_VAL_C	0xdd08
#define DIGEST_INITIAL_VAL_D	0xdd0c
#define DIGEST_INITIAL_VAL_E	0xdd10
#define DES_CMD_REG		0xdd58

#define SEC_ACCEL_CMD		0xde00
#define SEC_CMD_EN_SEC_ACCL0	(1 << 0)
#define SEC_CMD_EN_SEC_ACCL1	(1 << 1)
#define SEC_CMD_DISABLE_SEC	(1 << 2)

#define SEC_ACCEL_DESC_P0	0xde04
#define SEC_DESC_P0_PTR(x)	(x)

#define SEC_ACCEL_DESC_P1	0xde14
#define SEC_DESC_P1_PTR(x)	(x)

#define SEC_ACCEL_CFG		0xde08
#define SEC_CFG_STOP_DIG_ERR	(1 << 0)
#define SEC_CFG_CH0_W_IDMA	(1 << 7)
#define SEC_CFG_CH1_W_IDMA	(1 << 8)
#define SEC_CFG_ACT_CH0_IDMA	(1 << 9)
#define SEC_CFG_ACT_CH1_IDMA	(1 << 10)

#define SEC_ACCEL_STATUS	0xde0c
#define SEC_ST_ACT_0		(1 << 0)
#define SEC_ST_ACT_1		(1 << 1)

/*
 * FPGA_INT_STATUS looks like a FPGA leftover and is documented only in Errata
 * 4.12. It looks like that it was part of an IRQ-controller in FPGA and
 * someone forgot to remove  it while switching to the core and moving to
 * SEC_ACCEL_INT_STATUS.
 */
#define FPGA_INT_STATUS		0xdd68
#define SEC_ACCEL_INT_STATUS	0xde20
#define SEC_INT_AUTH_DONE	(1 << 0)
#define SEC_INT_DES_E_DONE	(1 << 1)
#define SEC_INT_AES_E_DONE	(1 << 2)
#define SEC_INT_AES_D_DONE	(1 << 3)
#define SEC_INT_ENC_DONE	(1 << 4)
#define SEC_INT_ACCEL0_DONE	(1 << 5)
#define SEC_INT_ACCEL1_DONE	(1 << 6)
#define SEC_INT_ACC0_IDMA_DONE	(1 << 7)
#define SEC_INT_ACC1_IDMA_DONE	(1 << 8)

#define SEC_ACCEL_INT_MASK	0xde24

#define AES_KEY_LEN	(8 * 4)

struct sec_accel_config {

	u32 config;
#define CFG_OP_MAC_ONLY		0
#define CFG_OP_CRYPT_ONLY	1
#define CFG_OP_MAC_CRYPT	2
#define CFG_OP_CRYPT_MAC	3
#define CFG_MACM_MD5		(4 << 4)
#define CFG_MACM_SHA1		(5 << 4)
#define CFG_MACM_HMAC_MD5	(6 << 4)
#define CFG_MACM_HMAC_SHA1	(7 << 4)
#define CFG_ENCM_DES		(1 << 8)
#define CFG_ENCM_3DES		(2 << 8)
#define CFG_ENCM_AES		(3 << 8)
#define CFG_DIR_ENC		(0 << 12)
#define CFG_DIR_DEC		(1 << 12)
#define CFG_ENC_MODE_ECB	(0 << 16)
#define CFG_ENC_MODE_CBC	(1 << 16)
#define CFG_3DES_EEE		(0 << 20)
#define CFG_3DES_EDE		(1 << 20)
#define CFG_AES_LEN_128		(0 << 24)
#define CFG_AES_LEN_192		(1 << 24)
#define CFG_AES_LEN_256		(2 << 24)
#define CFG_NOT_FRAG		(0 << 30)
#define CFG_FIRST_FRAG		(1 << 30)
#define CFG_LAST_FRAG		(2 << 30)
#define CFG_MID_FRAG		(3 << 30)

	u32 enc_p;
#define ENC_P_SRC(x)		(x)
#define ENC_P_DST(x)		((x) << 16)

	u32 enc_len;
#define ENC_LEN(x)		(x)

	u32 enc_key_p;
#define ENC_KEY_P(x)		(x)

	u32 enc_iv;
#define ENC_IV_POINT(x)		((x) << 0)
#define ENC_IV_BUF_POINT(x)	((x) << 16)

	u32 mac_src_p;
#define MAC_SRC_DATA_P(x)	(x)
#define MAC_SRC_TOTAL_LEN(x)	((x) << 16)

	u32 mac_digest;
#define MAC_DIGEST_P(x)	(x)
#define MAC_FRAG_LEN(x)	((x) << 16)
	u32 mac_iv;
#define MAC_INNER_IV_P(x)	(x)
#define MAC_OUTER_IV_P(x)	((x) << 16)
}__attribute__ ((packed));
	/*
	 * /-----------\ 0
	 * | ACCEL CFG |	4 * 8
	 * |-----------| 0x20
	 * | CRYPT KEY |	8 * 4
	 * |-----------| 0x40
	 * |  IV   IN  |	4 * 4
	 * |-----------| 0x40 (inplace)
	 * |  IV BUF   |	4 * 4
	 * |-----------| 0x80
	 * |  DATA IN  |	16 * x (max ->max_req_size)
	 * |-----------| 0x80 (inplace operation)
	 * |  DATA OUT |	16 * x (max ->max_req_size)
	 * \-----------/ SRAM size
	 */

	/* Hashing memory map:
	 * /-----------\ 0
	 * | ACCEL CFG |        4 * 8
	 * |-----------| 0x20
	 * | Inner IV  |        5 * 4
	 * |-----------| 0x34
	 * | Outer IV  |        5 * 4
	 * |-----------| 0x48
	 * | Output BUF|        5 * 4
	 * |-----------| 0x80
	 * |  DATA IN  |        64 * x (max ->max_req_size)
	 * \-----------/ SRAM size
	 */
#define SRAM_CONFIG		0x00
#define SRAM_DATA_KEY_P		0x20
#define SRAM_DATA_IV		0x40
#define SRAM_DATA_IV_BUF	0x40
#define SRAM_DATA_IN_START	0x80
#define SRAM_DATA_OUT_START	0x80

#define SRAM_HMAC_IV_IN		0x20
#define SRAM_HMAC_IV_OUT	0x34
#define SRAM_DIGEST_BUF		0x48

#define SRAM_CFG_SPACE		0x80

#endif
avatar.org/avatar/461171f30fb05602c8b20aacb5494fcb?s=128&d=retro' />Cédric Ollivier
1-9/+8
Change-Id: Ib08fb665724bd7b7ec8f8a010486e615d2cd5f5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-14Select $OPENSTACK_TAG instead of stable/ocataCédric Ollivier2-2/+2
It modifies functest and functest-core containers. Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Optimize Alpine DockerfilesCédric Ollivier3-7/+11
It mainly splits vnfs runtime and build dependencies to save space at the end. Change-Id: I8307fa416066cc8c50b96862de8bafd2c47a2ace Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Add packages in docker alpine containersManuel Buil2-2/+2
To run our SFC tests we require openssh and sshpass to be installed in the container Change-Id: I40b3d740855d48939f9411697abbd3bbbb70370f Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-13Merge "Add Functest restapi container"Cedric Ollivier2-0/+43
2017-09-13Merge "Remove thirdparty-requirements.txt in smoke"Cedric Ollivier3-8/+7
2017-09-13Merge "Add Docker automated build hooks for Parser"Cedric Ollivier1-0/+6
2017-09-13Add Functest restapi containerCédric Ollivier2-0/+43
It allows running all testcases via Functest REST API [1].  [1] https://wiki.opnfv.org/display/functest/Running+test+cases+via+new+Functest+REST+API Change-Id: Iaa69b7367653398582b876df1362f72c787c6b7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Remove thirdparty-requirements.txt in smokeCédric Ollivier3-8/+7
As refstack must be installed via local dir (to sync requirements), it's useless to list it again in a requirements file. Change-Id: I9099fff185694fd41cf02e1265b1d4ab7659d7f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Add Docker automated build hooks for ParserCédric Ollivier1-0/+6
Change-Id: Ie42058fba915e3fbe9098ff14b31768723e8e24e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-12Merge "Re-enable orchestra tests (VNF)"Cedric Ollivier1-2/+0
2017-09-11Re-enable orchestra tests (VNF)Morgan Richomme1-2/+0
"Marketplace is now running on port 8080. In addition, we have extended the marketplace backend in order to return the last modified header so that images are not re-downloaded all the time tests are executed. It should be done by Monday EOB" [1] [1]: https://jira.opnfv.org/browse/ORCHESTRA-17?jql=project%20%3D%20ORCHESTRA JIRA: ORCHESTRA-17 Change-Id: I17f6316003be9c2c3131ed640e6a32e482d1a174 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-08Merge "Exclude api_check on lxd scenarios"Morgan Richomme1-1/+1
2017-09-08Use git commit id for refstack-clientCédric Ollivier2-0/+4
Functest should be based on fixed versions of projects which are out of OPNFV. It selects the last git commit as refstack-client hasn't defined any tag or branch. Change-Id: Id7c5ecb0ef88fd1a2b8f34ddfc22c87b7f78c8d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Update ODL testcase to Keystone v3Cédric Ollivier2-2/+2
As basic neutron tests have been updated [1], ODL testcase must manage user domain and project domain names. [1] https://git.opendaylight.org/gerrit/#/c/62846/ JIRA: FUNCTEST-862 Change-Id: I61ef622f840b8d825cf45a3557bd6da14a4d3cb7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Exclude api_check on lxd scenariosMorgan Richomme1-1/+1
Most of the tests are OK but the last tests deal with qcow2 images the testcase is therefore not compatible with lxd sceanrio Change-Id: Ie67e5e1a67673c5d2076ef306bd7d29f46e6977f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-07Use git commit id for ODLCédric Ollivier2-4/+6
stable/carbon has been removed and Functest requires the patch "No more Content-Type for DELETE request header" [1]. [1] https://git.opendaylight.org/gerrit/#/c/60578/ Change-Id: Ia3630e03e26a543ae37c36455a68763ffc8f2b12 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-07Publish a container for ParserCédric Ollivier2-0/+63
As Parser is based on OpenStack pike release, it's hosted by a dedicated Alpine container. Change-Id: I1957ff100108d2ca58f939ddf4feda28a2954ced Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Unlink Functest and FDS tagsCédric Ollivier1-1/+2
Otherwise it forbids building Functest containers from a gerrit change. Change-Id: I936fc338d17a710bd9403670cd17aabc89c5cc2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Fix all refstack-client requirements on-the-flyCédric Ollivier3-3/+12
RefStack Client is out of OpenStack releases and its requirements must be modified before installing. Change-Id: Id1aed6cdc9c409d0036abe86591ff52e7ef0c26f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Integrate doctor-test packagedongwenjuan4-1/+20
It updates tescases.yaml as run.sh is located in $PATH. repo_doctor is removed as it's now useless. It must be noted that doctor-test imports modules fom a relative path which can break the integration. Pylint warms them (W0403) [1]. [1] https://docs.pylint.org/en/1.6.0/features.html Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd3071a8e371048370bd3e07e08b6b52ddb35c13 Depends-On: I2091cfe4751640bf83d77e1fdd713af1e31fa89d Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Merge "Integrate new Domino package"Cedric Ollivier3-1/+3
2017-09-05Merge "Stop downloading openbaton image."Cedric Ollivier1-0/+2
2017-09-05Stop using master for pipCédric Ollivier1-3/+0
Rally cannot work via latest pip: [r.name.lower() for r in pip.req.parse_requirements( rally AttributeError: 'module' object has no attribute 'req' Badly it forbids building containers from a gerrit change. Change-Id: Ie60344b2a7793729823643ba2c1d3c30500d56c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Stop downloading openbaton image.Cédric Ollivier1-0/+2
It's downloaded in all CI runs and forbids several ones (timeout). Change-Id: I2f269d941990b7235eba7cc6d58ad17072495176 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Merge "Launch Functest RestApi once the container is run"valentin boucher1-0/+2
2017-09-05Integrate new Domino packageCédric Ollivier3-1/+3
Change-Id: Iada952e3356fa89a122503c2a71aa31a9731469e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-04Merge "Stop cloning doctor and domino"Cedric Ollivier2-5/+1