setup.sh.in 1.3 KB

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2004, 2007, 2011 Internet Systems Consortium, Inc. ("ISC")
  4. # Copyright (C) 2001, 2002 Internet Software Consortium.
  5. #
  6. # Permission to use, copy, modify, and/or distribute this software for any
  7. # purpose with or without fee is hereby granted, provided that the above
  8. # copyright notice and this permission notice appear in all copies.
  9. #
  10. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  11. # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  12. # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  13. # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  14. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  15. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. # PERFORMANCE OF THIS SOFTWARE.
  17. . @abs_top_builddir@/tests/system/conf.sh
  18. # Clean up from last time
  19. sh clean.sh
  20. # Set up the initial version of the IXFR server - load the n-4 version of the
  21. # zone. The configuration file enables IXFR and disabled notifies.
  22. cp -f $IXFR_TOP/named_nonotify.conf ns1/named.conf
  23. cp -f $IXFR_TOP/db.example.n4 ns1/db.example
  24. # Set up the IXFR client - load the same version of the zone.
  25. cp -f $IXFR_TOP/b10-config.db nsx2/b10-config.db
  26. ${B10_LOADZONE} -o . -d $IXFR_TOP/zone.sqlite3 $IXFR_TOP/db.example.n4