If you want to copy RAPIDS rules from one AMP to another, you first dump the rules from the one AMP and then use the rapids_classification_rule script generated by the dump to restore them onto the target AMP.- You use the generic_dump command to dump one or all RAPIDS classification rules. - RAPIDS rules reside in the rapids_classification_rule table. - You can dump all the rules using the --all flag.- You can dump one particular rule using the --id flag followed by the rule's ID number - See instructions below for obtaining a rule's ID number.The dump will be written to /tmp/rapids_classification_rule. The resulting file is actually a perl script that you will use to restore the RAPIDS rule(s) you dumped.General usage:# generic_dump --table <table> [ --id <rule_ID> | --all]Examples:# generic_dump --table rapids_classification_rule --alloutput file is /tmp/rapids_classification_rule# generic_dump --table rapids_classification_rule --id 1output file is /tmp/rapids_classification_rule(NOTE: the --all flag does not work with all tables, so it is not included in the command's usage help.)Copy the rapids_classification_rule file you created to the AMP where you want to restore the rule(s). (We recommend that you copy it to the /var/airwave/custom directory.) The file is a perl script that you run as follows:# perl /var/airwave/custom/rapids_classification_ruleNOTE: The script will not replace nor overwrite existing rules. - Restored rules will be added to any rules already existing on the server. - If you restore a rule that has the same name as a rule already on the server--whether the rule is different or identical-- both rules will appear.To obtain the ID number of a RAPIDS rule:- Go to the RAPIDS > Rules page- Find the rule that you want the ID for- Hover the mouse over the pencil icon next to the rule- At the bottom of the browser window you should see the corresponding URL- At the end of the URL you will see ....&id=[ID]. Example:. https://my.amp.com/nf/rapids_rules?edit=1&id=6. The rule ID in this case is 6.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.