<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you do a port list to see if port in use?<div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">PCM (Paul Michali)<br><br>Contact info for Cisco users <a href="http://twiki.cisco.com/Main/pcm">http://twiki.cisco.com/Main/pcm</a><br><br></span>
</div>
<br><div><div>On Apr 16, 2013, at 3:49 PM, Atif Wasi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hi Folks,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Have a relatively easy question.  I assigned a subnet with a wrong IP and an incorrect tenant-id.  Now when I try to update the subnet with the correct tenant-id, it is not taking the new value (see below).</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Also how do I delete a subnet ?  When I try to delete it, I am getting the following error
 message.  I made sure that there are no floatingip assigned to this subnet.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Any help will be appreciated.  I am running OpenStack Folsom</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Thanks</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent;
 font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Atif...</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color: transparent;"><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-list</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">+--------------------------------------+------+------------------+------------------------------------------------------+</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| id                                   | name | cidr             | allocation_pools                                     |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">+--------------------------------------+------+------------------+------------------------------------------------------+</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| 47e9644b-c536-4662-8771-2f296d47ad4d |      | 192.168.100.0/24 | {"start": "192.168.100.2", "end": "192.168.100.254"} |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| 48a105de-8bb4-4303-9958-717d110a9456 |      | 192.168.1.9/24   | {"start": "192.168.1.10", "end": "192.168.1.20"}     |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| 95cb5b22-a4f0-48eb-bc7a-8870797cb51a |      | 192.168.10.0/24  | {"start": "192.168.10.2", "end": "192.168.10.254"}   |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">+--------------------------------------+------+------------------+------------------------------------------------------+</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-delete 48a105de-8bb4-4303-9958-717d110a9456</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times,
 serif">Unable to complete operation on network %(net_id)s. There is one or more ports still in use on the network.</font></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal;"><br></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color: transparent;"><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-update 48a105de-8bb4-4303-9958-717d110a9456 --tenant-id b443045cd0d54377b637cc0ba998bf89</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times,
 serif">Updated subnet: 48a105de-8bb4-4303-9958-717d110a9456</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-show 48a105de-8bb4-4303-9958-717d110a9456</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">+------------------+--------------------------------------------------+</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| Field            | Value                                            |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">+------------------+--------------------------------------------------+</font></div><div style="background-color:
 transparent;"><font face="times new roman, new york, times, serif">| allocation_pools | {"start": "192.168.1.10", "end": "192.168.1.20"} |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| cidr             | 192.168.1.9/24                                   |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| dns_nameservers  |                                                  |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| enable_dhcp      | False                    
                        |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| gateway_ip       | 192.168.1.1                                      |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| host_routes      |                                                  |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| id               | 48a105de-8bb4-4303-9958-717d110a9456             |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| ip_version       | 4                                                |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| name             |                                                  |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">| network_id       | 036e83fc-c322-4dfc-89d2-10d867752055             |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times,
 serif">| tenant_id        | 6bd416e48a394f06bfbf4d0856740262                 |</font></div><div style="background-color: transparent;"><font face="times new roman, new york, times, serif">+------------------+--------------------------------------------------+</font></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal;"><br></div></div></div></div>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>