Details
-
Improvement
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
1
Description
A new parameter of afamilyOnly(true | false) can be set through the setupNetConfig which indicates whether you require only the afamily interfaces to be used. Example as below,
curl http://localhost:9000/node/controller/setupNetConfig -u Administrator:asdasd -d 'afamilyOnly=true&afamily=ipv4’ |
Corresponding changes need to be made to couchbase-cli.
It would be clear to modify ip-family command (instead of adding new command for address_family_only) as below.
Now it is:
ip-family {--get | --set {--ipv4|--ipv6}}
|
change it to be:
ip-family {--get | --set {--ipv4|--ipv4only|--ipv6|-ipv6only}}
|
The curl example above would be for "--ipv4only" option