DX NetOps Manager

Expand all | Collapse all

Spectrum: how to initiate container autoplace?

  • 1.  Spectrum: how to initiate container autoplace?

    Posted 07-14-2015 12:05 PM

    Hello Spectrum gurus,

     

    we looking for a way to initiate the autoplacement of objects within a topology container via commandline or webservice.

    Reason to do so is, that we don't want to do this simple task for hundreds of containers manually via OneClick UI.

     

    manual way: select a topology container, put it into edit mode, select arrangement (manual, tree, radial), save

    ideas so far:

    - set attribute AutoPlace (0x12a92) to one of the Integer values: none (1), radial(2), tree(3)

    - set some other attribute's value to make Spectrum aware of the new requirement

    => several tries without success

    or

    - set attribute AutoPlace (0x12a92) to one of the Integer values: none (1), radial(2), tree(3)

    - run a vnmsh action code against the container model_handle

    => which action code?

     

    An ideas on this?

     

    regards,
    Raphael



  • 2.  Re: Spectrum: how to initiate container autoplace?

    Posted 07-14-2015 12:27 PM

    Raphael,

     

    Try using the AutoPlace utility located in the $SPECROOT/SS-Tools directory.

     

    > ./AutoPlace.exe

    Usage:

    c:\win32app\SPECTRUM\SS-Tools\AutoPlace.exe -mh modelhandle [-center modelhandle] [-type Radial|Tree
    ]
    [-diameter number] [-wgeometry WidthxHeight] [-zoom]
    [-minwidth width] [-minheight height] [-help]


    Default values are:

       Diameter        - (size of icon)
       Type            - Radial
       Window Geometry - 600x600
       Minimum Width   - 500
       Minimum Height  - 100
       Zoom            - (False)

       There could be more than one center model, one for each tree.

     

    Joe



  • 3.  Re: Spectrum: how to initiate container autoplace?

    Posted 07-14-2015 03:15 PM

    Hi Joe,

     

    this is a great pointer. A few short tests showed this AutoPlace utility to do the job.

    I guess it does a similar thing to my option 2, but just CA might confirm this and reveal the action code.

     

    thanks,

    Raphael



  • 4.  Re: Spectrum: how to initiate container autoplace?

    Posted 07-14-2015 03:43 PM

    Raphael,

     

    To my knowledge there is no action code for this.

     

    Joe



  • 5.  Re: Spectrum: how to initiate container autoplace?

    Posted 07-14-2015 06:34 PM

    It would be great to get an action code for this. I have often wondered if there already was one, but now I will no longer need to wonder! Thanks!

     

    Do you know if it is possible to perform this using REST API?

     

    Thanks.



  • 6.  Re: Spectrum: how to initiate container autoplace?

    Posted 07-15-2015 07:51 AM

    To my knowledge this cannot be performed using REST API.

     

    Joe