<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am writing a patchset to build a mapping between hosts and network segments. The goal of this mapping is to be able to say whether a host has access to a given network segment. I am building this mapping assuming that if a host A has a bridges mapping containing 'physnet 1' and a segment has 'physnet 1' in its 'physical_network' attribute, then the host has access to that segment.<br><br></div>1) Is this assumption correct? Looking at method check_segment_for_agent in <a href="http://git.openstack.org/cgit/openstack/neutron/tree/neutron/plugins/ml2/drivers/mech_agent.py#n180">http://git.openstack.org/cgit/openstack/neutron/tree/neutron/plugins/ml2/drivers/mech_agent.py#n180</a> seems to me to suggest that my assumption is correct?<br><br></div>2) Furthermore, when a segment is mapped to a physical network, is there a one to one relationship between segments and physical nets?<br><br></div>Thanks<br></div>