%! import splunk.rest as rest import sys from splunk.clilib.bundle_paths import make_splunkhome_path sys.path.append(make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib', 'itsi'])) sys.path = list(set(sys.path)) from itsi_version_compare import VersionComparison version_compare = VersionComparison() if cherrypy.config['product_type'] == 'hunk': faviconFile = 'favicon_hunk.ico' elif cherrypy.config['product_type'] == 'enterprise': faviconFile = 'favicon.ico' else: faviconFile = 'favicon.ico' %>\ <% should_migrate = False if version_compare.is_version_consistent else version_compare.should_render_migration_page(cherrypy.session.get('sessionKey')) %>
<%include file="lib.html" /> % if should_migrate and not ('/itsi/app_upgrade' in cherrypy.request.path_info or '/itsi/upgrade_readiness' in cherrypy.request.path_info): % endif