<div dir="ltr"><div><div>Hi Danny,<br><br></div>I know that if we will set admin_state_up= false we will disable DHCP service for this network and new VMs will not get network settings by DHCP.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 31, 2014 at 2:41 AM, Danny Choi (dannchoi) <span dir="ltr"><<a href="mailto:dannchoi@cisco.com" target="_blank">dannchoi@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)">
<div style="color:rgb(0,0,0)">Hi,</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">I have a VM with an interface attached to network “provider-net-1” and assigned IP 66.0.0.8.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div>
<p style="margin:0px;font-size:12px;font-family:Courier">localadmin@qa4:~/devstack$ nova list</p>
<p style="margin:0px;font-size:12px;font-family:Courier">+--------------------------------------+------+--------+------------+-------------+--------------------------+</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| ID | Name | Status | Task State | Power State | Networks |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">+--------------------------------------+------+--------+------------+-------------+--------------------------+</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| d4815a38-ea64-4189-95b2-fefe82a07b72 | vm-1 | ACTIVE | - | Running | provider_net-1=66.0.0.8 |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">+--------------------------------------+------+--------+------------+-------------+--------------------------+</p>
</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Verify ping 66.0.0.8 from the router namespace is successful.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Then I set the admin_state<span style="font-style:italic">_</span>up = false for the network.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div>
<p style="margin:0px;font-size:12px;font-family:Courier">localadmin@qa4:~/devstack$ neutron net-update --admin_state_up=false provider_net-1</p>
<p style="margin:0px;font-size:12px;font-family:Courier">Updated network: provider_net-1</p>
<p style="margin:0px;font-size:12px;font-family:Courier">localadmin@qa4:~/devstack$ neutron net-show provider_net-1</p>
<p style="margin:0px;font-size:12px;font-family:Courier">+---------------------------+--------------------------------------+</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| Field | Value |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">+---------------------------+--------------------------------------+</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| admin_state_up | False | <<<<<<<</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| id | 9532b759-68a2-4dc0-bcd4-b372fccabe3c |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| name | provider_net-1 |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| provider:network_type | vlan |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| provider:physical_network | physnet1 |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| provider:segmentation_id | 399 |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| router:external | False |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| shared | False |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| status | ACTIVE |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| subnets | 8e75c110-9b31-4268-ba5c-e130fa139d32 |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">| tenant_id | e217fbc20a3b4f4fab49ec580e9b6a15 |</p>
<p style="margin:0px;font-size:12px;font-family:Courier">+---------------------------+--------------------------------------+</p>
<div style="color:rgb(0,0,0)"><br>
</div>
</div>
<div style="color:rgb(0,0,0)">Afterwards, the ping is still successful.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">I expect the ping to fail since the network admin_state<span style="font-style:italic">_</span>up= false.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">What is the expected behavior? What does it mean when a network's admin_state_up = false?</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Thanks,</div>
<div style="color:rgb(0,0,0)">Danny</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font color="#888888"><font color="#888888"><br></font></font><div style="font-family:arial;font-size:small">Timur,</div><div style="font-family:arial;font-size:small">Senior QA Engineer</div><div style="font-family:arial;font-size:small">OpenStack Projects</div><div style="font-family:arial;font-size:small">Mirantis Inc<br><br></div><div style="font-family:arial;font-size:small">My OpenStack summit schedule: <a href="http://kilodesignsummit.sched.org/timur.nurlygayanov#.VFSrD8mhhOI" target="_blank">http://kilodesignsummit.sched.org/timur.nurlygayanov#.VFSrD8mhhOI</a><br></div></div></div></div></div>
</div>