All Projects → CESNET → Netopeer-GUI

CESNET / Netopeer-GUI

Licence: MIT License
Graphical user interface for NETCONF client

Programming Languages

PHP
23972 projects - #3 most used programming language
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Netopeer-GUI

Nemea-Detectors
Detection modules of the Nemea system.
Stars: ✭ 20 (-35.48%)
Mutual labels:  liberouter
tdm
Telemetry Data Mapper to ease data discovery, correlation, and usage with YANG, MIBs, etc.
Stars: ✭ 33 (+6.45%)
Mutual labels:  netconf
terraform-provider-junos
Terraform's provider for Junos devices
Stars: ✭ 44 (+41.94%)
Mutual labels:  netconf
Nemea-Modules
Base modules of the Nemea system. This repository contains modules for export, replay, filtering, merging etc.
Stars: ✭ 14 (-54.84%)
Mutual labels:  liberouter
netconf-examples
NETCONF examples for learning labs
Stars: ✭ 59 (+90.32%)
Mutual labels:  netconf
Nemea
System for network traffic analysis and anomaly detection.
Stars: ✭ 70 (+125.81%)
Mutual labels:  liberouter
Network-Automation
Cisco ACI, Firepower, Meraki, NETCONF, and SQL Python Programs
Stars: ✭ 47 (+51.61%)
Mutual labels:  netconf
yang
NETCONF/YANG related test framework
Stars: ✭ 15 (-51.61%)
Mutual labels:  netconf
catalyst9k-network-automation
Sample python scripts for automation workflows for feature sets present in Catalyst Switching using openly available YANG data models
Stars: ✭ 40 (+29.03%)
Mutual labels:  netconf
openmgmt
Documentation and examples for using open network management tools such as OpenConfig
Stars: ✭ 23 (-25.81%)
Mutual labels:  netconf
yang
RETIRED, Ansible Yang Role
Stars: ✭ 13 (-58.06%)
Mutual labels:  netconf

NetopeerGUI

NetopeerGUI is web graphical user interface for configuring devices based on protocol NETCONF. For more info visit Public web section about Netopeer.

NetopeerGUI is developed as Symfony2 app.

Important: This is new version using Libnetconf2 and NetopeerGUID. It might contain some new bugs, especially in UI, but we are trying to improve all the stuff. You can use older version v1.0, which is working with libnetconf1 and mod_netconf, if you need.

NetopeerGUI demo installation - using Vagrant on CentOS7

If you do not have a vagrant box for CentOS7 box yet, use:

vagrant box add centos/7 --provider=virtualbox

Clone this repository and run following:

cd install
vagrant up
vagrant ssh
sudo su
sed -i 's/SELINUX=\(enforcing\|permissive\)/SELINUX=disabled/g' /etc/selinux/config
exit; exit
# due to SElinux settings
vagrant reload
vagrant ssh
sudo su
cd /var/www/netopeergui
php composer.phar install
./install-no-composer.sh
service httpd restart
service netopeerguid restart

After that, you can run NetopeerGUI on local port :2280, so open http://localhost:2280/netopeergui Username and password is admin:pass. Now, you can connect to any NETCONF device.

TODO: Removing problems with SElinux are in progress.

You can use Vagrant for Ubuntu too

Clone this repository and run following:

cd install/ubuntu
vagrant up

Installation

Requirements:

To install, run the following commands:

# go to apache web directory
cd /var/www

git clone https://github.com/cesnet/netopeer-gui.git

cd netopeer-gui

# build from predefined scripts    
cd install
./centos7/install.sh

# or build manually
git submodule update --init --recursive 
cd install

./bootstrap.sh

# for change some variables, look at ./configure --help
./configure

su # installation must be done as root
make install

cd ../
# check server configuration and repair errors
php app/check.php

php ./composer.phar install

Underhood - install folder

Install folder includes necesarry files for communicating with NETCONF devices. For netopeerguid update follow instructions on netopeerguid site.

Configure script check all dependencies and prepares all resources for install.

Make install will also copy netopeergui.conf into /etc/httpd/conf.d/ folder. Change this manually, if you need.

Note:

For a more detailed explanation of symfony2 installation, see the Installation chapter of the Symfony Documentation.

First steps

  1. Open site http://localhost/netopeergui
  2. Login using admin, pass (this credentials were created during installation)
  3. Connect to the device using SSH credentials
  4. Click Configure device

Setting custom user

For setting new user or edit current, use command line script. This script will create or update user in DB. There is no "GUI" for user settings.

Create user

su
php app/console app:user [--action=add] --user=username --pass=password

Remove user

su
php app/console app:user --action=add --user=username

Change password

su
php app/console app:user --action=edit --user=username --pass=newpass [--new-username=newusername]

Using SAML

NetopeerGUI has implemented login using SAML and SamlSPBundle. For configuration, you must edit /app/config/security.yml file. Find section

saml:
        pattern: ^/(?!login_check)
        anonymous: true
        aerial_ship_saml_sp:
            login_path: /saml/sp/login
            check_path: /saml/sp/acs
            logout_path: /saml/sp/logout
            failure_path: /saml/sp/failure
            metadata_path: /saml/sp/FederationMetadata.xml
            discovery_path: /saml/sp/discovery
            local_logout_path: /logout/
            provider: saml_user_provider
            create_user_if_not_exists: true
            services:
                openidp:
                idp:
                        file: "@FITNetopeerBundle/Resources/saml/openidp.metadata.xml"
                    sp:
                        config:
                            # required
                            entity_id: netopeergui_sauvignon
                            # if different then url being used in request
                            # used for construction of assertion consumer and logout urls in SP entity descriptor
                            base_url: https://sauvignon.liberouter.org/netopeergui
                        signing:
                            # must implement SPSigningProviderInterface
                            # id: my.signing.provider.service.id

                            # or use built in SPSigningProviderFile with specific certificate and key files
                            cert_file: "@FITNetopeerBundle/Resources/saml/server.pem"
                            key_file: "@FITNetopeerBundle/Resources/saml/server.key"
                            key_pass: ""
                        meta:
                            # must implement SpMetaProviderInterface
                            # id: my.sp.provider.service.id

                            # or use builtin SpMetaConfigProvider
                            # any valid saml name id format or shortcuts: persistent or transient
                            name_id_format: persistent
                            binding:
                                # any saml binding or shortcuts: post or redirect
                                authn_request: redirect
                                logout_request: post

and edit following lines:

file: "@FITNetopeerBundle/Resources/saml/openidp.metadata.xml"
entity_id: netopeergui_sauvignon
base_url: https://sauvignon.liberouter.org/netopeergui

Configuration notes are described in SamlSPBundle configuration doc.

This example service uses https://openidp.feide.no user provider. For register this your netopeerGUI, generate FederationMetadata.xml file (located in /saml/sp/FederationMetadata.xml) and upload it into OpenIDP.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].