From 412eb7ae0aad30108084d6f8dc4067c7c34e161b Mon Sep 17 00:00:00 2001 From: Jonathan Stout Date: Mon, 1 Nov 2021 20:21:27 +0000 Subject: [PATCH 1/2] set version number to 2.3.0 --- README.md | 28 ++++++++++++++++++++++++++-- grnoc-routerproxy.spec | 2 +- lib/GRNOC/RouterProxy.pm | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a5f9514..d62b7fb 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,22 @@ An example is provided in /etc/grnoc/routerproxy/. The absolute paths must be us shouldn't be in a web accessible folder for all to see. This would easily allow someone to discover all of the passwords to the devices you have configured for your Router Proxy installation. -If you wish to change the appearance of Router Proxy, feel free to edit the webroot/style.css -cascading style sheet to better suit your needs. +If you wish to change the appearance of Router Proxy, feel free to +edit the webroot/style.css cascading style sheet to better suit your +needs. If you're only interested in modification of the primary color +you can set this in `routerproxy.yaml` under `frontend.primary_color`. + +Example: +```yaml +frontend: + dropdown: 0 + help: Additional help text + network_name: Example Network + noc_mail: noc@example.net + noc_name: Example Network + noc_site: https://example.net + primary_color: '#990000' +``` ## Dependencies Router Proxy needs an Apache installation with CGI/Perl support. Additionally the following @@ -52,6 +66,16 @@ don't have it installed, RouterProxy will still work). These modules have several dependencies of their own, so make sure they are installed as well. +## Docker +RouterProxy may be run via Docker, but you'll need to build the container yourself. +```bash +perl Makefile.PL +make container +docker run --detach --publish 8080:8080 --name routerproxy \ +> --volume $PWD/conf/routerproxy.yaml:/etc/grnoc/routerproxy/routerproxy.yaml \ +> routerproxy:2.3.0 +``` + ## TODO * IOS Menu Commands? * Force10 Menu Commands? diff --git a/grnoc-routerproxy.spec b/grnoc-routerproxy.spec index 66f1f07..3c95202 100644 --- a/grnoc-routerproxy.spec +++ b/grnoc-routerproxy.spec @@ -1,6 +1,6 @@ Summary: GRNOC Router Proxy Name: grnoc-routerproxy -Version: 2.2.0 +Version: 2.3.0 Release: %{_buildno}%{?dist} License: GRNOC Group: Auth diff --git a/lib/GRNOC/RouterProxy.pm b/lib/GRNOC/RouterProxy.pm index 9c3c3ec..f431eed 100644 --- a/lib/GRNOC/RouterProxy.pm +++ b/lib/GRNOC/RouterProxy.pm @@ -34,7 +34,7 @@ use GRNOC::RouterProxy::Config; my $timeout = 0; -our $VERSION = '2.2.0'; +our $VERSION = '2.3.0'; sub new { my $caller = shift; From 22aa157db227668efff9afc6d6aa09aab07bbd64 Mon Sep 17 00:00:00 2001 From: Jonathan Stout Date: Mon, 1 Nov 2021 22:08:47 +0000 Subject: [PATCH 2/2] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d62b7fb..bde08ed 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,8 @@ RouterProxy may be run via Docker, but you'll need to build the container yourse perl Makefile.PL make container docker run --detach --publish 8080:8080 --name routerproxy \ -> --volume $PWD/conf/routerproxy.yaml:/etc/grnoc/routerproxy/routerproxy.yaml \ -> routerproxy:2.3.0 +--volume $PWD/conf/routerproxy.yaml:/etc/grnoc/routerproxy/routerproxy.yaml \ +routerproxy:2.3.0 ``` ## TODO