Count number of hosts per network
I am trying to calculate number of hosts connected to a specific network in openstack. Is there any efficient way to do so ?
KIndly Help.
First time here? Check out the FAQ!
I am trying to calculate number of hosts connected to a specific network in openstack. Is there any efficient way to do so ?
KIndly Help.
You can add --ip <ip-address-regex>
, thereby filtering for certain IP addresses. This may enable you to narrow the list down to the servers connected to one network, or at least fewer networks. Whether it's really faster, I don't know.
Asked: 2017-01-04 01:33:37 -0500
Seen: 85 times
Last updated: Jan 04 '17
auto release floating back to the pool
How Openstack is adding tap in OVS when mechanism driver is ODL.
Not able to connect internet on Openstack Instance
what is the relationship between br-100 br-ext and eth0 neutron openstack
Lbaas v2 with Devstack: error in creation loadbalancer
Cant ping/connect to instance from external network
I am trying to gather some cpu metrics from nova instances on devstack newton.
devstack and physical network configurations
What do you mean by "host"? If you mean instances, run
openstack server list --all-projects
and use the Networks column to count instances per network.Hi Bernd, this command gives all nodes. What I am trying to do is count hosts attached to a specific network-id. The process of using openstack server list --all-projects would be very inefficient, I think.
See http://docs.openstack.org/developer/p....