I've been playing with this a bit and there's quite a lot you can do with it.
- Use it to move Topology containers (and their devices) between landscapes. Modify the .modelinggatewayresource.xml file to export a Network container instead of Universe; look for the line <RootContainerToExport model_type="Universe" model_name=""/> and modify the type and name. Name the export file according to the container you exported. Then just import the file on the new landscape and delete the container on the old landscape. - Use it to do simple reporting. I dump the entire topology to an XML file and then use it for simple reports. I use PERL and XML::Twig to parse the file. We have over 350k models in our single SS, so anything I can do to avoid long-running vnmsh queries is helpful. The modelinggateway export is fast, about 5 minutes for my huge ssdb, creating a 31Mb xml file. - Note that you're not stuck with the attributes provided, you can add attributes to the resource and dtd file. - Note that the xml file exported does not include the header specified in the mgw doc. Don't add it, unless you want to actually have to fix your resource and dtd files; you'll discover all sorts of mistakes that are ignored, like exporting "1" instead of "true". Just run the export and then import the file without looking too closely. What you don't see can't hurt you, right? "Shunyun" [cid:[email protected]] From: Gregory Bevillard [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 6:54 AM To: spectrum Subject: RE: AW: [spectrum] Topology export in XML format Hello, You can use: $SPECROOT/SS-Tools/modellinggateway -vnm landscape -e filename.xml -e option is to export, use -i to import (you can also import in a new landscape, it will convert each landscape handle). You can also add the -debug parameter at the end. Hope this help. Best regards, Gregory From: Wagner, Frank [mailto:[EMAIL PROTECTED] Sent: 09 December 2008 12:11 To: spectrum Subject: AW: AW: [spectrum] Topology export in XML format Hello John, I have it but I fear I mustn't send it here. originally it was planed to be the new tool to transfer a Landscape to a new Landscape handle in 8.?? it is described in Concord knowledgebase TS24793 so support should find it. Using this only for export makes a export of topology. in 9.0 it is embedded in Modelling Gateway. Mit freundlichen Grüßen Frank Wagner ________________________________ Von: John T Neels [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. Dezember 2008 22:57 An: Wagner, Frank Cc: [EMAIL PROTECTED] Betreff: Re: AW: [spectrum] Topology export in XML format Do you by chance have the code or the procedures to export it? It seems support does not know anything about exporting out the information in an XML format. Do you have a contact at support that knows the steps to do this? John T. Neels, M.B.A., M.S., P.M.P. cell 314-330-4969 ________________________________ From: "Wagner, Frank" <[EMAIL PROTECTED]> To: spectrum <[email protected]> Sent: Monday, December 8, 2008 3:34:34 PM Subject: AW: [spectrum] Topology Hi Sean, the new Modeling Gatway exports all devices with connections and ports in a XML format. It is included in 9.0 for 8.1 you get it from support Mit freundlichen Grüßen Frank Wagner ________________________________ Von: Houde, Sean [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. Dezember 2008 19:20 An: spectrum Betreff: [spectrum] Topology Before I try reinventing the wheel, does anybody have a command line script for extracting the physical topology from Spectrum's database? I basically need to tabulate which devices and ports connect to what other devices and ports, though it would have to go deep enough to specify the physical ports as they are known to the device. Thanks in advance, Sean * --To unsubscribe from spectrum, send email to [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> with the body: unsubscribe spectrum [EMAIL PROTECTED] * --To unsubscribe from spectrum, send email to [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> with the body: unsubscribe spectrum [EMAIL PROTECTED] * --To unsubscribe from spectrum, send email to [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> with the body: unsubscribe spectrum [EMAIL PROTECTED] * --To unsubscribe from spectrum, send email to [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> with the body: unsubscribe spectrum [EMAIL PROTECTED] --- To unsubscribe from spectrum, send email to [EMAIL PROTECTED] with the body: unsubscribe spectrum [EMAIL PROTECTED]
<<inline: image001.gif>>
