Posted inNifi
NiFi Groovy Script to Find 1st and Last IPs in Subnet
Takes a subnet cidr from a flowfile attribute called subnetCidr as shown below and returns the first and last usable IP addresses as attributes Add the below code into the script…