Hi Alec,

Thanks for infos, the contribution looks interesting. My python knowledge is 
about basic/intermediate level. I you could share more infos maybe I can 
investigate my the effort needs.

Br,
Peter



From: Alec Hothan (ahothan) [mailto:[email protected]]
Sent: Saturday, January 13, 2018 1:45 AM
To: Balint, Peter (Nokia - HU/Budapest) <[email protected]>; 
[email protected]
Subject: Re: [opnfv-tech-discuss] [nfvbench] - AttributeError: 'NoneType' 
object has no attribute 'rstrip'

Hi Balint,

We have had multiple requests in the past to support a no-OpenStack mode but we 
have not officially added support for that mode for lack of resources.
Having said that, I do not think it would be a lot of work because all the main 
SW pieces to support this mode are already in place and working (EXT chain mode 
is definitely the right starting point).

Michael is currently adding a feature for EXT chain that allows to specify the 
chain MAC addresses in the config (otherwise the current code expects your 
chain end points to reply to ARP). This will allow to test with external chains 
that do not support ARP.

Other than that, it would be just a matter of disabling a few functions related 
to OpenStack (mainly the OpenStack credentials code and Neutron network 
discovery), probably a couple of days of work for somebody familiar with python 
coding.

If you have cycles to contribute there, I’d be happy to guide you and point you 
to what needs to change.

Regards,

   Alec

From: "Balint, Peter (Nokia - HU/Budapest)" 
<[email protected]<mailto:[email protected]>>
Date: Friday, January 12, 2018 at 12:11 AM
To: "Alec Hothan (ahothan)" <[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: RE: [opnfv-tech-discuss] [nfvbench] - AttributeError: 'NoneType' 
object has no attribute 'rstrip'


Hi,

Thanks for infos.

My NFVBench installed on a bare metal server, I would like to benchmark 
different network elements, VNFs with it. So I only need to generate test with 
NFVBench and  I do not want to manage Openstack or any other network element 
with it. Is this possible?

openrc config is the default one with some port info:

{
    "openrc_file": "/tmp/nfvbench/openrc",

    "traffic_generator": {
        "generator_profile": [
            {
                "interfaces": [
                    {
                        "pci": "00:04.0",
                        "port": 0,
                    },
                    {
                        "pci": "00:03.0",
                        "port": 1,
                    }
                ],
                "intf_speed": "10Gbps",
                "ip": "127.0.0.1",
                "name": "trex-local",
                "software_mode": false,
                "tool": "TRex"
            }
        ]
    }
}


Br,

Peter




From: Alec Hothan (ahothan) [mailto:[email protected]]
Sent: Wednesday, January 10, 2018 6:37 PM
To: Balint, Peter (Nokia - HU/Budapest) 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: [opnfv-tech-discuss] [nfvbench] - AttributeError: 'NoneType' 
object has no attribute 'rstrip'

Hi Peter,

This looks to be a problem with the openstack authentication (openrc file) 
while trying to list a neutron network:

    networks = self.neutron.list_networks(name=network_name)

In EXT chain mode, the code will attempt to retrieve the characteristics of the 
right and left external networks (configured in your config file as 
“nfvbench-net0” and “nfvbench-net1”) to get their VLAN ids

Could you share the content of the openrc file used and what version of 
openstack are your running?
Something you can try real quick is to source the openrc file in the container 
(source /tmp/nfvbench/openrc) and try to show the 2 networks using neutron cli 
and see if you hit the same exception (neutron router-list, or neutron 
network-show nfvbench-net0)


  Alec


From: 
<[email protected]<mailto:[email protected]>>
 on behalf of "Balint, Peter (Nokia - HU/Budapest)" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, January 10, 2018 at 8:37 AM
To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [opnfv-tech-discuss] [nfvbench] - AttributeError: 'NoneType' object 
has no attribute 'rstrip'

Hi,

I started to investigate NFVBench for use as benchmarking software, and I got 
some errors.

I attached the output and config file.

I tried to use it in External Chain mode.


Could you please give some recommended settings or could you provide me any 
information which help to fix.


Br,




Peter Balint
Test Architect
MN Cloud Core
NOKIA

Nokia Solutions and Networks Kft.
H-1082 Budapest, Hungary, Bókay János u. 36-42.
Mobile: +36 70 501 89 01
[email protected]<mailto:[email protected]>
https://networks.nokia.com/

_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to