Comment 1 for bug 1276750

Revision history for this message
Praveen (praveen-karadakal) wrote :

When subnet is crated with following command,
quantum subnet-create 1a151cc5-dd75-4b6c-a256-5f608843dc83 192.168.0/24

It is observed that agent gets configuration as 192.168.0/24. Agent fails in parsing this address.
API server should validate the address and set the right value in configuration.

Snapshot of configuration in agent:

  type:virtual-network-network-ipam
   name:attr(default-domain:admin:vn3,default-domain:default-project:default-network-ipam)

   value
    ipam-subnets
     subnet
      ip-prefix:192.168.0

      ip-prefix-len:24

     default-gateway:192.168.0.254

Adjacencies:
 virtual-network default-domain:admin:vn3
 network-ipam default-domain:default-project:default-network-ipam