On Tue, 29 Jan 2019 15:06:17 -0000
"Brian Wilson" <briwils2(a)cisco.com> wrote:
So we have a use case where our engines will will be hosting
development sandbox clusters. We need to have upwards of 1000
networks on some of these.
I expect that instantiating this big number of VLAN based networks on a
host might be painful.
Would external OVN networks fit for your scenario?
Even creating 2k networks on ovirt-provider-ovn would take around 30
minutes, there are no VLANs which has to be instantiated on the hosts.
I understand there is no theoretical limit to the number of networks
does any body have a good reliable way of instantiating all of these
networks.
We have been using ansible for POCs and doing 100 Networks have not
had a problem getting them on there however when upping the number to
many more it begins to take longer and longer between each one and
eventually timed iout and only got to 1567
I would be interested in understanding what is happening here.
Creating 2k networks took less than 15 minutes for me.
If possible, would you be able to share the relevant part of engine.log?
Example Task we are using for this:
Thanks for sharing this.
tasks:
- name: Add More Networks
ovirt_network:
auth: "{{ ovirt_auth }}"
data_center: "{{ pcloud_name }}"
name: "{{ pcloud_name }}-{{ item }}"
state: present
label: uplink
From my point of view, it is a good idea to label the host interface
after creating the networks, if many networks are created rapidly.
vlan_tag: "{{ item }}"
clusters:
- name: "{{ ovirt_cluster }}"
Is this cluster of switchtype OVS or linux bridge?
assigned: yes
required: no
display: no
migration: no
gluster: no
with_sequence: start=1551 end=2500
What are some better ways of bulk additions of networks? Would the
API provide a better solution so as to sorta bulk cache them then
initiate the save?
Ondra, do you have a suggestion here?
_______________________________________________