mirror of https://github.com/sipwise/ngcpcfg.git
These have been around for enough time to leave admins room to switch to the new alternatives. Time for cleanup. Change-Id: I40a51c8107daf53a6d7fd24b5035bbc2aff77bb6mr10.1
parent
589dedb674
commit
a9afbc4164
@ -1,13 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Returns the Debian release codename of the node calling this function.
|
||||
#
|
||||
# @return out The Debian release codename of the node calling this function.
|
||||
|
||||
# XXX: This is a deprecated alias for set_debian_info.
|
||||
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/set_debian_info';
|
||||
out = debian.codename;
|
||||
|
||||
-%]
|
||||
@ -1,11 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Returns the (alphabetically) first ngcp_hostname of a node pair for a given host.
|
||||
#
|
||||
# @param argv.host The ngcp_hostname to get the first name for.
|
||||
# @return out The alphabetically first name.
|
||||
|
||||
out = ngcp.get_firstname(argv.host);
|
||||
|
||||
-%]
|
||||
@ -1,10 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Returns the hostname of the node calling this function.
|
||||
#
|
||||
# @return out The hostname of the node calling this function.
|
||||
|
||||
out = ngcp.get_hostname();
|
||||
|
||||
-%]
|
||||
@ -1,8 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# This is a deprecated alias for get_mgmt_node.
|
||||
|
||||
out = ngcp.get_mgmt_name();
|
||||
|
||||
-%]
|
||||
@ -1,11 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Returns the NGCP type of the node calling this function.
|
||||
#
|
||||
# @return out The NGCP type, one of:
|
||||
# spce, sppro, carrier
|
||||
|
||||
out = general.ngcp_type
|
||||
|
||||
-%]
|
||||
@ -1,10 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Returns the nodename of the node calling this function.
|
||||
#
|
||||
# @return out The nodename of the node calling this function.
|
||||
|
||||
out = ngcp.get_nodename();
|
||||
|
||||
-%]
|
||||
@ -1,11 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Returns the peer name of a given host.
|
||||
#
|
||||
# @param argv.host The hostname to get the peername for.
|
||||
# @return out The peername.
|
||||
|
||||
out = ngcp.get_peername(argv.host);
|
||||
|
||||
-%]
|
||||
@ -1,13 +0,0 @@
|
||||
[%
|
||||
# vi: ft=tt2
|
||||
|
||||
# Checks whether a given host has a given role.
|
||||
#
|
||||
# @param argv.host The hostname to check the role for.
|
||||
# @param argv.role The role of the node to process, one of:
|
||||
# proxy, lb, mgmt
|
||||
# @return out 0 if false, 1 if true.
|
||||
|
||||
out = ngcp.has_role(argv.host, argv.role);
|
||||
|
||||
-%]
|
||||
Loading…
Reference in new issue