Mark appropriate IP's in use on subnet creation.

Change-Id: Ie24655522d658e03f1be6b703478fc4765054ad4
JIRA: OPS-5195
Merge pull request #1 from rgreget/master

Mark appropriate IP's in use on subnet creation.
Setting test RAILS_ENV to 'test'

Change-Id: Ie290112b153385075085c8b18ba823939cb91140
Merge pull request #2 from rgreget/master

Setting testing RAILS_ENV to 'test'
Fix for new subnet IP state.

Active needs an explicit .save on every modified reccord.

Change-Id: Ib46848ed83c7b1b0d8e94c66927b86ce63a186e1
JIRA: OPS-5195
Merge pull request #3 from rgreget/master

Active needs an explicit .save on every modified reccord.
Adding unit tests for subnet creation.

Change-Id: I2cee8f06968965e1b94ee745b6d82dc925ae0992
JIRA: OPS-5195
Merge pull request #4 from rgreget/master

Adding unit tests for subnet creation.