<def-group>
  <definition class="compliance"
  id="network_ipv6_static_address" version="1">
    <metadata>
      <title>Manually Assign Global IPv6 Address</title>
      <affected family="unix">
        <platform>Red Hat Enterprise Linux 6</platform>
      </affected>
      <description>Manually configure addresses for IPv6</description>
    </metadata>
    <criteria operator="OR">
      <extend_definition comment="IPv6 disabled or..."
      definition_ref="kernel_module_ipv6_option_disabled" />
      <criterion comment="Set static IPv6 address on each interface" 
      test_ref="test_network_ipv6_static_address" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all"
  check_existence="all_exist" comment="Set static IPv6 address on each interface"
  id="test_network_ipv6_static_address" version="1">
    <ind:object object_ref="obj_network_ipv6_static_address" />
  </ind:textfilecontent54_test>

  <ind:textfilecontent54_object comment="Set static IPv6 address on each interface"
  id="obj_network_ipv6_static_address" version="1">
    <ind:path>/etc/sysconfig/network-scripts</ind:path>
    <ind:filename operation="pattern match">ifcfg-.*</ind:filename>
    <ind:pattern operation="pattern match">^IPV6ADDR=.+$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
