LMS 3.1: Linking NetConfig/NetShow jobs with SWIM jobs?

Unanswered Question
Dec 24th, 2008
User Badges:
  • Gold, 750 points or more

Is it possible to perform the following workflow in RME 4.2 in a streamlined fashion?


- Run a large number of "show" commands on a set of devices, store/email the output somewhere.

- Upgrade the OS image on the above devices and reboot if successful, or halt/revert back to previous OS code and email the failures/successes.

- After the OS upgrades, run another set of "show" commands on the above devices, store/email the output somewhere.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Wed, 12/24/2008 - 09:57
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

No, actually. The problem is with the SWIM job. Currently, SWIM jobs cannot be scheduled from CLI. Therefore, you would have to manually perform that task from the GUI. The Netshow tasks could be scripted, however.

yjdabear Mon, 01/05/2009 - 11:47
User Badges:
  • Gold, 750 points or more

Is it currently possible or is there any plan to add a "save as draft" fucntion to NetConfig/NetShow/SWiM jobs?

Joe Clarke Mon, 01/05/2009 - 11:56
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Not that I have heard of. You can schedule a job for the distant future, but you can't create a draft job to be edited an run later.

yjdabear Mon, 01/05/2009 - 12:11
User Badges:
  • Gold, 750 points or more

The intent is to be able to trigger NetConfig/NetShow jobs (pre- or post-baseline) manually or otherwise, depending on the outcome of the SWiM job. It's a shame RME can do the individual tasks in a piece-meal fashion, but there's little cohesive workflow to speak of.

Joe Clarke Mon, 01/05/2009 - 12:14
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This is doable using the SWIM script feature. When you schedule a SWIM job, you can specify a script to run when the job completes. This script can call cwcli to run Netconfig or Netshow jobs. However, the opposite is not true. You can't schedule a SWIM job based on the results of a Netshow job (for example).

Actions

This Discussion