swreg_web.inc.php 833 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. # Globals
  3. define('TOOL_NAME', 'CiscoLive Switch Registration Tool');
  4. define('PRIME_CRED_PROFILE', 'CLUS-creds');
  5. define('PRIME_URL', 'https://63.231.220.90');
  6. define('DNS_SERVER', '216.206.190.98');
  7. define('DNS_ZONE', 'noc.ciscolive.com');
  8. define('DEBUG', 0);
  9. # Fill out PIDs mapping to number of ports.
  10. # MANDATORY!
  11. $PID_PORTS = array(
  12. 'WS-C3560CG-8PC-S' => '8',
  13. 'WS-C3750X-24' => '24',
  14. 'WS-C3750X-48' => '48',
  15. );
  16. # Port patterns
  17. # The patterns that start a port name
  18. # MANDATORY!
  19. $PORT_PATTERNS = array(
  20. 'WS-C3560CG-8PC-S' => '0/',
  21. 'WS-C3750X-24' => '1/0/',
  22. 'WS-C3750X-48' => '1/0/',
  23. );
  24. # Map the PID ports to a ZTP PID
  25. # This is only needed if you don't use fully-qualified
  26. # PIDs in the ZTP PIDs.
  27. # OPTIONAL
  28. $PID_MAP = array(
  29. 'WS-C3750X-24' => 'WS-C3750X',
  30. 'WS-C3750X-48' => 'WS-C3750X',
  31. );
  32. ?>