Home > Cloud Cruiser 3 > Batch XML Reference > VMware collectors > VCloudNetSecFeedConfig

VCloudNetSecFeedConfig

New in version 3.3.0. Data feed configuration for the VCloudNetSecCollector. For more information on the inputs and outputs properties, including example XML code, see Input and output fields.

Class

com.cloudcruiser.batch.collect.VCloudNetSecFeedConfig

Properties

Name Type Description
component​​ string The component types to collect. In this release, you must set this to Edge. In future releases, the vCloud Networking and Security Collector might be enhanced to collect other component types.
instances string

The Edge instances about which to collect data. Specify a comma-delimited list of Edge IDs or, to collect for all instances, specify *. For example, edge-68,edge-73,edge-75.

subFeedConfigs list A list of child VCloudNetSecFeedConfig feed configurations mapping data from Edge subcomponents such as firewall rules and network interfaces to Cloud Cruiser resources
subUrl string Additional string to append to the REST API URL for an Edge to retrieve data for a subcomponent of that Edge. Used only when this feed configuration is in a list of subFeedConfigs.
xpathOutputs​​ list A list of XPathOutputMappings of data to Cloud Cruiser outputs. At the Edge instance level, this data becomes identifiers with the exception of the number of deployed VMs, which becomes a resource. At the subfeed level, the data maps a resource.

Spring Batch XML example

<bean id="feedConfig" class="com.cloudcruiser.batch.collect.vmware.vcloudnetsec.VCloudNetSecFeedConfig">
  <property name="component" value="Edge" />  
  <property name="instances" value="*"/> 
  <property name="xpathOutputs">
    <list>
      <bean class="com.cloudcruiser.batch.collect.XPathOutputMapping">
        <property name="xpathExpression" value="//pagedEdgeList/edgePage/edgeSummary" />
        <property name="outputs">
          <list>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="input" value="name" />
              <property name="label" value="EdgeName" />
            </bean>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="input" value="id" />
              <property name="label" value="EdgeId" />
            </bean>
            ...
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="RESOURCE" />
              <property name="input" value="appliancesSummary.numberOfDeployedVms" />
              <property name="label" value="DeployedVm" />
              <property name="labelPrefix" value="vmware.vcloudnetsec.edge." />
            </bean>    
          </list>
        </property>
      </bean>
    </list>
  </property>
  <property name="subFeedConfigs">
    <list>
      <!-- count of firewall rules -->
      <bean class="com.cloudcruiser.batch.collect.vmware.vcloudnetsec.VCloudNetSecFeedConfig">
        <property name="subUrl" value="/firewall/config" />  
        <property name="xpathOutputs">
          <list>
            <bean class="com.cloudcruiser.batch.collect.XPathOutputMapping">
              <property name="xpathExpression" value="//firewall/firewallRules/firewallRule" />
              <property name="outputs">
                <list>
                  <bean class="com.cloudcruiser.batch.collect.OutputField">
                    <property name="cctype" value="RESOURCE"/>
                    <property name="label" value="FirewallRule"/>
                    <property name="value" value="1.0"/>
                    <property name="required" value="true" />
                    <property name="labelPrefix" value="vmware.vcloudnetsec.edge." />
                  </bean>
                </list>
              </property>
            </bean>
          </list>
        </property>
      </bean>  <!-- firewall rules -->
      ...
    </list>
  </property>  <!-- subFeedConfigs -->
</bean>
Last modified

Tags

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP