proc ConfigIpv4GatewayIpOverlayNgpf { ipv4GatewayIpObj count index indexStep valueStep value } { # Example: Each of the below uses the same Ipv4 Object. # #-step 0.0.0.0 #-start 1.1.1.4 #-direction increment # #-count 1 #-index 2 #-indexStep 0 #-valueStep 1.1.1.5 #-value 1.1.1.5 # #-count 1 #-index 3 #-indexStep 0 #-valueStep 1.1.1.6 #-value 1.1.1.6 puts "\nConfigIpv4GatewayIpOverlayNgpf: $ipv4GatewayIpObj : count=$count index=$index indexStep=$indexStep value=$value valueStep=$valueStep " set ipv4GatewayOverlayObj [ixNet add $ipv4GatewayIpObj "overlay"] ixNet setMultiAttribute $ipv4GatewayOverlayObj \ -count $count \ -index $index \ -indexStep $indexStep \ -valueStep $valueStep \ -value $value ixNet commit return [lindex [ixNet remapIds $ipv4GatewayOverlayObj] 0] }