Two steps are needed to configure the plugin to work:
Pineapple includes a prefabricated version of this example in the default configuration. The example is named infrastructure-test-002-reverse-dns-resolution-localhost. The default configuration is created by starting Pineapple. The default configuration will also create the required resource in the local environment which is used to execute the test operation on the model.
Open the model file for the target environment and add the test case:
<?xml version="1.0" encoding="UTF-8"?> <mmd:models xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:mmd="http://pineapple.dev.java.net/ns/module_model_1_0" xmlns:ifp="http://pineapple.dev.java.net/ns/plugin/infrastructure_1_0" > <mmd:model target-resource="infrastructure-test"> <mmd:content> <itp:infrastructure> <itp:dns-reverse-resolution-test host="garuda" ip="10.20.30.1" description="10.20.30.1 resolves to garuda" /> </itp:infrastructure> </mmd:content> </mmd:model> </mmd:models>