3
# Copyright (C) 2007 Olaf Kirch <olaf.kirch@oracle.com>
5
# This test case validates registration and unregistration.
10
&test_prep("test03", @ARGV);
12
$server = &create_server;
13
$client = &create_client($server);
15
&isns_start_server($server);
17
&isns_enroll_client($client);
18
&isns_register_client($client, "initiator portal");
20
# Unregistering the portal should leave the iscsi node and
21
# portal group active, and move the portal to state limbo.
22
&isns_unregister_client($client, "portal=127.0.0.1:860");
24
# As the iscsi node goes away, so should the whole entity
25
&isns_unregister_client($client, "iscsi-name=isns.client1");