Comment 9 for bug 1562887

Revision history for this message
LIU Yulong (dragon889) wrote :

@Andrey Kurilin (andreykurilin)
The current rally task input is a little confused to me.
My task input JSON is:
{
    "NeutronNetworks.create_and_delete_routers": [
        {
            "args": {
                "network_create_args": {},
                "subnet_create_args": {},
                "subnet_cidr_start": "1.1.0.0/30",
                "subnets_per_network": 2,
                "router_create_args": {}
            },
            "runner": {
                "type": "constant",
                "times": 30,
                "concurrency": 10
            },
            "context": {
                "network": {
                    "network_create_args": {},
                    "subnets_per_network": 1,
                    "start_cidr": "10.0.0.0/16",
                    "networks_per_tenant": 1
                },
                "users": {
                    "tenants": 3,
                    "users_per_tenant": 3
                },
                "quotas": {
                    "neutron": {
                        "network": -1,
                        "subnet": -1,
                        "router": -1
                    }
                }
            }
        }
    ]
}

And during the rally execution, you will find some subnets like "10.x.0.0/16" in the attachment image, and mostly the subnet CIDR is "1.1.0.xx/30".
And if I don't set the "context: networks: start_cidr" the result is same as my previous comment: https://bugs.launchpad.net/neutron/+bug/1562887/comments/7
You will get some subnet with CIDR "10.2.xx.0/24"

So I have a question, what's the difference between "args: subnet_cidr_start" and "context: networks: start_cidr" ?
So, during the rally create_and_delete_routers task which subnet will be used to create router interface and which subnet will start a DHCP agent?