HP VAN SDN Controller Administrator Guide v3
crlFile="<location_of_CRL file>"/>
For the above change to take effect, restart the controller.
4.10 SDN Administrative REST API
The main SDN Controller daemon (sdnc) is accompanied by an ancillary daemon process (sdna),
which runs under user sdnadmin in order to grant it access to some elevated privileges.
The administrative REST API can be used to securely perform various management functions in a
privileged context. It would be undesirable for the main SDN Controller process to possess those
privileges as it may be hosting execution of third-party code.
The SDN Administrator daemon can be accessed via the REST API vi HTTPS on port 8081. The
access is secured through either token-based authentication or basic authentication, against the
locally running keystone server, which is the same as the main SDN Controller REST API.
The following set of features are accessible through the administrative REST API:
• SDN Controller daemon (sdnc) stop/start/restart
• Adding/removing the team leader IP alias (required only when in team mode)
• Downloading the ZIP bundle of log files
• Uploading upgrade Debian bundles and installing/removing Debian packages
• Uploading upgrade ZIP bundles and executing upgrade commands
• System reboot
The install process adds a number of sudoers entries for the sdnadmin user. These are as follows:
• /sbin/ifconfig
• /sbin/reboot
• /usr/bin/service
• /usr/bin/at
• /usr/bin/dpkg
All, or any, of the above entries can be blocked or removed from the sudoers configuration. The
/sbin/ifconfig entry is only required when running in teamed mode. Otherwise the controller cannot
migrate the team IP address from node to node as team leader changes.
The sdna daemon can be completely disabled by stopping the daemon by using the sudo service
sdna stop command and then removing the /etc/init/sdna.conf file.
4.11 Virgo Admin UI Access
The Virgo admin UI is configured to only be accessible via localhost. Access to this UI can be
made via http://localhost:8080/admin. This should not be used under normal circumstances, but
can be useful for debugging purposes.
To change the credentials of this console, get root console access to the machine(s) running the
HP VAN SDN Controller and edit the following file:
/opt/sdn/virgo/configuration/org.eclipse.virgo.kernel.users.properties
This file includes the following two entries:
user.admin=sdn
role.admin=admin
where role.admin defines the user and user.admin defines the password. This file needs to be
owned by user:sdn, group:sdn. Changes to this file require a restart of the controller to recognize
the new credentials.
72 SDN Controller Authentication