Misc: hawk_invoke: Pass CIB_shadow through

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: ApplicationController: Set CIB_shadow based on params[:cib_id]

Signed-off-by: Tim Serong <tserong@suse.com>
Misc Cib model: Allow shadow CIBs

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Constraints, Resources: remove hard-coded live CIB id

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: ApplicationController: Set CIB_shadow based on params[:id] when running against CibController

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Support shadow CIB via cib_id param

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Constraints, Resources: Pass cib_id when deleting items

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Pass cib_id when performing management ops

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Pass cib_id to status, sim and wizard pages

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Wizard: Pass cib_id through

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Use yellow sim background when operating on shadow CIB

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Cib model: Inject default instances for primitives with no LRM state

Similar to how we inject additional instances for clones with no LRM
state, we need to do the same for regular primitives, as new primitives
created in shadow CIBs won't have any state yet, so would otherwise be
miscounted.

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Simulator: Apply "sim" class correctly to background & tabs when shadow CIB active

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Simulator: Pass cib_id through to sim run, reset, etc.

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Include ui.popupmenu in main layout

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Move simulator and hb_report to tools menu in header

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Invoker: Read stdout in run()

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: hawk_invoke: Allow crm_shadow to run

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Constraints, Resources: Don't override tools popup menu

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Make simulator menu create new shadow CIB

Signed-off-by: Tim Serong <tserong@suse.com>