Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-43258

Address family only- CLI

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.0.2
    • Cheshire-Cat
    • tools
    • 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

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              pvarley Patrick Varley (Inactive)
              Abhijeeth.Nuthan Abhijeeth Nuthan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty