Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1810

IPv6 for Cluster management

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Clustering
    • None

    Description

      It seems the management APIs (at least) for clustering are not IPv6 aware. E.g.

        typedef int TSNodeHandle_t;
        typedef void (*TSClusterRPCFunction) (TSNodeHandle_t *node, TSClusterRPCMsg_t *msg, int msg_data_len);
        typedef void (*TSClusterStatusFunction) (TSNodeHandle_t *node, TSNodeStatus_t s);
         *  Get the struct in_addr associated with the TSNodeHandle_t.	    *
        tsapi int TSNodeHandleToIPAddr(TSNodeHandle_t *h, struct in_addr *in);
         *  Get the TSNodeHandle_t for the local node.	    	    	    *
        tsapi void TSGetMyNodeHandle(TSNodeHandle_t *h);
        tsapi int TSSendClusterRPC(TSNodeHandle_t *nh, TSClusterRPCMsg_t *msg);
      

      As far as I can tell, TSNodeHandle_t is also how we represent the IP of the cluster node. And since it's an int, it can only represent IPv4 addresses.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: