This bug seems to be partly the fault of the server and partly the fault of the client. The client makes the following request:
curl -g -i --cacert "/opt/stack/data/CA/int-ca/ca-chain.pem" -X POST http://10.224.36.25:9696/v2.0/subnets.json -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0c42f92608a907852b66070c2776d291f4a07ae4" -d '{"subnet": {"network_id": "2763a726-7ae5-407a-a2d5-1b0852f3612d", "ip_version": 4, "prefixlen": "64", "subnetpool_id": "f1918793-620a-4fb2-bc01-9962623326e8"}}'
The ip_version is set incorrectly by the client and the server incorrectly accepts it.
This bug seems to be partly the fault of the server and partly the fault of the client. The client makes the following request:
curl -g -i --cacert "/opt/stack/ data/CA/ int-ca/ ca-chain. pem" -X POST http:// 10.224. 36.25:9696/ v2.0/subnets. json -H "User-Agent: python- neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0c42f9260 8a907852b66070c 2776d291f4a07ae 4" -d '{"subnet": {"network_id": "2763a726- 7ae5-407a- a2d5-1b0852f361 2d", "ip_version": 4, "prefixlen": "64", "subnetpool_id": "f1918793- 620a-4fb2- bc01-9962623326 e8"}}'
The ip_version is set incorrectly by the client and the server incorrectly accepts it.