public HostMultipathInfoLogicalUnitPolicy createMultipathPolicy(String name){
  if (StringUtils.equalsIgnoreCase(name,VMW_PSP_FIXED)) {
    HostMultipathInfoFixedLogicalUnitPolicy policy=new HostMultipathInfoFixedLogicalUnitPolicy();
    policy.setPolicy(name);
    policy.setPrefer("");
    return policy;
  }
 else {
    HostMultipathInfoLogicalUnitPolicy policy=new HostMultipathInfoLogicalUnitPolicy();
    policy.setPolicy(name);
    return policy;
  }
}

public HostMultipathInfoLogicalUnitPolicy createMultipathPolicy ( String name ) { if ( StringUtils . equalsIgnoreCase ( name , VMW_PSP_FIXED ) ) { HostMultipathInfoFixedLogicalUnitPolicy policy = new HostMultipathInfoFixedLogicalUnitPolicy ( ) ; policy . setPolicy ( name ) ; policy . setPrefer ( "" ) ; return policy ; } else { HostMultipathInfoLogicalUnitPolicy policy = new HostMultipathInfoLogicalUnitPolicy ( ) ; policy . setPolicy ( name ) ; return policy ; } }
create a multipath policy based on the passed policy name
