{"id":20111139,"url":"https://github.com/openstack/trove-dashboard","last_synced_at":"2025-05-06T10:32:35.072Z","repository":{"id":42207314,"uuid":"48365978","full_name":"openstack/trove-dashboard","owner":"openstack","description":"Trove Horizon plugin. Mirror of code maintained at opendev.org.","archived":false,"fork":false,"pushed_at":"2025-04-17T07:44:19.000Z","size":1629,"stargazers_count":22,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-17T22:24:33.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://opendev.org/openstack/trove-dashboard","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openstack.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-12-21T10:31:43.000Z","updated_at":"2025-04-17T07:44:23.000Z","dependencies_parsed_at":"2023-02-15T15:15:30.648Z","dependency_job_id":"acbbaf2e-0472-4fda-9620-ef98a9e6aad5","html_url":"https://github.com/openstack/trove-dashboard","commit_stats":null,"previous_names":[],"tags_count":95,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Ftrove-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Ftrove-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Ftrove-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Ftrove-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openstack","download_url":"https://codeload.github.com/openstack/trove-dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252666206,"owners_count":21785218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T18:14:35.898Z","updated_at":"2025-05-06T10:32:35.055Z","avatar_url":"https://github.com/openstack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenStack Dashboard plugin for Trove project\n============================================\n\n.. image:: https://governance.openstack.org/tc/badges/trove-dashboard.svg\n    :target: https://governance.openstack.org/tc/reference/tags/index.html\n\n\nHow to use with Horizon on server:\n----------------------------------\n\nUse pip to install the package on the server running Horizon. Then either copy\nor link the files in trove_dashboard/enabled to\nopenstack_dashboard/local/enabled. This step will cause the Horizon service to\npick up the trove plugin when it starts.\n\nHow to use with devstack:\n-------------------------\n\nAdd the following to your devstack ``local.conf`` file::\n\n    enable_plugin trove-dashboard https://opendev.org/openstack/trove-dashboard\n\nHere is a full example of devstack ``local.conf`` file that includes the trove plugin::\n\n    [[local|localrc]]\n    RECLONE=False\n    HOST_IP=\u003cyour-host-ip-here\u003e\n\n    enable_plugin trove https://opendev.org/openstack/trove\n    enable_plugin trove-dashboard https://opendev.org/openstack/trove-dashboard\n\n    LIBS_FROM_GIT+=,python-troveclient\n    DATABASE_PASSWORD=password\n    ADMIN_PASSWORD=password\n    SERVICE_PASSWORD=password\n    SERVICE_TOKEN=password\n    RABBIT_PASSWORD=password\n    LOGFILE=$DEST/logs/stack.sh.log\n    VERBOSE=True\n    LOG_COLOR=False\n    LOGDAYS=1\n\n    IPV4_ADDRS_SAFE_TO_USE=10.111.0.0/26\n    FIXED_RANGE=10.111.0.0/26\n    NETWORK_GATEWAY=10.111.0.1\n    FLOATING_RANGE=172.30.5.0/24\n    PUBLIC_NETWORK_GATEWAY=172.30.5.1\n\n    # Pre-requisites\n    ENABLED_SERVICES=rabbit,mysql,key\n\n    # DVR\n    Q_AGENT=ovn\n    Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger\n    Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve\n    Q_ML2_TENANT_NETWORK_TYPE=\"geneve\"\n\n    enable_service ovn-northd\n    enable_service ovn-controller\n    enable_service q-ovn-metadata-agent\n\n    # Use Neutron\n    enable_service q-svc\n\n    # Disable Neutron agents not used with OVN.\n    disable_service q-agt\n    disable_service q-l3\n    disable_service q-dhcp\n    disable_service q-meta\n\n    # Enable services, these services depend on neutron plugin.\n    enable_plugin neutron https://opendev.org/openstack/neutron\n    enable_service q-trunk\n    enable_service q-dns\n    enable_service q-port-forwarding\n    enable_service q-qos\n    enable_service neutron-segments\n    enable_service q-log\n\n    # Enable neutron tempest plugin tests\n    enable_plugin neutron-tempest-plugin https://opendev.org/openstack/neutron-tempest-plugin\n\n    # Compile if your distro kernel does not include ovs+conntrack support.\n    OVN_BUILD_MODULES=True\n    # Set True to configure host gateway routers for external connectivity.\n    ENABLE_CHASSIS_AS_GW=True\n\n    # Horizon\n    enable_service horizon\n\n    # Nova\n    enable_service n-api\n    enable_service n-cpu\n    enable_service n-cond\n    enable_service n-sch\n    enable_service n-api-meta\n    enable_service placement-api\n    enable_service placement-client\n\n    # Glance\n    enable_service g-api\n    enable_service g-reg\n\n    # Cinder\n    enable_service cinder\n    enable_service c-api\n    enable_service c-vol\n    enable_service c-sch\n\n    # Swift\n    ENABLED_SERVICES+=,swift\n    SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5\n    SWIFT_REPLICAS=1\n\n\nTo run unit tests:\n------------------\n::\n\n    ./run_tests.sh\n\nEditing Code\n------------\n\nApache\n~~~~~~\n\nMake a change to trove-dashboard then goto to the horizon directory and\ncompress the code with django and then restart apache.::\n\n    # rsync code to /opt/stack/trove-dashboard\n    # copy or link files from trove-dashboard/enabled/* to horizon/openstack_dashboard/local/enabled/\n    cd /opt/stack/horizon\n    python manage.py compress\n    python manage.py collectstatic --noinput\n    sudo service apache2 restart\n\n\nDjango\n~~~~~~\n\nYou can also speed up development time using the django test server instead of\napache.::\n\n    /opt/stack/horizon/run_tests.sh --runserver\n\nIf you set COMPRESS_ENABLED and COMPRESS_OFFLINE to False in local_settings.py\nthat allows you to bypass the compress and collectstatic as well.\n\n\nSettings\n~~~~~~~~\n\nThe use of a cross-process cache such as Memcached is required.\n\nInstall Memcached itself and a Memcached binding such as python-memcached.\n\nFor a single horizon instance use the CACHES setting like the example below.::\n\n    CACHES = {\n        'default': {\n            'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',\n            'LOCATION': '127.0.0.1:11211',\n        },\n    }\n\nFor multiple horizon instances behind a load balancer configure each instance\nto use the same cache like the example below.::\n\n    CACHES = {\n        'default': {\n            'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',\n            'LOCATION': ['10.2.100.133:11211', '10.2.100.134:11211'']\n        },\n    }\n\n\nNOTE:\n=====\n\nAs of the Mitaka release, the dashboard for trove is now maintained outside of\nthe Horizon codebase, in this repository.\n\nLinks:\n------\n\nTrove project: https://opendev.org/openstack/trove/\n\nTrove Documentation: https://docs.openstack.org/trove/latest\n\nTrove at wiki.openstack.org: https://wiki.openstack.org/wiki/Trove\n\nLaunchpad project: https://launchpad.net/trove-dashboard\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstack%2Ftrove-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenstack%2Ftrove-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstack%2Ftrove-dashboard/lists"}