aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-11-11 14:13:14 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-11 14:54:53 +0100
commit3ea52e4f4c463b56ad59db5f041b27940140fbad (patch)
tree5d41de2825a66728e959f71b2a47c6c07ac7fa52 /tests
parent1c9dcc1236457b5efe4660d902eb3342adebd16a (diff)
ipa-proxy/vty: Removed enable/ipa node
This was basically a link to configure/ipa which is not cleanly supported by the current VTY framework. The test program uses the default implementation for go_parent_cb/vty_go_parent() and is_config_node, since config-ipa is a top level config node which is assumed by default.
Diffstat (limited to 'tests')
-rw-r--r--tests/ipa_proxy_test.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/ipa_proxy_test.c b/tests/ipa_proxy_test.c
index 2ed30ff..8f4533c 100644
--- a/tests/ipa_proxy_test.c
+++ b/tests/ipa_proxy_test.c
@@ -28,31 +28,9 @@ const struct log_info ipa_proxy_test_log_info = {
.num_cat = ARRAY_SIZE(ipa_proxy_test_cat),
};
-static int bsc_vty_is_config_node(struct vty *vty, int node)
-{
- switch(node) {
- case L_IPA_NODE:
- return 1;
- break;
- }
- return 0;
-}
-
-static enum node_type bsc_vty_go_parent(struct vty *vty)
-{
- switch (vty->node) {
- case L_IPA_NODE:
- vty->node = VIEW_NODE;
- break;
- }
- return vty->node;
-}
-
static struct vty_app_info vty_info = {
.name = "ipa-proxy-test",
.version = "1.0",
- .go_parent_cb = bsc_vty_go_parent,
- .is_config_node = bsc_vty_is_config_node,
};
#define IPA_PROXY_TEST_TELNET_PORT 4260