Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/releng from branch 'master'
- armband-deploy.sh: Inherit env vars for sudo
Previous commit adding sudo for ci/deploy.sh call breaks Armband
deploys, since ci/deploy.sh relies on $WORKSPACE env var being set.
Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
* Update docs/submodules/releng from branch 'master'
- armband-deploy.sh: sudo ci/deploy.sh
New MCP deploy scripts have a hard requirement on running as root.
Bring back sudo for the `ci/deploy.sh` invocation, aligning with
Fuel@OPNFV.
NOTE: This can be later avoided/reverted if we can guarantee the
"jenkins" user has sudo rights, even without a tty present.
Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Add "NODE_NAME" in "envs" otherwise it will fails when docker run."
- Add "NODE_NAME" in "envs" otherwise it will fails when docker run.
Change-Id: Iad6330387dae9b2ad94522b000d2c1eed80fba0a
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "test_base: speedup unittest, wait for queue not empty"
- test_base: speedup unittest, wait for queue not empty
Change-Id: I41a72b1fd7099e404a1cf832de39f15bbc7b46e0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Created new class KeystoneException"
- Created new class KeystoneException
Raising KeystoneException in keystone_utils.py instead of Exception
JIRA: SNAPS-127
Change-Id: Ife37c9df79c5c85dfdb07e239268c05b7c9a91bd
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Created new class GlanceException.
Raising GlanceException in glance_utils.py instead of Exception.
JIRA: SNAPS-126
Change-Id: I11b2d9a1ff439c1a4a52b4be30584fe8af877c73
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/doctor from branch 'master'
- Updates upstream file (dataplane status to network port in Neutron)
Change-Id: I00f232dede044ca396fe914272e7ade9ac9d6753
Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
|
|
|
|
* Update docs/submodules/bottlenecks from branch 'master'
- Bug fix of Bottlenecks can't use CLI
JIRA: BOTTLENECK-171
Bug fix of Bottlenecks can't use CLI to start test.
Some docker-compose function delete to fit elk docker support.
After this patch you could use bottlenecks testcase run
posca_factor_ping to start this test.
you also need to put the rc file to bottlenecks docker.
Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3
Signed-off-by: liyin <liyin11@huawei.com>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "synchronize upstream about tosca-parser"
- synchronize upstream about tosca-parser
synchronize tosca-parser with version of 0.81
JIRA: PARSER-128
Change-Id: Ib00e391bd6c1f4c69776796eb7b28062f14b92fc
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Synchronize upstream version of 0.9
Synchronize heat-translator wiht upstream versionn of 0.9
JIRA: PARSER-128
Change-Id: I4d2c62a0e81119d5c0305e3ac052415a6d5acee3
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Conform the RefStack testcase with the Rally context"
- Conform the RefStack testcase with the Rally context
If the RefStack testcase relies on the Tempest configuration
generated by Rally, it must conforms with the related context [1].
[1] https://raw.githubusercontent.com/openstack/rally/0.9.1/rally/plugins/openstack/verification/tempest/context.py
Change-Id: Ia62c0a328c53a1541aeaf8668e1f34ae67898eed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Wait for refstack-client to finish"
- Wait for refstack-client to finish
The previous implementation waited for /bin/sh to finish instead of
refstack-client. Then tempest still ran in background even if the
tescase was considered as finished.
Now all tempest logs are only printed in the dedicated file.
Change-Id: I94cd7c6fe68f3bc21782d8d9c43feee338c103ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Documentation Compliance for Euphrates - Adding template"
- Documentation Compliance for Euphrates - Adding template
JIRA: SAMPLEVNF-57
Change-Id: Iccbbe17fb06044af9a53d3207b0ee7679b57ce66
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "docs: Update install and release docs for DPDK migration support"
- docs: Update install and release docs for DPDK migration support
JIRA: SAMPLEVNF-48
Updating INSTALL.rst and RELEASE_NOTES.rst for DPDK migration
support. The additional files are created to make it as per the
opnfv document standard to generate the html files.
Change-Id: I4b0af4c3afeef91fc806285b02c0ce47d61ebfbd
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Add more test for nested import list"
- Add more test for nested import list
Currently the test about nested import list is not enough, the patch
enhance the test.
Change-Id: Ica25345062d316b9a32f4efb8c5c2a98b8bda497
JIRA: PARSER-127
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Add further enhancements into compute-report"
- Add further enhancements into compute-report
- Show results for all sections
- Rotate x-axis to 45 degree to avoid overlap
Change-Id: Id30b11937a27d3c6fff2b8ad8c9bf3aefbddb404
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "[Functest] Adapt set-functest-env to download OS images"
- [Functest] Adapt set-functest-env to download OS images
When [1] is ready and merged, we don't need to download the
OS images that are not needed for the deployed scenario.
The same filter applies to armband jobs.
[1] https://gerrit.opnfv.org/gerrit/#/c/37373/
Change-Id: I5813c738a8d9fa1262299cc50993557757f6d7e8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Remove add_images.sh"
- Remove add_images.sh
The Docker images should not host any OS image. They shall
be pre-downloaded and mounted as a docker volume to the
functest container.
Also, add scenario argument to skip images that are not needed for
the scenario
Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "attacker_process: fix typo s/envrioment/environment/"
- attacker_process: fix typo s/envrioment/environment/
Change-Id: I1e5db657eb88c73b5d9223c47e2d97dc79eec1f1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "test_nstat: speedup unittests, sleep for 0 seconds"
- test_nstat: speedup unittests, sleep for 0 seconds
Change-Id: I3f961e26fb045ea7501dc3a5b630b3ef94fec3ee
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "pktgen: speedup unittest, mock time.sleep"
- pktgen: speedup unittest, mock time.sleep
Change-Id: I0c6f6b68b30ae72887666a3b9e994dabf7c6a71d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "[UDP_Replay] fixing of compiler warning"
- [UDP_Replay] fixing of compiler warning
removes the nb_lcores as its no longer used.
Change-Id: I13020585afb6d1e0758f1efc6578740dd3502d72
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "tg: speedup unittests, mock time.sleep"
- tg: speedup unittests, mock time.sleep
Change-Id: Ia6207c898653c3ba21b22e9c309e7abb25d5cd32
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "test_pktgen_dpdk_throughput: speedup unittest, mock time.sleep()"
- test_pktgen_dpdk_throughput: speedup unittest, mock time.sleep()
Change-Id: I74bbdee1a503ef9bad32db7d4444921f6730f465
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- test_heat: ipaddress expects unicode inputs
weird error
E AddressValueError: '10.20.0.0/15' does not appear to be an IPv4 or IPv6 network. Did you pass in a bytes (str in Python 2) instead of a unicode object?
I guess we need to convert the stack.outputs mock to unicode
FAILED
tests/unit/benchmark/contexts/test_heat.py:137 (HeatContextTestCase.test_add_server_port)
self = <tests.unit.benchmark.contexts.test_heat.HeatContextTestCase testMethod=test_add_server_port>
def test_add_server_port(self):
network1 = mock.MagicMock()
network1.vld_id = 'vld111'
network2 = mock.MagicMock()
network2.vld_id = 'vld777'
self.test_context.name = 'foo'
self.test_context.stack = mock.MagicMock()
self.test_context.networks = {
'a': network1,
'c': network2,
}
self.test_context.stack.outputs = {
'b': '10.20.30.45',
'b-subnet_id': 1,
'foo-a-subnet-cidr': '10.20.0.0/15',
'foo-a-subnet-gateway_ip': '10.20.30.1',
'b-mac_address': '00:01',
'b-device_id': 'dev21',
'b-network_id': 'net789',
'd': '40.30.20.15',
'd-subnet_id': 2,
'foo-c-subnet-cidr': '40.30.0.0/18',
'foo-c-subnet-gateway_ip': '40.30.20.254',
'd-mac_address': '00:10',
'd-device_id': 'dev43',
'd-network_id': 'net987',
}
server = mock.MagicMock()
server.ports = OrderedDict([
('a', {'stack_name': 'b'}),
('c', {'stack_name': 'd'}),
])
expected = {
"private_ip": '10.20.30.45',
"subnet_id": 1,
"subnet_cidr": '10.20.0.0/15',
"network": '10.20.0.0',
"netmask": '255.254.0.0',
"gateway_ip": '10.20.30.1',
"mac_address": '00:01',
"device_id": 'dev21',
"network_id": 'net789',
"network_name": 'a',
"local_mac": '00:01',
"local_ip": '10.20.30.45',
"vld_id": 'vld111',
}
> self.test_context.add_server_port(server)
tests/unit/benchmark/contexts/test_heat.py:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
yardstick/benchmark/contexts/heat.py:307: in add_server_port
network_name, port['stack_name'], self.stack.outputs)
yardstick/benchmark/contexts/heat.py:315: in make_interface_dict
subnet_ip = ipaddress.ip_network(subnet_cidr)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
address = '10.20.0.0/15', strict = True
def ip_network(address, strict=True):
"""Take an IP string/int and return an object of the correct type.
Args:
address: A string or integer, the IP network. Either IPv4 or
IPv6 networks may be supplied; integers less than 2**32 will
be considered to be IPv4 by default.
Returns:
An IPv4Network or IPv6Network object.
Raises:
ValueError: if the string passed isn't either a v4 or a v6
address. Or if the network has host bits set.
"""
try:
return IPv4Network(address, strict)
except (AddressValueError, NetmaskValueError):
pass
try:
return IPv6Network(address, strict)
except (AddressValueError, NetmaskValueError):
pass
if isinstance(address, bytes):
raise AddressValueError(
'%r does not appear to be an IPv4 or IPv6 network. '
'Did you pass in a bytes (str in Python 2) instead of'
> ' a unicode object?' % address)
E AddressValueError: '10.20.0.0/15' does not appear to be an IPv4 or IPv6 network. Did you pass in a bytes (str in Python 2) instead of a unicode object?
../../yardstick/yardstick_venv/lib/python2.7/site-packages/ipaddress.py:199: AddressValueError
Change-Id: Ie3b087a26a054203573eaa9b13c3e90152bba6a9
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "test_tg_rfc2544_trex: speedup unittest, set time.sleep(0)"
- test_tg_rfc2544_trex: speedup unittest, set time.sleep(0)
Change-Id: I6fdae629bdbd45cba715a838c41613b914a3abcb
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/bottlenecks from branch 'master'
- Merge "Add test monitoring module"
- Add test monitoring module
JIRA: BOTTLENECK-172
Add the monitoring module for Bottlenecks testing. Merging into
the framework will be in another patch since framework is under
refactoration.
Change-Id: I72eb1b6cabac6a9d1d0ef1fb6430f364e8ad76df
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- test_delete_all_calls_delete: fix delete mock
we need to mock HeatStack.delete() before
we instantiate otherwise we can't
reach the instantiated objects delete() method
we need to patch the class so we patch all instances
Change-Id: I36f9476dcfb83e2d583c5a9f72dc27fce57258eb
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- test_heat: don't waste 2 seconds in unittest
remove duration checks and test with sleep 0
Change-Id: I22516cde56ac3a02358ca9c3e652cead10580d76
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/releng from branch 'master'
- [Compass] Move cacert docker copy after chown in fetch_os_creds
sometimes it can't copy os_cacert but copy opnfv_openrc.
it cause an issue and didn't execute the command chown.
so the opnfv_openrc will belong to root, which will cause errors next time.
Change-Id: I2955ba347d399d65c9e5cd566235be06fb7c30af
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "Bugfix: kubernetes context do not implement _get_network"
- Bugfix: kubernetes context do not implement _get_network
Since kubernetes context do not implement _get_network,
so when run unit test case, we will get a error:
TypeError: Can't instantiate abstract class KubernetesContext with
abstract methods _get_network
Change-Id: Ib56abe7c580ef8a6fc9f52f3fcd566d0fa70e1cc
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "apexlake: speed unittest, mock time.sleep"
- apexlake: speed unittest, mock time.sleep
Change-Id: I40cbcd1963bbb2481282c34b2360c77a5bef109b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "test_attacker_baremetal: don't run local commands"
- test_attacker_baremetal: don't run local commands
these tests were failing to mock subprocess.check_output
and thus were trying to run sudo commands on the local
system.
This is dangerous. Add the subprocess mock.
Also mock the LOG object so we don't print
bogus Runtime error tracebacks in the unittest logs
when we test assertRaises()
Change-Id: I01535f9952fbd95ce2f5972b641c51ff836e7e8c
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/bottlenecks from branch 'master'
- Add frame support of elk one docker support
JIRA: BOTTLENECK-171
Add support of Bottlenecks docker frame refact,
After this patch we will provide the ability of several installer.
Add Yardstick_TAG to adjust yardstick docker version
Change-Id: Ib431f8acf4a76b59f9d5e8783bcc7d2e5be208ae
Signed-off-by: liyin <liyin11@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "Kubernetes (k8s) support"
- Kubernetes (k8s) support
JIRA: YARDSTICK-682
We decide to support k8s in E release.
We need to discuss with openretriver team and then rewrite the ping
test case under k8s as the first step.
Change-Id: I3f81ebca8de5c1f3a8b7d42581cd7342dc320239
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "add network info to topology"
- add network info to topology
we need to know which network each port is connected to
so we can find VLAN or VXLAN ID.
To do this we implement a new method for Contexts,
Context.get_network(). This method is similar to
Context.get_server(), it searches for a given
network name in all the contexts.
From this we generate a context_cfg["networks"]
dict that stores all the network info for the nodes
in the scenario.
Then when we generate the topology for VNFD, we can
lookup a given network by the vld_id and get the
network_type, segmentation_id, etc.
Then if we need to for example generated
traffic on a given VLAN or VXLAN, we have this
info available.
Define default nd_route_tbl for ACL VNF
we need default empty nd_route_tbl for IPv6 route.
Change-Id: I9f9cfbd6acabeb4ae4675ca7354390efa57b29e7
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Add Authentication and Basic CRUD for Repos"
- Add Authentication and Basic CRUD for Repos
- Map urls to the CRUD views
- Add html templates for the views
- Set authentication settings
Change-Id: Ifcfe39a8341d44376e322d195e995fcaa1716d7d
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Beautify table and figure output"
- Beautify table and figure output
- use qgrid for interactive grid
- add legend to figures
- enlarge figures
Change-Id: I18cc58e1cbf64d4dda0593ebad55067fd6cdcfd3
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/armband from branch 'master'
- p/fuel: lib.sh: Revert to virtio-mmio for PXE net
virtio-pci-net seems to have issues with more than three (3)
interfaces attached to the same guest, even on separate PCI buses.
To bypass this limitation, for now, we will use virtio-mmio for
PXE, and virtio-pci-net for the rest.
This keeps the guest eth order consistent and predictable, and
allows udev to assign predictable interface names for 3 out of 4
guest network interfaces (enp2sX), thus ensuring PXE will always
get the "eth0" designator.
Change-Id: I0d0cb8148cd87313e67f8f27793eb2414c1e90e3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Release notes for Danube.3.0"
- Release notes for Danube.3.0
Change-Id: I528b4ef11b5957856c36c0f18c0aa28a38d450a4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Correct odl port for compass installer"
- Correct odl port for compass installer
For the port 8181 has been used by OSA repo LXC
in compass deployment. So we change the port here
in functest to 8080.
Change-Id: Ia262319f7513497db6e849521de6be6328ec97ba
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
* Update docs/submodules/compass4nfv from branch 'master'
- Adjust redeploy
When deployment is interrupted (e.g. ctrl+c kill deploy.sh),
ansible processes in compass-tasks are still running. Redeploy
at this situation new ansible process will be affacted by
remained ones which cause errors.
Change-Id: I821445bd53397c7030145bf6dc925032cb42519c
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- add release date
Change-Id: Icf12b7a59144754f65f67ed54a5c455a64c5042f
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Danube 3.1 release notes
Change-Id: I7032dd2348dd7212484a4a3cbd40e1d7698c8668
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/onosfw from branch 'master'
- update scenarios link to index.rst
Change-Id: Ib2ea7d49c437ca1afb7ca7a0b76c3f96d3ba5960
Signed-off-by: CNlucius <lukai1@huawei.com>
|
|
* Update docs/submodules/armband from branch 'master'
- reclass: system: AArch64: Remove mcelog
Change-Id: I7cc5162359347ac9472127a8d27730c96050915e
Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
* Update docs/submodules/armband from branch 'master'
- p/fuel: Rebase after upstream vCPU count rework
Change-Id: Ic4066acc2716e5f3f497fba9799691e0258d3011
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
* Update docs/submodules/joid from branch 'master'
- modfied to use public IP for keystone.
Change-Id: Id0bcd86ee00b81de4e15722038e0e5e985772971
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|