On Mon, Jun 24, 2013 at 05:15:06PM +0100, Nux! wrote:
> On 24.06.2013 15:21, Daan Hoogland wrote:
> >Nux,
> >
> >Have a look at the file create_schema.sql from the git repository.
> >As far
> >as I know there are no cascading deletes supported and as you started
> >deleting you'll have to follow the relations yourself. a mysql
> >workbench is
> >going to be your best friend right now.  'host_pod_ref' is not
> >ref'd from
> >just the host and pod tables.
> >
> >Daan
> 
> Thanks Daan, unfortunately had to rebuild the whole data base. I
> guess I'll have to leave the solution to this for next time it
> happens.
> 

Next time try:
$ pip install cloudmonkey-latest
$ cloudmonkey

shell> list physicalnetworks listall=true
(locate id of the phy. ntwk)
shell> delete physicalnetwork id=<id-from-prev.step>
shell> delete zone id=<your-zoneid>

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to