Advertisement
NLinker

The test checks generalized version works

May 3rd, 2020
1,545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 138.95 KB | None | 0 0
  1.     #[test]
  2.     fn test_generalize() {
  3.         let command = vec![make_command(
  4.             1,
  5.             &[39, 40, 41, 42, 43, 44, 45, 46, 47, 48],
  6.             "The command",
  7.         )];
  8.         let jobs = vec![
  9.             make_job(39, &[10, 20], &[], "Install packages on server oss2.local."),
  10.             make_job(40, &[11, 21], &[39], "Configure NTP on oss2.local."),
  11.             make_job(41, &[12, 22], &[39], "Enable LNet on oss2.local."),
  12.             make_job(42, &[13, 23], &[39], "Configure Corosync on oss2.local."),
  13.             make_job(43, &[14, 24], &[42], "Start Corosync on oss2.local"),
  14.             make_job(44, &[15, 25], &[41], "Load the LNet kernel modules."),
  15.             make_job(45, &[16, 26], &[44], "Start the LNet networking layer."),
  16.             make_job(46, &[17, 27], &[39, 43], "Configure Pacemaker on oss2.local."),
  17.             make_job(47, &[18, 28], &[43, 46], "Start Pacemaker on oss2.local."),
  18.             make_job(
  19.                 48,
  20.                 &[19, 29],
  21.                 &[39, 40, 41, 42, 45, 46, 47],
  22.                 "Setup managed host oss2.local.",
  23.             ),
  24.         ];
  25.         let steps = vec![
  26.             make_step(10, "Step ten"),
  27.             make_step(11, "Step eleven"),
  28.             make_step(12, "Step twelve"),
  29.             make_step(13, "Step thirteen"),
  30.             make_step(14, "Step fourteen"),
  31.             make_step(15, "Step fifteen"),
  32.             make_step(16, "Step sixteen"),
  33.             make_step(17, "Step seventeen"),
  34.             make_step(18, "Step eighteen"),
  35.             make_step(19, "Step nineteen"),
  36.             make_step(20, "Step twenty"),
  37.             make_step(21, "Step twenty one"),
  38.             make_step(22, "Step twenty two"),
  39.             make_step(23, "Step twenty three"),
  40.             make_step(24, "Step twenty four"),
  41.             make_step(25, "Step twenty five"),
  42.             make_step(26, "Step twenty six"),
  43.             make_step(27, "Step twenty seven"),
  44.             make_step(28, "Step twenty eight"),
  45.             make_step(29, "Step twenty nine"),
  46.         ];
  47.         let mut model = Model::default();
  48.         model.commands = convert_to_rich_hashmap(command, extract_children_from_cmd);
  49.         model.jobs = convert_to_rich_hashmap(jobs, extract_children_from_job);
  50.         model.steps = convert_to_rich_hashmap(steps, extract_children_from_step);
  51.         model.refresh_view((true, true, true));
  52.  
  53.         let mut ctx = Context {
  54.             steps_view: &model.steps_view,
  55.             select: &model.select,
  56.         };
  57.         let dag_view = traverse_graph(
  58.             &model.jobs_graphs[&CmdId(1)],
  59.             &graph_item_view,
  60.             &graph_item_combine,
  61.             &mut ctx,
  62.         );
  63.         let dag_view = div![dag_view];
  64.         assert_eq!(format!("{:#?}", dag_view), NODE);
  65.     }
  66.  
  67.     fn graph_item_combine(parent: Node<Msg>, acc: Vec<Node<Msg>>, _ctx: &mut Context) -> Node<Msg> {
  68.         if !parent.is_empty() {
  69.             // all the dependencies are shifted with the indent
  70.             let acc_plus = acc.into_iter().map(|a| a.merge_attrs(class![C.ml_3, C.mt_1]));
  71.             div![parent, acc_plus]
  72.         } else {
  73.             empty!()
  74.         }
  75.     }
  76.  
  77.     fn graph_item_view(job: Arc<RichJob>, is_new: bool, ctx: &mut Context) -> Node<Msg> {
  78.         if is_new {
  79.             let icon = job_status_icon(job.as_ref());
  80.             // we don't use job.deps() since deps() now show interdependencies between jobs
  81.             if job.steps.is_empty() {
  82.                 span![span![class![C.mr_1], icon], span![job.description]]
  83.             } else {
  84.                 let is_open = ctx.select.contains(TypedId::Job(job.id));
  85.                 let def_vec = Vec::new();
  86.                 let steps = ctx.steps_view.get(&JobId(job.id)).unwrap_or(&def_vec);
  87.                 div![
  88.                     a![
  89.                         span![class![C.mr_1], icon],
  90.                         span![class![C.cursor_pointer, C.underline], job.description],
  91.                         simple_ev(Ev::Click, Msg::Click(TypedId::Job(job.id))),
  92.                     ],
  93.                     step_list_view(steps, &ctx.select, is_open),
  94.                 ]
  95.             }
  96.         } else {
  97.             empty!()
  98.         }
  99.     }
  100.  
  101.     const NODE: &'static str = r#"Element(
  102.    El {
  103.        tag: Div,
  104.        attrs: Attrs {
  105.            vals: {},
  106.        },
  107.        style: Style {
  108.            vals: {},
  109.        },
  110.        event_handler_manager: EventHandlerManager {
  111.            groups: {},
  112.        },
  113.        children: [
  114.            Element(
  115.                El {
  116.                    tag: Div,
  117.                    attrs: Attrs {
  118.                        vals: {},
  119.                    },
  120.                    style: Style {
  121.                        vals: {},
  122.                    },
  123.                    event_handler_manager: EventHandlerManager {
  124.                        groups: {},
  125.                    },
  126.                    children: [
  127.                        Element(
  128.                            El {
  129.                                tag: Div,
  130.                                attrs: Attrs {
  131.                                    vals: {},
  132.                                },
  133.                                style: Style {
  134.                                    vals: {},
  135.                                },
  136.                                event_handler_manager: EventHandlerManager {
  137.                                    groups: {},
  138.                                },
  139.                                children: [
  140.                                    Element(
  141.                                        El {
  142.                                            tag: A,
  143.                                            attrs: Attrs {
  144.                                                vals: {},
  145.                                            },
  146.                                            style: Style {
  147.                                                vals: {},
  148.                                            },
  149.                                            event_handler_manager: EventHandlerManager {
  150.                                                groups: {
  151.                                                    Click: Group {
  152.                                                        event_handlers: RefCell {
  153.                                                            value: [
  154.                                                                EventHandler('click'),
  155.                                                            ],
  156.                                                        },
  157.                                                        listener: None,
  158.                                                    },
  159.                                                },
  160.                                            },
  161.                                            children: [
  162.                                                Element(
  163.                                                    El {
  164.                                                        tag: Span,
  165.                                                        attrs: Attrs {
  166.                                                            vals: {
  167.                                                                Class: Some(
  168.                                                                    "mr-1",
  169.                                                                ),
  170.                                                            },
  171.                                                        },
  172.                                                        style: Style {
  173.                                                            vals: {},
  174.                                                        },
  175.                                                        event_handler_manager: EventHandlerManager {
  176.                                                            groups: {},
  177.                                                        },
  178.                                                        children: [
  179.                                                            Element(
  180.                                                                El {
  181.                                                                    tag: Svg,
  182.                                                                    attrs: Attrs {
  183.                                                                        vals: {
  184.                                                                            Class: Some(
  185.                                                                                "fill-current fill-current w-4 h-4 inline text-green-500",
  186.                                                                            ),
  187.                                                                        },
  188.                                                                    },
  189.                                                                    style: Style {
  190.                                                                        vals: {},
  191.                                                                    },
  192.                                                                    event_handler_manager: EventHandlerManager {
  193.                                                                        groups: {},
  194.                                                                    },
  195.                                                                    children: [
  196.                                                                        Element(
  197.                                                                            El {
  198.                                                                                tag: Use,
  199.                                                                                attrs: Attrs {
  200.                                                                                    vals: {
  201.                                                                                        Class: Some(
  202.                                                                                            "pointer-events-none",
  203.                                                                                        ),
  204.                                                                                        Href: Some(
  205.                                                                                            "sprites/solid.svg#check",
  206.                                                                                        ),
  207.                                                                                    },
  208.                                                                                },
  209.                                                                                style: Style {
  210.                                                                                    vals: {},
  211.                                                                                },
  212.                                                                                event_handler_manager: EventHandlerManager {
  213.                                                                                    groups: {},
  214.                                                                                },
  215.                                                                                children: [],
  216.                                                                                namespace: Some(
  217.                                                                                    Svg,
  218.                                                                                ),
  219.                                                                                node_ws: None,
  220.                                                                                refs: [],
  221.                                                                            },
  222.                                                                        ),
  223.                                                                    ],
  224.                                                                    namespace: Some(
  225.                                                                        Svg,
  226.                                                                    ),
  227.                                                                    node_ws: None,
  228.                                                                    refs: [],
  229.                                                                },
  230.                                                            ),
  231.                                                        ],
  232.                                                        namespace: None,
  233.                                                        node_ws: None,
  234.                                                        refs: [],
  235.                                                    },
  236.                                                ),
  237.                                                Element(
  238.                                                    El {
  239.                                                        tag: Span,
  240.                                                        attrs: Attrs {
  241.                                                            vals: {
  242.                                                                Class: Some(
  243.                                                                    "cursor-pointer underline",
  244.                                                                ),
  245.                                                            },
  246.                                                        },
  247.                                                        style: Style {
  248.                                                            vals: {},
  249.                                                        },
  250.                                                        event_handler_manager: EventHandlerManager {
  251.                                                            groups: {},
  252.                                                        },
  253.                                                        children: [
  254.                                                            Text(
  255.                                                                Text {
  256.                                                                    text: "Setup managed host oss2.local.",
  257.                                                                    node_ws: None,
  258.                                                                },
  259.                                                            ),
  260.                                                        ],
  261.                                                        namespace: None,
  262.                                                        node_ws: None,
  263.                                                        refs: [],
  264.                                                    },
  265.                                                ),
  266.                                            ],
  267.                                            namespace: None,
  268.                                            node_ws: None,
  269.                                            refs: [],
  270.                                        },
  271.                                    ),
  272.                                    Empty,
  273.                                ],
  274.                                namespace: None,
  275.                                node_ws: None,
  276.                                refs: [],
  277.                            },
  278.                        ),
  279.                        Element(
  280.                            El {
  281.                                tag: Div,
  282.                                attrs: Attrs {
  283.                                    vals: {
  284.                                        Class: Some(
  285.                                            "ml-3 mt-1",
  286.                                        ),
  287.                                    },
  288.                                },
  289.                                style: Style {
  290.                                    vals: {},
  291.                                },
  292.                                event_handler_manager: EventHandlerManager {
  293.                                    groups: {},
  294.                                },
  295.                                children: [
  296.                                    Element(
  297.                                        El {
  298.                                            tag: Div,
  299.                                            attrs: Attrs {
  300.                                                vals: {},
  301.                                            },
  302.                                            style: Style {
  303.                                                vals: {},
  304.                                            },
  305.                                            event_handler_manager: EventHandlerManager {
  306.                                                groups: {},
  307.                                            },
  308.                                            children: [
  309.                                                Element(
  310.                                                    El {
  311.                                                        tag: A,
  312.                                                        attrs: Attrs {
  313.                                                            vals: {},
  314.                                                        },
  315.                                                        style: Style {
  316.                                                            vals: {},
  317.                                                        },
  318.                                                        event_handler_manager: EventHandlerManager {
  319.                                                            groups: {
  320.                                                                Click: Group {
  321.                                                                    event_handlers: RefCell {
  322.                                                                        value: [
  323.                                                                            EventHandler('click'),
  324.                                                                        ],
  325.                                                                    },
  326.                                                                    listener: None,
  327.                                                                },
  328.                                                            },
  329.                                                        },
  330.                                                        children: [
  331.                                                            Element(
  332.                                                                El {
  333.                                                                    tag: Span,
  334.                                                                    attrs: Attrs {
  335.                                                                        vals: {
  336.                                                                            Class: Some(
  337.                                                                                "mr-1",
  338.                                                                            ),
  339.                                                                        },
  340.                                                                    },
  341.                                                                    style: Style {
  342.                                                                        vals: {},
  343.                                                                    },
  344.                                                                    event_handler_manager: EventHandlerManager {
  345.                                                                        groups: {},
  346.                                                                    },
  347.                                                                    children: [
  348.                                                                        Element(
  349.                                                                            El {
  350.                                                                                tag: Svg,
  351.                                                                                attrs: Attrs {
  352.                                                                                    vals: {
  353.                                                                                        Class: Some(
  354.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  355.                                                                                        ),
  356.                                                                                    },
  357.                                                                                },
  358.                                                                                style: Style {
  359.                                                                                    vals: {},
  360.                                                                                },
  361.                                                                                event_handler_manager: EventHandlerManager {
  362.                                                                                    groups: {},
  363.                                                                                },
  364.                                                                                children: [
  365.                                                                                    Element(
  366.                                                                                        El {
  367.                                                                                            tag: Use,
  368.                                                                                            attrs: Attrs {
  369.                                                                                                vals: {
  370.                                                                                                    Class: Some(
  371.                                                                                                        "pointer-events-none",
  372.                                                                                                    ),
  373.                                                                                                    Href: Some(
  374.                                                                                                        "sprites/solid.svg#check",
  375.                                                                                                    ),
  376.                                                                                                },
  377.                                                                                            },
  378.                                                                                            style: Style {
  379.                                                                                                vals: {},
  380.                                                                                            },
  381.                                                                                            event_handler_manager: EventHandlerManager {
  382.                                                                                                groups: {},
  383.                                                                                            },
  384.                                                                                            children: [],
  385.                                                                                            namespace: Some(
  386.                                                                                                Svg,
  387.                                                                                            ),
  388.                                                                                            node_ws: None,
  389.                                                                                            refs: [],
  390.                                                                                        },
  391.                                                                                    ),
  392.                                                                                ],
  393.                                                                                namespace: Some(
  394.                                                                                    Svg,
  395.                                                                                ),
  396.                                                                                node_ws: None,
  397.                                                                                refs: [],
  398.                                                                            },
  399.                                                                        ),
  400.                                                                    ],
  401.                                                                    namespace: None,
  402.                                                                    node_ws: None,
  403.                                                                    refs: [],
  404.                                                                },
  405.                                                            ),
  406.                                                            Element(
  407.                                                                El {
  408.                                                                    tag: Span,
  409.                                                                    attrs: Attrs {
  410.                                                                        vals: {
  411.                                                                            Class: Some(
  412.                                                                                "cursor-pointer underline",
  413.                                                                            ),
  414.                                                                        },
  415.                                                                    },
  416.                                                                    style: Style {
  417.                                                                        vals: {},
  418.                                                                    },
  419.                                                                    event_handler_manager: EventHandlerManager {
  420.                                                                        groups: {},
  421.                                                                    },
  422.                                                                    children: [
  423.                                                                        Text(
  424.                                                                            Text {
  425.                                                                                text: "Install packages on server oss2.local.",
  426.                                                                                node_ws: None,
  427.                                                                            },
  428.                                                                        ),
  429.                                                                    ],
  430.                                                                    namespace: None,
  431.                                                                    node_ws: None,
  432.                                                                    refs: [],
  433.                                                                },
  434.                                                            ),
  435.                                                        ],
  436.                                                        namespace: None,
  437.                                                        node_ws: None,
  438.                                                        refs: [],
  439.                                                    },
  440.                                                ),
  441.                                                Empty,
  442.                                            ],
  443.                                            namespace: None,
  444.                                            node_ws: None,
  445.                                            refs: [],
  446.                                        },
  447.                                    ),
  448.                                ],
  449.                                namespace: None,
  450.                                node_ws: None,
  451.                                refs: [],
  452.                            },
  453.                        ),
  454.                        Element(
  455.                            El {
  456.                                tag: Div,
  457.                                attrs: Attrs {
  458.                                    vals: {
  459.                                        Class: Some(
  460.                                            "ml-3 mt-1",
  461.                                        ),
  462.                                    },
  463.                                },
  464.                                style: Style {
  465.                                    vals: {},
  466.                                },
  467.                                event_handler_manager: EventHandlerManager {
  468.                                    groups: {},
  469.                                },
  470.                                children: [
  471.                                    Element(
  472.                                        El {
  473.                                            tag: Div,
  474.                                            attrs: Attrs {
  475.                                                vals: {},
  476.                                            },
  477.                                            style: Style {
  478.                                                vals: {},
  479.                                            },
  480.                                            event_handler_manager: EventHandlerManager {
  481.                                                groups: {},
  482.                                            },
  483.                                            children: [
  484.                                                Element(
  485.                                                    El {
  486.                                                        tag: A,
  487.                                                        attrs: Attrs {
  488.                                                            vals: {},
  489.                                                        },
  490.                                                        style: Style {
  491.                                                            vals: {},
  492.                                                        },
  493.                                                        event_handler_manager: EventHandlerManager {
  494.                                                            groups: {
  495.                                                                Click: Group {
  496.                                                                    event_handlers: RefCell {
  497.                                                                        value: [
  498.                                                                            EventHandler('click'),
  499.                                                                        ],
  500.                                                                    },
  501.                                                                    listener: None,
  502.                                                                },
  503.                                                            },
  504.                                                        },
  505.                                                        children: [
  506.                                                            Element(
  507.                                                                El {
  508.                                                                    tag: Span,
  509.                                                                    attrs: Attrs {
  510.                                                                        vals: {
  511.                                                                            Class: Some(
  512.                                                                                "mr-1",
  513.                                                                            ),
  514.                                                                        },
  515.                                                                    },
  516.                                                                    style: Style {
  517.                                                                        vals: {},
  518.                                                                    },
  519.                                                                    event_handler_manager: EventHandlerManager {
  520.                                                                        groups: {},
  521.                                                                    },
  522.                                                                    children: [
  523.                                                                        Element(
  524.                                                                            El {
  525.                                                                                tag: Svg,
  526.                                                                                attrs: Attrs {
  527.                                                                                    vals: {
  528.                                                                                        Class: Some(
  529.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  530.                                                                                        ),
  531.                                                                                    },
  532.                                                                                },
  533.                                                                                style: Style {
  534.                                                                                    vals: {},
  535.                                                                                },
  536.                                                                                event_handler_manager: EventHandlerManager {
  537.                                                                                    groups: {},
  538.                                                                                },
  539.                                                                                children: [
  540.                                                                                    Element(
  541.                                                                                        El {
  542.                                                                                            tag: Use,
  543.                                                                                            attrs: Attrs {
  544.                                                                                                vals: {
  545.                                                                                                    Class: Some(
  546.                                                                                                        "pointer-events-none",
  547.                                                                                                    ),
  548.                                                                                                    Href: Some(
  549.                                                                                                        "sprites/solid.svg#check",
  550.                                                                                                    ),
  551.                                                                                                },
  552.                                                                                            },
  553.                                                                                            style: Style {
  554.                                                                                                vals: {},
  555.                                                                                            },
  556.                                                                                            event_handler_manager: EventHandlerManager {
  557.                                                                                                groups: {},
  558.                                                                                            },
  559.                                                                                            children: [],
  560.                                                                                            namespace: Some(
  561.                                                                                                Svg,
  562.                                                                                            ),
  563.                                                                                            node_ws: None,
  564.                                                                                            refs: [],
  565.                                                                                        },
  566.                                                                                    ),
  567.                                                                                ],
  568.                                                                                namespace: Some(
  569.                                                                                    Svg,
  570.                                                                                ),
  571.                                                                                node_ws: None,
  572.                                                                                refs: [],
  573.                                                                            },
  574.                                                                        ),
  575.                                                                    ],
  576.                                                                    namespace: None,
  577.                                                                    node_ws: None,
  578.                                                                    refs: [],
  579.                                                                },
  580.                                                            ),
  581.                                                            Element(
  582.                                                                El {
  583.                                                                    tag: Span,
  584.                                                                    attrs: Attrs {
  585.                                                                        vals: {
  586.                                                                            Class: Some(
  587.                                                                                "cursor-pointer underline",
  588.                                                                            ),
  589.                                                                        },
  590.                                                                    },
  591.                                                                    style: Style {
  592.                                                                        vals: {},
  593.                                                                    },
  594.                                                                    event_handler_manager: EventHandlerManager {
  595.                                                                        groups: {},
  596.                                                                    },
  597.                                                                    children: [
  598.                                                                        Text(
  599.                                                                            Text {
  600.                                                                                text: "Configure NTP on oss2.local.",
  601.                                                                                node_ws: None,
  602.                                                                            },
  603.                                                                        ),
  604.                                                                    ],
  605.                                                                    namespace: None,
  606.                                                                    node_ws: None,
  607.                                                                    refs: [],
  608.                                                                },
  609.                                                            ),
  610.                                                        ],
  611.                                                        namespace: None,
  612.                                                        node_ws: None,
  613.                                                        refs: [],
  614.                                                    },
  615.                                                ),
  616.                                                Empty,
  617.                                            ],
  618.                                            namespace: None,
  619.                                            node_ws: None,
  620.                                            refs: [],
  621.                                        },
  622.                                    ),
  623.                                    Empty,
  624.                                ],
  625.                                namespace: None,
  626.                                node_ws: None,
  627.                                refs: [],
  628.                            },
  629.                        ),
  630.                        Element(
  631.                            El {
  632.                                tag: Div,
  633.                                attrs: Attrs {
  634.                                    vals: {
  635.                                        Class: Some(
  636.                                            "ml-3 mt-1",
  637.                                        ),
  638.                                    },
  639.                                },
  640.                                style: Style {
  641.                                    vals: {},
  642.                                },
  643.                                event_handler_manager: EventHandlerManager {
  644.                                    groups: {},
  645.                                },
  646.                                children: [
  647.                                    Element(
  648.                                        El {
  649.                                            tag: Div,
  650.                                            attrs: Attrs {
  651.                                                vals: {},
  652.                                            },
  653.                                            style: Style {
  654.                                                vals: {},
  655.                                            },
  656.                                            event_handler_manager: EventHandlerManager {
  657.                                                groups: {},
  658.                                            },
  659.                                            children: [
  660.                                                Element(
  661.                                                    El {
  662.                                                        tag: A,
  663.                                                        attrs: Attrs {
  664.                                                            vals: {},
  665.                                                        },
  666.                                                        style: Style {
  667.                                                            vals: {},
  668.                                                        },
  669.                                                        event_handler_manager: EventHandlerManager {
  670.                                                            groups: {
  671.                                                                Click: Group {
  672.                                                                    event_handlers: RefCell {
  673.                                                                        value: [
  674.                                                                            EventHandler('click'),
  675.                                                                        ],
  676.                                                                    },
  677.                                                                    listener: None,
  678.                                                                },
  679.                                                            },
  680.                                                        },
  681.                                                        children: [
  682.                                                            Element(
  683.                                                                El {
  684.                                                                    tag: Span,
  685.                                                                    attrs: Attrs {
  686.                                                                        vals: {
  687.                                                                            Class: Some(
  688.                                                                                "mr-1",
  689.                                                                            ),
  690.                                                                        },
  691.                                                                    },
  692.                                                                    style: Style {
  693.                                                                        vals: {},
  694.                                                                    },
  695.                                                                    event_handler_manager: EventHandlerManager {
  696.                                                                        groups: {},
  697.                                                                    },
  698.                                                                    children: [
  699.                                                                        Element(
  700.                                                                            El {
  701.                                                                                tag: Svg,
  702.                                                                                attrs: Attrs {
  703.                                                                                    vals: {
  704.                                                                                        Class: Some(
  705.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  706.                                                                                        ),
  707.                                                                                    },
  708.                                                                                },
  709.                                                                                style: Style {
  710.                                                                                    vals: {},
  711.                                                                                },
  712.                                                                                event_handler_manager: EventHandlerManager {
  713.                                                                                    groups: {},
  714.                                                                                },
  715.                                                                                children: [
  716.                                                                                    Element(
  717.                                                                                        El {
  718.                                                                                            tag: Use,
  719.                                                                                            attrs: Attrs {
  720.                                                                                                vals: {
  721.                                                                                                    Class: Some(
  722.                                                                                                        "pointer-events-none",
  723.                                                                                                    ),
  724.                                                                                                    Href: Some(
  725.                                                                                                        "sprites/solid.svg#check",
  726.                                                                                                    ),
  727.                                                                                                },
  728.                                                                                            },
  729.                                                                                            style: Style {
  730.                                                                                                vals: {},
  731.                                                                                            },
  732.                                                                                            event_handler_manager: EventHandlerManager {
  733.                                                                                                groups: {},
  734.                                                                                            },
  735.                                                                                            children: [],
  736.                                                                                            namespace: Some(
  737.                                                                                                Svg,
  738.                                                                                            ),
  739.                                                                                            node_ws: None,
  740.                                                                                            refs: [],
  741.                                                                                        },
  742.                                                                                    ),
  743.                                                                                ],
  744.                                                                                namespace: Some(
  745.                                                                                    Svg,
  746.                                                                                ),
  747.                                                                                node_ws: None,
  748.                                                                                refs: [],
  749.                                                                            },
  750.                                                                        ),
  751.                                                                    ],
  752.                                                                    namespace: None,
  753.                                                                    node_ws: None,
  754.                                                                    refs: [],
  755.                                                                },
  756.                                                            ),
  757.                                                            Element(
  758.                                                                El {
  759.                                                                    tag: Span,
  760.                                                                    attrs: Attrs {
  761.                                                                        vals: {
  762.                                                                            Class: Some(
  763.                                                                                "cursor-pointer underline",
  764.                                                                            ),
  765.                                                                        },
  766.                                                                    },
  767.                                                                    style: Style {
  768.                                                                        vals: {},
  769.                                                                    },
  770.                                                                    event_handler_manager: EventHandlerManager {
  771.                                                                        groups: {},
  772.                                                                    },
  773.                                                                    children: [
  774.                                                                        Text(
  775.                                                                            Text {
  776.                                                                                text: "Enable LNet on oss2.local.",
  777.                                                                                node_ws: None,
  778.                                                                            },
  779.                                                                        ),
  780.                                                                    ],
  781.                                                                    namespace: None,
  782.                                                                    node_ws: None,
  783.                                                                    refs: [],
  784.                                                                },
  785.                                                            ),
  786.                                                        ],
  787.                                                        namespace: None,
  788.                                                        node_ws: None,
  789.                                                        refs: [],
  790.                                                    },
  791.                                                ),
  792.                                                Empty,
  793.                                            ],
  794.                                            namespace: None,
  795.                                            node_ws: None,
  796.                                            refs: [],
  797.                                        },
  798.                                    ),
  799.                                    Empty,
  800.                                ],
  801.                                namespace: None,
  802.                                node_ws: None,
  803.                                refs: [],
  804.                            },
  805.                        ),
  806.                        Element(
  807.                            El {
  808.                                tag: Div,
  809.                                attrs: Attrs {
  810.                                    vals: {
  811.                                        Class: Some(
  812.                                            "ml-3 mt-1",
  813.                                        ),
  814.                                    },
  815.                                },
  816.                                style: Style {
  817.                                    vals: {},
  818.                                },
  819.                                event_handler_manager: EventHandlerManager {
  820.                                    groups: {},
  821.                                },
  822.                                children: [
  823.                                    Element(
  824.                                        El {
  825.                                            tag: Div,
  826.                                            attrs: Attrs {
  827.                                                vals: {},
  828.                                            },
  829.                                            style: Style {
  830.                                                vals: {},
  831.                                            },
  832.                                            event_handler_manager: EventHandlerManager {
  833.                                                groups: {},
  834.                                            },
  835.                                            children: [
  836.                                                Element(
  837.                                                    El {
  838.                                                        tag: A,
  839.                                                        attrs: Attrs {
  840.                                                            vals: {},
  841.                                                        },
  842.                                                        style: Style {
  843.                                                            vals: {},
  844.                                                        },
  845.                                                        event_handler_manager: EventHandlerManager {
  846.                                                            groups: {
  847.                                                                Click: Group {
  848.                                                                    event_handlers: RefCell {
  849.                                                                        value: [
  850.                                                                            EventHandler('click'),
  851.                                                                        ],
  852.                                                                    },
  853.                                                                    listener: None,
  854.                                                                },
  855.                                                            },
  856.                                                        },
  857.                                                        children: [
  858.                                                            Element(
  859.                                                                El {
  860.                                                                    tag: Span,
  861.                                                                    attrs: Attrs {
  862.                                                                        vals: {
  863.                                                                            Class: Some(
  864.                                                                                "mr-1",
  865.                                                                            ),
  866.                                                                        },
  867.                                                                    },
  868.                                                                    style: Style {
  869.                                                                        vals: {},
  870.                                                                    },
  871.                                                                    event_handler_manager: EventHandlerManager {
  872.                                                                        groups: {},
  873.                                                                    },
  874.                                                                    children: [
  875.                                                                        Element(
  876.                                                                            El {
  877.                                                                                tag: Svg,
  878.                                                                                attrs: Attrs {
  879.                                                                                    vals: {
  880.                                                                                        Class: Some(
  881.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  882.                                                                                        ),
  883.                                                                                    },
  884.                                                                                },
  885.                                                                                style: Style {
  886.                                                                                    vals: {},
  887.                                                                                },
  888.                                                                                event_handler_manager: EventHandlerManager {
  889.                                                                                    groups: {},
  890.                                                                                },
  891.                                                                                children: [
  892.                                                                                    Element(
  893.                                                                                        El {
  894.                                                                                            tag: Use,
  895.                                                                                            attrs: Attrs {
  896.                                                                                                vals: {
  897.                                                                                                    Class: Some(
  898.                                                                                                        "pointer-events-none",
  899.                                                                                                    ),
  900.                                                                                                    Href: Some(
  901.                                                                                                        "sprites/solid.svg#check",
  902.                                                                                                    ),
  903.                                                                                                },
  904.                                                                                            },
  905.                                                                                            style: Style {
  906.                                                                                                vals: {},
  907.                                                                                            },
  908.                                                                                            event_handler_manager: EventHandlerManager {
  909.                                                                                                groups: {},
  910.                                                                                            },
  911.                                                                                            children: [],
  912.                                                                                            namespace: Some(
  913.                                                                                                Svg,
  914.                                                                                            ),
  915.                                                                                            node_ws: None,
  916.                                                                                            refs: [],
  917.                                                                                        },
  918.                                                                                    ),
  919.                                                                                ],
  920.                                                                                namespace: Some(
  921.                                                                                    Svg,
  922.                                                                                ),
  923.                                                                                node_ws: None,
  924.                                                                                refs: [],
  925.                                                                            },
  926.                                                                        ),
  927.                                                                    ],
  928.                                                                    namespace: None,
  929.                                                                    node_ws: None,
  930.                                                                    refs: [],
  931.                                                                },
  932.                                                            ),
  933.                                                            Element(
  934.                                                                El {
  935.                                                                    tag: Span,
  936.                                                                    attrs: Attrs {
  937.                                                                        vals: {
  938.                                                                            Class: Some(
  939.                                                                                "cursor-pointer underline",
  940.                                                                            ),
  941.                                                                        },
  942.                                                                    },
  943.                                                                    style: Style {
  944.                                                                        vals: {},
  945.                                                                    },
  946.                                                                    event_handler_manager: EventHandlerManager {
  947.                                                                        groups: {},
  948.                                                                    },
  949.                                                                    children: [
  950.                                                                        Text(
  951.                                                                            Text {
  952.                                                                                text: "Configure Corosync on oss2.local.",
  953.                                                                                node_ws: None,
  954.                                                                            },
  955.                                                                        ),
  956.                                                                    ],
  957.                                                                    namespace: None,
  958.                                                                    node_ws: None,
  959.                                                                    refs: [],
  960.                                                                },
  961.                                                            ),
  962.                                                        ],
  963.                                                        namespace: None,
  964.                                                        node_ws: None,
  965.                                                        refs: [],
  966.                                                    },
  967.                                                ),
  968.                                                Empty,
  969.                                            ],
  970.                                            namespace: None,
  971.                                            node_ws: None,
  972.                                            refs: [],
  973.                                        },
  974.                                    ),
  975.                                    Empty,
  976.                                ],
  977.                                namespace: None,
  978.                                node_ws: None,
  979.                                refs: [],
  980.                            },
  981.                        ),
  982.                        Element(
  983.                            El {
  984.                                tag: Div,
  985.                                attrs: Attrs {
  986.                                    vals: {
  987.                                        Class: Some(
  988.                                            "ml-3 mt-1",
  989.                                        ),
  990.                                    },
  991.                                },
  992.                                style: Style {
  993.                                    vals: {},
  994.                                },
  995.                                event_handler_manager: EventHandlerManager {
  996.                                    groups: {},
  997.                                },
  998.                                children: [
  999.                                    Element(
  1000.                                        El {
  1001.                                            tag: Div,
  1002.                                            attrs: Attrs {
  1003.                                                vals: {},
  1004.                                            },
  1005.                                            style: Style {
  1006.                                                vals: {},
  1007.                                            },
  1008.                                            event_handler_manager: EventHandlerManager {
  1009.                                                groups: {},
  1010.                                            },
  1011.                                            children: [
  1012.                                                Element(
  1013.                                                    El {
  1014.                                                        tag: A,
  1015.                                                        attrs: Attrs {
  1016.                                                            vals: {},
  1017.                                                        },
  1018.                                                        style: Style {
  1019.                                                            vals: {},
  1020.                                                        },
  1021.                                                        event_handler_manager: EventHandlerManager {
  1022.                                                            groups: {
  1023.                                                                Click: Group {
  1024.                                                                    event_handlers: RefCell {
  1025.                                                                        value: [
  1026.                                                                            EventHandler('click'),
  1027.                                                                        ],
  1028.                                                                    },
  1029.                                                                    listener: None,
  1030.                                                                },
  1031.                                                            },
  1032.                                                        },
  1033.                                                        children: [
  1034.                                                            Element(
  1035.                                                                El {
  1036.                                                                    tag: Span,
  1037.                                                                    attrs: Attrs {
  1038.                                                                        vals: {
  1039.                                                                            Class: Some(
  1040.                                                                                "mr-1",
  1041.                                                                            ),
  1042.                                                                        },
  1043.                                                                    },
  1044.                                                                    style: Style {
  1045.                                                                        vals: {},
  1046.                                                                    },
  1047.                                                                    event_handler_manager: EventHandlerManager {
  1048.                                                                        groups: {},
  1049.                                                                    },
  1050.                                                                    children: [
  1051.                                                                        Element(
  1052.                                                                            El {
  1053.                                                                                tag: Svg,
  1054.                                                                                attrs: Attrs {
  1055.                                                                                    vals: {
  1056.                                                                                        Class: Some(
  1057.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  1058.                                                                                        ),
  1059.                                                                                    },
  1060.                                                                                },
  1061.                                                                                style: Style {
  1062.                                                                                    vals: {},
  1063.                                                                                },
  1064.                                                                                event_handler_manager: EventHandlerManager {
  1065.                                                                                    groups: {},
  1066.                                                                                },
  1067.                                                                                children: [
  1068.                                                                                    Element(
  1069.                                                                                        El {
  1070.                                                                                            tag: Use,
  1071.                                                                                            attrs: Attrs {
  1072.                                                                                                vals: {
  1073.                                                                                                    Class: Some(
  1074.                                                                                                        "pointer-events-none",
  1075.                                                                                                    ),
  1076.                                                                                                    Href: Some(
  1077.                                                                                                        "sprites/solid.svg#check",
  1078.                                                                                                    ),
  1079.                                                                                                },
  1080.                                                                                            },
  1081.                                                                                            style: Style {
  1082.                                                                                                vals: {},
  1083.                                                                                            },
  1084.                                                                                            event_handler_manager: EventHandlerManager {
  1085.                                                                                                groups: {},
  1086.                                                                                            },
  1087.                                                                                            children: [],
  1088.                                                                                            namespace: Some(
  1089.                                                                                                Svg,
  1090.                                                                                            ),
  1091.                                                                                            node_ws: None,
  1092.                                                                                            refs: [],
  1093.                                                                                        },
  1094.                                                                                    ),
  1095.                                                                                ],
  1096.                                                                                namespace: Some(
  1097.                                                                                    Svg,
  1098.                                                                                ),
  1099.                                                                                node_ws: None,
  1100.                                                                                refs: [],
  1101.                                                                            },
  1102.                                                                        ),
  1103.                                                                    ],
  1104.                                                                    namespace: None,
  1105.                                                                    node_ws: None,
  1106.                                                                    refs: [],
  1107.                                                                },
  1108.                                                            ),
  1109.                                                            Element(
  1110.                                                                El {
  1111.                                                                    tag: Span,
  1112.                                                                    attrs: Attrs {
  1113.                                                                        vals: {
  1114.                                                                            Class: Some(
  1115.                                                                                "cursor-pointer underline",
  1116.                                                                            ),
  1117.                                                                        },
  1118.                                                                    },
  1119.                                                                    style: Style {
  1120.                                                                        vals: {},
  1121.                                                                    },
  1122.                                                                    event_handler_manager: EventHandlerManager {
  1123.                                                                        groups: {},
  1124.                                                                    },
  1125.                                                                    children: [
  1126.                                                                        Text(
  1127.                                                                            Text {
  1128.                                                                                text: "Start the LNet networking layer.",
  1129.                                                                                node_ws: None,
  1130.                                                                            },
  1131.                                                                        ),
  1132.                                                                    ],
  1133.                                                                    namespace: None,
  1134.                                                                    node_ws: None,
  1135.                                                                    refs: [],
  1136.                                                                },
  1137.                                                            ),
  1138.                                                        ],
  1139.                                                        namespace: None,
  1140.                                                        node_ws: None,
  1141.                                                        refs: [],
  1142.                                                    },
  1143.                                                ),
  1144.                                                Empty,
  1145.                                            ],
  1146.                                            namespace: None,
  1147.                                            node_ws: None,
  1148.                                            refs: [],
  1149.                                        },
  1150.                                    ),
  1151.                                    Element(
  1152.                                        El {
  1153.                                            tag: Div,
  1154.                                            attrs: Attrs {
  1155.                                                vals: {
  1156.                                                    Class: Some(
  1157.                                                        "ml-3 mt-1",
  1158.                                                    ),
  1159.                                                },
  1160.                                            },
  1161.                                            style: Style {
  1162.                                                vals: {},
  1163.                                            },
  1164.                                            event_handler_manager: EventHandlerManager {
  1165.                                                groups: {},
  1166.                                            },
  1167.                                            children: [
  1168.                                                Element(
  1169.                                                    El {
  1170.                                                        tag: Div,
  1171.                                                        attrs: Attrs {
  1172.                                                            vals: {},
  1173.                                                        },
  1174.                                                        style: Style {
  1175.                                                            vals: {},
  1176.                                                        },
  1177.                                                        event_handler_manager: EventHandlerManager {
  1178.                                                            groups: {},
  1179.                                                        },
  1180.                                                        children: [
  1181.                                                            Element(
  1182.                                                                El {
  1183.                                                                    tag: A,
  1184.                                                                    attrs: Attrs {
  1185.                                                                        vals: {},
  1186.                                                                    },
  1187.                                                                    style: Style {
  1188.                                                                        vals: {},
  1189.                                                                    },
  1190.                                                                    event_handler_manager: EventHandlerManager {
  1191.                                                                        groups: {
  1192.                                                                            Click: Group {
  1193.                                                                                event_handlers: RefCell {
  1194.                                                                                    value: [
  1195.                                                                                        EventHandler('click'),
  1196.                                                                                    ],
  1197.                                                                                },
  1198.                                                                                listener: None,
  1199.                                                                            },
  1200.                                                                        },
  1201.                                                                    },
  1202.                                                                    children: [
  1203.                                                                        Element(
  1204.                                                                            El {
  1205.                                                                                tag: Span,
  1206.                                                                                attrs: Attrs {
  1207.                                                                                    vals: {
  1208.                                                                                        Class: Some(
  1209.                                                                                            "mr-1",
  1210.                                                                                        ),
  1211.                                                                                    },
  1212.                                                                                },
  1213.                                                                                style: Style {
  1214.                                                                                    vals: {},
  1215.                                                                                },
  1216.                                                                                event_handler_manager: EventHandlerManager {
  1217.                                                                                    groups: {},
  1218.                                                                                },
  1219.                                                                                children: [
  1220.                                                                                    Element(
  1221.                                                                                        El {
  1222.                                                                                            tag: Svg,
  1223.                                                                                            attrs: Attrs {
  1224.                                                                                                vals: {
  1225.                                                                                                    Class: Some(
  1226.                                                                                                        "fill-current fill-current w-4 h-4 inline text-green-500",
  1227.                                                                                                    ),
  1228.                                                                                                },
  1229.                                                                                            },
  1230.                                                                                            style: Style {
  1231.                                                                                                vals: {},
  1232.                                                                                            },
  1233.                                                                                            event_handler_manager: EventHandlerManager {
  1234.                                                                                                groups: {},
  1235.                                                                                            },
  1236.                                                                                            children: [
  1237.                                                                                                Element(
  1238.                                                                                                    El {
  1239.                                                                                                        tag: Use,
  1240.                                                                                                        attrs: Attrs {
  1241.                                                                                                            vals: {
  1242.                                                                                                                Class: Some(
  1243.                                                                                                                    "pointer-events-none",
  1244.                                                                                                                ),
  1245.                                                                                                                Href: Some(
  1246.                                                                                                                    "sprites/solid.svg#check",
  1247.                                                                                                                ),
  1248.                                                                                                            },
  1249.                                                                                                        },
  1250.                                                                                                        style: Style {
  1251.                                                                                                            vals: {},
  1252.                                                                                                        },
  1253.                                                                                                        event_handler_manager: EventHandlerManager {
  1254.                                                                                                            groups: {},
  1255.                                                                                                        },
  1256.                                                                                                        children: [],
  1257.                                                                                                        namespace: Some(
  1258.                                                                                                            Svg,
  1259.                                                                                                        ),
  1260.                                                                                                        node_ws: None,
  1261.                                                                                                        refs: [],
  1262.                                                                                                    },
  1263.                                                                                                ),
  1264.                                                                                            ],
  1265.                                                                                            namespace: Some(
  1266.                                                                                                Svg,
  1267.                                                                                            ),
  1268.                                                                                            node_ws: None,
  1269.                                                                                            refs: [],
  1270.                                                                                        },
  1271.                                                                                    ),
  1272.                                                                                ],
  1273.                                                                                namespace: None,
  1274.                                                                                node_ws: None,
  1275.                                                                                refs: [],
  1276.                                                                            },
  1277.                                                                        ),
  1278.                                                                        Element(
  1279.                                                                            El {
  1280.                                                                                tag: Span,
  1281.                                                                                attrs: Attrs {
  1282.                                                                                    vals: {
  1283.                                                                                        Class: Some(
  1284.                                                                                            "cursor-pointer underline",
  1285.                                                                                        ),
  1286.                                                                                    },
  1287.                                                                                },
  1288.                                                                                style: Style {
  1289.                                                                                    vals: {},
  1290.                                                                                },
  1291.                                                                                event_handler_manager: EventHandlerManager {
  1292.                                                                                    groups: {},
  1293.                                                                                },
  1294.                                                                                children: [
  1295.                                                                                    Text(
  1296.                                                                                        Text {
  1297.                                                                                            text: "Load the LNet kernel modules.",
  1298.                                                                                            node_ws: None,
  1299.                                                                                        },
  1300.                                                                                    ),
  1301.                                                                                ],
  1302.                                                                                namespace: None,
  1303.                                                                                node_ws: None,
  1304.                                                                                refs: [],
  1305.                                                                            },
  1306.                                                                        ),
  1307.                                                                    ],
  1308.                                                                    namespace: None,
  1309.                                                                    node_ws: None,
  1310.                                                                    refs: [],
  1311.                                                                },
  1312.                                                            ),
  1313.                                                            Empty,
  1314.                                                        ],
  1315.                                                        namespace: None,
  1316.                                                        node_ws: None,
  1317.                                                        refs: [],
  1318.                                                    },
  1319.                                                ),
  1320.                                                Empty,
  1321.                                            ],
  1322.                                            namespace: None,
  1323.                                            node_ws: None,
  1324.                                            refs: [],
  1325.                                        },
  1326.                                    ),
  1327.                                ],
  1328.                                namespace: None,
  1329.                                node_ws: None,
  1330.                                refs: [],
  1331.                            },
  1332.                        ),
  1333.                        Element(
  1334.                            El {
  1335.                                tag: Div,
  1336.                                attrs: Attrs {
  1337.                                    vals: {
  1338.                                        Class: Some(
  1339.                                            "ml-3 mt-1",
  1340.                                        ),
  1341.                                    },
  1342.                                },
  1343.                                style: Style {
  1344.                                    vals: {},
  1345.                                },
  1346.                                event_handler_manager: EventHandlerManager {
  1347.                                    groups: {},
  1348.                                },
  1349.                                children: [
  1350.                                    Element(
  1351.                                        El {
  1352.                                            tag: Div,
  1353.                                            attrs: Attrs {
  1354.                                                vals: {},
  1355.                                            },
  1356.                                            style: Style {
  1357.                                                vals: {},
  1358.                                            },
  1359.                                            event_handler_manager: EventHandlerManager {
  1360.                                                groups: {},
  1361.                                            },
  1362.                                            children: [
  1363.                                                Element(
  1364.                                                    El {
  1365.                                                        tag: A,
  1366.                                                        attrs: Attrs {
  1367.                                                            vals: {},
  1368.                                                        },
  1369.                                                        style: Style {
  1370.                                                            vals: {},
  1371.                                                        },
  1372.                                                        event_handler_manager: EventHandlerManager {
  1373.                                                            groups: {
  1374.                                                                Click: Group {
  1375.                                                                    event_handlers: RefCell {
  1376.                                                                        value: [
  1377.                                                                            EventHandler('click'),
  1378.                                                                        ],
  1379.                                                                    },
  1380.                                                                    listener: None,
  1381.                                                                },
  1382.                                                            },
  1383.                                                        },
  1384.                                                        children: [
  1385.                                                            Element(
  1386.                                                                El {
  1387.                                                                    tag: Span,
  1388.                                                                    attrs: Attrs {
  1389.                                                                        vals: {
  1390.                                                                            Class: Some(
  1391.                                                                                "mr-1",
  1392.                                                                            ),
  1393.                                                                        },
  1394.                                                                    },
  1395.                                                                    style: Style {
  1396.                                                                        vals: {},
  1397.                                                                    },
  1398.                                                                    event_handler_manager: EventHandlerManager {
  1399.                                                                        groups: {},
  1400.                                                                    },
  1401.                                                                    children: [
  1402.                                                                        Element(
  1403.                                                                            El {
  1404.                                                                                tag: Svg,
  1405.                                                                                attrs: Attrs {
  1406.                                                                                    vals: {
  1407.                                                                                        Class: Some(
  1408.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  1409.                                                                                        ),
  1410.                                                                                    },
  1411.                                                                                },
  1412.                                                                                style: Style {
  1413.                                                                                    vals: {},
  1414.                                                                                },
  1415.                                                                                event_handler_manager: EventHandlerManager {
  1416.                                                                                    groups: {},
  1417.                                                                                },
  1418.                                                                                children: [
  1419.                                                                                    Element(
  1420.                                                                                        El {
  1421.                                                                                            tag: Use,
  1422.                                                                                            attrs: Attrs {
  1423.                                                                                                vals: {
  1424.                                                                                                    Class: Some(
  1425.                                                                                                        "pointer-events-none",
  1426.                                                                                                    ),
  1427.                                                                                                    Href: Some(
  1428.                                                                                                        "sprites/solid.svg#check",
  1429.                                                                                                    ),
  1430.                                                                                                },
  1431.                                                                                            },
  1432.                                                                                            style: Style {
  1433.                                                                                                vals: {},
  1434.                                                                                            },
  1435.                                                                                            event_handler_manager: EventHandlerManager {
  1436.                                                                                                groups: {},
  1437.                                                                                            },
  1438.                                                                                            children: [],
  1439.                                                                                            namespace: Some(
  1440.                                                                                                Svg,
  1441.                                                                                            ),
  1442.                                                                                            node_ws: None,
  1443.                                                                                            refs: [],
  1444.                                                                                        },
  1445.                                                                                    ),
  1446.                                                                                ],
  1447.                                                                                namespace: Some(
  1448.                                                                                    Svg,
  1449.                                                                                ),
  1450.                                                                                node_ws: None,
  1451.                                                                                refs: [],
  1452.                                                                            },
  1453.                                                                        ),
  1454.                                                                    ],
  1455.                                                                    namespace: None,
  1456.                                                                    node_ws: None,
  1457.                                                                    refs: [],
  1458.                                                                },
  1459.                                                            ),
  1460.                                                            Element(
  1461.                                                                El {
  1462.                                                                    tag: Span,
  1463.                                                                    attrs: Attrs {
  1464.                                                                        vals: {
  1465.                                                                            Class: Some(
  1466.                                                                                "cursor-pointer underline",
  1467.                                                                            ),
  1468.                                                                        },
  1469.                                                                    },
  1470.                                                                    style: Style {
  1471.                                                                        vals: {},
  1472.                                                                    },
  1473.                                                                    event_handler_manager: EventHandlerManager {
  1474.                                                                        groups: {},
  1475.                                                                    },
  1476.                                                                    children: [
  1477.                                                                        Text(
  1478.                                                                            Text {
  1479.                                                                                text: "Configure Pacemaker on oss2.local.",
  1480.                                                                                node_ws: None,
  1481.                                                                            },
  1482.                                                                        ),
  1483.                                                                    ],
  1484.                                                                    namespace: None,
  1485.                                                                    node_ws: None,
  1486.                                                                    refs: [],
  1487.                                                                },
  1488.                                                            ),
  1489.                                                        ],
  1490.                                                        namespace: None,
  1491.                                                        node_ws: None,
  1492.                                                        refs: [],
  1493.                                                    },
  1494.                                                ),
  1495.                                                Empty,
  1496.                                            ],
  1497.                                            namespace: None,
  1498.                                            node_ws: None,
  1499.                                            refs: [],
  1500.                                        },
  1501.                                    ),
  1502.                                    Empty,
  1503.                                    Element(
  1504.                                        El {
  1505.                                            tag: Div,
  1506.                                            attrs: Attrs {
  1507.                                                vals: {
  1508.                                                    Class: Some(
  1509.                                                        "ml-3 mt-1",
  1510.                                                    ),
  1511.                                                },
  1512.                                            },
  1513.                                            style: Style {
  1514.                                                vals: {},
  1515.                                            },
  1516.                                            event_handler_manager: EventHandlerManager {
  1517.                                                groups: {},
  1518.                                            },
  1519.                                            children: [
  1520.                                                Element(
  1521.                                                    El {
  1522.                                                        tag: Div,
  1523.                                                        attrs: Attrs {
  1524.                                                            vals: {},
  1525.                                                        },
  1526.                                                        style: Style {
  1527.                                                            vals: {},
  1528.                                                        },
  1529.                                                        event_handler_manager: EventHandlerManager {
  1530.                                                            groups: {},
  1531.                                                        },
  1532.                                                        children: [
  1533.                                                            Element(
  1534.                                                                El {
  1535.                                                                    tag: A,
  1536.                                                                    attrs: Attrs {
  1537.                                                                        vals: {},
  1538.                                                                    },
  1539.                                                                    style: Style {
  1540.                                                                        vals: {},
  1541.                                                                    },
  1542.                                                                    event_handler_manager: EventHandlerManager {
  1543.                                                                        groups: {
  1544.                                                                            Click: Group {
  1545.                                                                                event_handlers: RefCell {
  1546.                                                                                    value: [
  1547.                                                                                        EventHandler('click'),
  1548.                                                                                    ],
  1549.                                                                                },
  1550.                                                                                listener: None,
  1551.                                                                            },
  1552.                                                                        },
  1553.                                                                    },
  1554.                                                                    children: [
  1555.                                                                        Element(
  1556.                                                                            El {
  1557.                                                                                tag: Span,
  1558.                                                                                attrs: Attrs {
  1559.                                                                                    vals: {
  1560.                                                                                        Class: Some(
  1561.                                                                                            "mr-1",
  1562.                                                                                        ),
  1563.                                                                                    },
  1564.                                                                                },
  1565.                                                                                style: Style {
  1566.                                                                                    vals: {},
  1567.                                                                                },
  1568.                                                                                event_handler_manager: EventHandlerManager {
  1569.                                                                                    groups: {},
  1570.                                                                                },
  1571.                                                                                children: [
  1572.                                                                                    Element(
  1573.                                                                                        El {
  1574.                                                                                            tag: Svg,
  1575.                                                                                            attrs: Attrs {
  1576.                                                                                                vals: {
  1577.                                                                                                    Class: Some(
  1578.                                                                                                        "fill-current fill-current w-4 h-4 inline text-green-500",
  1579.                                                                                                    ),
  1580.                                                                                                },
  1581.                                                                                            },
  1582.                                                                                            style: Style {
  1583.                                                                                                vals: {},
  1584.                                                                                            },
  1585.                                                                                            event_handler_manager: EventHandlerManager {
  1586.                                                                                                groups: {},
  1587.                                                                                            },
  1588.                                                                                            children: [
  1589.                                                                                                Element(
  1590.                                                                                                    El {
  1591.                                                                                                        tag: Use,
  1592.                                                                                                        attrs: Attrs {
  1593.                                                                                                            vals: {
  1594.                                                                                                                Class: Some(
  1595.                                                                                                                    "pointer-events-none",
  1596.                                                                                                                ),
  1597.                                                                                                                Href: Some(
  1598.                                                                                                                    "sprites/solid.svg#check",
  1599.                                                                                                                ),
  1600.                                                                                                            },
  1601.                                                                                                        },
  1602.                                                                                                        style: Style {
  1603.                                                                                                            vals: {},
  1604.                                                                                                        },
  1605.                                                                                                        event_handler_manager: EventHandlerManager {
  1606.                                                                                                            groups: {},
  1607.                                                                                                        },
  1608.                                                                                                        children: [],
  1609.                                                                                                        namespace: Some(
  1610.                                                                                                            Svg,
  1611.                                                                                                        ),
  1612.                                                                                                        node_ws: None,
  1613.                                                                                                        refs: [],
  1614.                                                                                                    },
  1615.                                                                                                ),
  1616.                                                                                            ],
  1617.                                                                                            namespace: Some(
  1618.                                                                                                Svg,
  1619.                                                                                            ),
  1620.                                                                                            node_ws: None,
  1621.                                                                                            refs: [],
  1622.                                                                                        },
  1623.                                                                                    ),
  1624.                                                                                ],
  1625.                                                                                namespace: None,
  1626.                                                                                node_ws: None,
  1627.                                                                                refs: [],
  1628.                                                                            },
  1629.                                                                        ),
  1630.                                                                        Element(
  1631.                                                                            El {
  1632.                                                                                tag: Span,
  1633.                                                                                attrs: Attrs {
  1634.                                                                                    vals: {
  1635.                                                                                        Class: Some(
  1636.                                                                                            "cursor-pointer underline",
  1637.                                                                                        ),
  1638.                                                                                    },
  1639.                                                                                },
  1640.                                                                                style: Style {
  1641.                                                                                    vals: {},
  1642.                                                                                },
  1643.                                                                                event_handler_manager: EventHandlerManager {
  1644.                                                                                    groups: {},
  1645.                                                                                },
  1646.                                                                                children: [
  1647.                                                                                    Text(
  1648.                                                                                        Text {
  1649.                                                                                            text: "Start Corosync on oss2.local",
  1650.                                                                                            node_ws: None,
  1651.                                                                                        },
  1652.                                                                                    ),
  1653.                                                                                ],
  1654.                                                                                namespace: None,
  1655.                                                                                node_ws: None,
  1656.                                                                                refs: [],
  1657.                                                                            },
  1658.                                                                        ),
  1659.                                                                    ],
  1660.                                                                    namespace: None,
  1661.                                                                    node_ws: None,
  1662.                                                                    refs: [],
  1663.                                                                },
  1664.                                                            ),
  1665.                                                            Empty,
  1666.                                                        ],
  1667.                                                        namespace: None,
  1668.                                                        node_ws: None,
  1669.                                                        refs: [],
  1670.                                                    },
  1671.                                                ),
  1672.                                                Empty,
  1673.                                            ],
  1674.                                            namespace: None,
  1675.                                            node_ws: None,
  1676.                                            refs: [],
  1677.                                        },
  1678.                                    ),
  1679.                                ],
  1680.                                namespace: None,
  1681.                                node_ws: None,
  1682.                                refs: [],
  1683.                            },
  1684.                        ),
  1685.                        Element(
  1686.                            El {
  1687.                                tag: Div,
  1688.                                attrs: Attrs {
  1689.                                    vals: {
  1690.                                        Class: Some(
  1691.                                            "ml-3 mt-1",
  1692.                                        ),
  1693.                                    },
  1694.                                },
  1695.                                style: Style {
  1696.                                    vals: {},
  1697.                                },
  1698.                                event_handler_manager: EventHandlerManager {
  1699.                                    groups: {},
  1700.                                },
  1701.                                children: [
  1702.                                    Element(
  1703.                                        El {
  1704.                                            tag: Div,
  1705.                                            attrs: Attrs {
  1706.                                                vals: {},
  1707.                                            },
  1708.                                            style: Style {
  1709.                                                vals: {},
  1710.                                            },
  1711.                                            event_handler_manager: EventHandlerManager {
  1712.                                                groups: {},
  1713.                                            },
  1714.                                            children: [
  1715.                                                Element(
  1716.                                                    El {
  1717.                                                        tag: A,
  1718.                                                        attrs: Attrs {
  1719.                                                            vals: {},
  1720.                                                        },
  1721.                                                        style: Style {
  1722.                                                            vals: {},
  1723.                                                        },
  1724.                                                        event_handler_manager: EventHandlerManager {
  1725.                                                            groups: {
  1726.                                                                Click: Group {
  1727.                                                                    event_handlers: RefCell {
  1728.                                                                        value: [
  1729.                                                                            EventHandler('click'),
  1730.                                                                        ],
  1731.                                                                    },
  1732.                                                                    listener: None,
  1733.                                                                },
  1734.                                                            },
  1735.                                                        },
  1736.                                                        children: [
  1737.                                                            Element(
  1738.                                                                El {
  1739.                                                                    tag: Span,
  1740.                                                                    attrs: Attrs {
  1741.                                                                        vals: {
  1742.                                                                            Class: Some(
  1743.                                                                                "mr-1",
  1744.                                                                            ),
  1745.                                                                        },
  1746.                                                                    },
  1747.                                                                    style: Style {
  1748.                                                                        vals: {},
  1749.                                                                    },
  1750.                                                                    event_handler_manager: EventHandlerManager {
  1751.                                                                        groups: {},
  1752.                                                                    },
  1753.                                                                    children: [
  1754.                                                                        Element(
  1755.                                                                            El {
  1756.                                                                                tag: Svg,
  1757.                                                                                attrs: Attrs {
  1758.                                                                                    vals: {
  1759.                                                                                        Class: Some(
  1760.                                                                                            "fill-current fill-current w-4 h-4 inline text-green-500",
  1761.                                                                                        ),
  1762.                                                                                    },
  1763.                                                                                },
  1764.                                                                                style: Style {
  1765.                                                                                    vals: {},
  1766.                                                                                },
  1767.                                                                                event_handler_manager: EventHandlerManager {
  1768.                                                                                    groups: {},
  1769.                                                                                },
  1770.                                                                                children: [
  1771.                                                                                    Element(
  1772.                                                                                        El {
  1773.                                                                                            tag: Use,
  1774.                                                                                            attrs: Attrs {
  1775.                                                                                                vals: {
  1776.                                                                                                    Class: Some(
  1777.                                                                                                        "pointer-events-none",
  1778.                                                                                                    ),
  1779.                                                                                                    Href: Some(
  1780.                                                                                                        "sprites/solid.svg#check",
  1781.                                                                                                    ),
  1782.                                                                                                },
  1783.                                                                                            },
  1784.                                                                                            style: Style {
  1785.                                                                                                vals: {},
  1786.                                                                                            },
  1787.                                                                                            event_handler_manager: EventHandlerManager {
  1788.                                                                                                groups: {},
  1789.                                                                                            },
  1790.                                                                                            children: [],
  1791.                                                                                            namespace: Some(
  1792.                                                                                                Svg,
  1793.                                                                                            ),
  1794.                                                                                            node_ws: None,
  1795.                                                                                            refs: [],
  1796.                                                                                        },
  1797.                                                                                    ),
  1798.                                                                                ],
  1799.                                                                                namespace: Some(
  1800.                                                                                    Svg,
  1801.                                                                                ),
  1802.                                                                                node_ws: None,
  1803.                                                                                refs: [],
  1804.                                                                            },
  1805.                                                                        ),
  1806.                                                                    ],
  1807.                                                                    namespace: None,
  1808.                                                                    node_ws: None,
  1809.                                                                    refs: [],
  1810.                                                                },
  1811.                                                            ),
  1812.                                                            Element(
  1813.                                                                El {
  1814.                                                                    tag: Span,
  1815.                                                                    attrs: Attrs {
  1816.                                                                        vals: {
  1817.                                                                            Class: Some(
  1818.                                                                                "cursor-pointer underline",
  1819.                                                                            ),
  1820.                                                                        },
  1821.                                                                    },
  1822.                                                                    style: Style {
  1823.                                                                        vals: {},
  1824.                                                                    },
  1825.                                                                    event_handler_manager: EventHandlerManager {
  1826.                                                                        groups: {},
  1827.                                                                    },
  1828.                                                                    children: [
  1829.                                                                        Text(
  1830.                                                                            Text {
  1831.                                                                                text: "Start Pacemaker on oss2.local.",
  1832.                                                                                node_ws: None,
  1833.                                                                            },
  1834.                                                                        ),
  1835.                                                                    ],
  1836.                                                                    namespace: None,
  1837.                                                                    node_ws: None,
  1838.                                                                    refs: [],
  1839.                                                                },
  1840.                                                            ),
  1841.                                                        ],
  1842.                                                        namespace: None,
  1843.                                                        node_ws: None,
  1844.                                                        refs: [],
  1845.                                                    },
  1846.                                                ),
  1847.                                                Empty,
  1848.                                            ],
  1849.                                            namespace: None,
  1850.                                            node_ws: None,
  1851.                                            refs: [],
  1852.                                        },
  1853.                                    ),
  1854.                                    Empty,
  1855.                                    Empty,
  1856.                                ],
  1857.                                namespace: None,
  1858.                                node_ws: None,
  1859.                                refs: [],
  1860.                            },
  1861.                        ),
  1862.                    ],
  1863.                    namespace: None,
  1864.                    node_ws: None,
  1865.                    refs: [],
  1866.                },
  1867.            ),
  1868.        ],
  1869.        namespace: None,
  1870.        node_ws: None,
  1871.        refs: [],
  1872.    },
  1873. )"#;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement