# basic settings for these test configs
base-conn {
   local_addrs  = 192.168.0.2
   remote_addrs = 192.168.0.1

   local {
      auth = psk
   }
   remote {
      auth = psk
   }
}

connections {

   one-start : base-conn {
      local {
         id = sun-one
      }
      remote {
         id = moon-one
      }
      children {
         one-start {
            local_ts  = dynamic[tcp/1001]
            remote_ts = dynamic[tcp/1001]
         }
      }
   }

   two-start : base-conn {
      local {
         id = sun-two
      }
      remote {
         id = moon-two
      }
      children {
         two-start-1 {
            local_ts  = dynamic[tcp/2001]
            remote_ts = dynamic[tcp/2001]
         }
         two-start-2 {
            local_ts  = dynamic[tcp/2002]
            remote_ts = dynamic[tcp/2002]
         }
      }
   }

   four-start : base-conn {
      local {
         id = sun-four
      }
      remote {
         id = moon-four
      }
      children {
         four-start-1 {
            local_ts  = dynamic[tcp/4001]
            remote_ts = dynamic[tcp/4001]
         }
         four-start-2 {
            local_ts  = dynamic[tcp/4002]
            remote_ts = dynamic[tcp/4002]
         }
         four-start-3 {
            local_ts  = dynamic[tcp/4003]
            remote_ts = dynamic[tcp/4003]
         }
         four-start-4 {
            local_ts  = dynamic[tcp/4004]
            remote_ts = dynamic[tcp/4004]
         }
      }
   }

   one-start-child : base-conn {
      local {
         id = sun-one-child
      }
      remote {
         id = moon-one-child
      }
      children {
         one-start-child {
            local_ts  = dynamic[tcp/1101]
            remote_ts = dynamic[tcp/1101]
         }
      }
   }

   two-start-child : base-conn {
      local {
         id = sun-two-child
      }
      remote {
         id = moon-two-child
      }
      children {
         two-start-child-1 {
            local_ts  = dynamic[tcp/2201]
            remote_ts = dynamic[tcp/2201]
         }
         two-start-child-2 {
            local_ts  = dynamic[tcp/2202]
            remote_ts = dynamic[tcp/2202]
         }
      }
   }

   four-start-child : base-conn {
      local {
         id = sun-four-child
      }
      remote {
         id = moon-four-child
      }
      children {
         four-start-child-1 {
            local_ts  = dynamic[tcp/4401]
            remote_ts = dynamic[tcp/4401]
         }
         four-start-child-2 {
            local_ts  = dynamic[tcp/4402]
            remote_ts = dynamic[tcp/4402]
         }
         four-start-child-3 {
            local_ts  = dynamic[tcp/4403]
            remote_ts = dynamic[tcp/4403]
         }
         four-start-child-4 {
            local_ts  = dynamic[tcp/4404]
            remote_ts = dynamic[tcp/4404]
         }
      }
   }
}

secrets {
   ike {
      secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
   }
}
