summaryrefslogtreecommitdiff
path: root/utils/open-isns/tests/data/test06
diff options
context:
space:
mode:
Diffstat (limited to 'utils/open-isns/tests/data/test06')
-rw-r--r--utils/open-isns/tests/data/test06/01-enroll18
-rw-r--r--utils/open-isns/tests/data/test06/02-registration42
-rw-r--r--utils/open-isns/tests/data/test06/03-registration42
-rw-r--r--utils/open-isns/tests/data/test06/04-registration42
-rw-r--r--utils/open-isns/tests/data/test06/05-dd-registration49
-rw-r--r--utils/open-isns/tests/data/test06/06-registration49
-rw-r--r--utils/open-isns/tests/data/test06/07-dd-registration52
-rw-r--r--utils/open-isns/tests/data/test06/08-registration64
-rw-r--r--utils/open-isns/tests/data/test06/09-registration64
-rw-r--r--utils/open-isns/tests/data/test06/10-unregistration37
-rw-r--r--utils/open-isns/tests/data/test06/11-registration52
11 files changed, 511 insertions, 0 deletions
diff --git a/utils/open-isns/tests/data/test06/01-enroll b/utils/open-isns/tests/data/test06/01-enroll
new file mode 100644
index 0000000..5ededae
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/01-enroll
@@ -0,0 +1,18 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 4
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
diff --git a/utils/open-isns/tests/data/test06/02-registration b/utils/open-isns/tests/data/test06/02-registration
new file mode 100644
index 0000000..5b6ab13
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/02-registration
@@ -0,0 +1,42 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 8
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=4 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:51 2007
+ 0007 uint32 : Entity index = 4
+--------------
+Object: index=5 type=<iSCSI Storage Node> state=mature parent=4
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 5
+--------------
+Object: index=6 type=<Portal> state=mature parent=4
+ 0010 ipaddr : Portal IP address = 127.0.0.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 6
+--------------
+Object: index=7 type=<iSCSI Portal Group> state=mature parent=4
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 127.0.0.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 7
diff --git a/utils/open-isns/tests/data/test06/03-registration b/utils/open-isns/tests/data/test06/03-registration
new file mode 100644
index 0000000..ad555dc
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/03-registration
@@ -0,0 +1,42 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 12
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=8 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:51 2007
+ 0007 uint32 : Entity index = 8
+--------------
+Object: index=9 type=<iSCSI Storage Node> state=mature parent=8
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 9
+--------------
+Object: index=10 type=<Portal> state=mature parent=8
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 10
+--------------
+Object: index=11 type=<iSCSI Portal Group> state=mature parent=8
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 11
diff --git a/utils/open-isns/tests/data/test06/04-registration b/utils/open-isns/tests/data/test06/04-registration
new file mode 100644
index 0000000..477248d
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/04-registration
@@ -0,0 +1,42 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 16
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=12 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:51 2007
+ 0007 uint32 : Entity index = 12
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=12
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=14 type=<Portal> state=mature parent=12
+ 0010 ipaddr : Portal IP address = 192.168.1.2
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 14
+--------------
+Object: index=15 type=<iSCSI Portal Group> state=mature parent=12
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.2
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 15
diff --git a/utils/open-isns/tests/data/test06/05-dd-registration b/utils/open-isns/tests/data/test06/05-dd-registration
new file mode 100644
index 0000000..01776db
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/05-dd-registration
@@ -0,0 +1,49 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 17
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=12 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:52 2007
+ 0007 uint32 : Entity index = 12
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=12
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=14 type=<Portal> state=mature parent=12
+ 0010 ipaddr : Portal IP address = 192.168.1.2
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 14
+--------------
+Object: index=15 type=<iSCSI Portal Group> state=mature parent=12
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.2
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 15
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
diff --git a/utils/open-isns/tests/data/test06/06-registration b/utils/open-isns/tests/data/test06/06-registration
new file mode 100644
index 0000000..6da36e2
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/06-registration
@@ -0,0 +1,49 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 20
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=17 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:52 2007
+ 0007 uint32 : Entity index = 17
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=17
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=18 type=<Portal> state=mature parent=17
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 18
+--------------
+Object: index=19 type=<iSCSI Portal Group> state=mature parent=17
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 19
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
diff --git a/utils/open-isns/tests/data/test06/07-dd-registration b/utils/open-isns/tests/data/test06/07-dd-registration
new file mode 100644
index 0000000..b3201d2
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/07-dd-registration
@@ -0,0 +1,52 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 20
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=17 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:52 2007
+ 0007 uint32 : Entity index = 17
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=17
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=18 type=<Portal> state=mature parent=17
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 18
+--------------
+Object: index=19 type=<iSCSI Portal Group> state=mature parent=17
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 19
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
+ 0816 uint32 : DD member portal index = 18
+ 0817 ipaddr : DD member portal addr = 192.168.1.1
+ 0818 uint32 : DD member portal port = 860/tcp
diff --git a/utils/open-isns/tests/data/test06/08-registration b/utils/open-isns/tests/data/test06/08-registration
new file mode 100644
index 0000000..f965777
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/08-registration
@@ -0,0 +1,64 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 22
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=17 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:52 2007
+ 0007 uint32 : Entity index = 17
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=17
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=18 type=<Portal> state=limbo
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 18
+--------------
+Object: index=19 type=<iSCSI Portal Group> state=mature parent=17
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 19
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
+ 0816 uint32 : DD member portal index = 18
+ 0817 ipaddr : DD member portal addr = 192.168.1.1
+ 0818 uint32 : DD member portal port = 860/tcp
+--------------
+Object: index=20 type=<Portal> state=mature parent=17
+ 0010 ipaddr : Portal IP address = 192.168.1.2
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 20
+--------------
+Object: index=21 type=<iSCSI Portal Group> state=mature parent=17
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.2
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 21
diff --git a/utils/open-isns/tests/data/test06/09-registration b/utils/open-isns/tests/data/test06/09-registration
new file mode 100644
index 0000000..1308d3c
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/09-registration
@@ -0,0 +1,64 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 22
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=17 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 14 13:41:52 2007
+ 0007 uint32 : Entity index = 17
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=17
+ 0020 string : iSCSI name = "isns.client1"
+ 0021 uint32 : iSCSI node type = Initiator
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=18 type=<Portal> state=mature parent=17
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 18
+--------------
+Object: index=19 type=<iSCSI Portal Group> state=mature parent=17
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 19
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
+ 0816 uint32 : DD member portal index = 18
+ 0817 ipaddr : DD member portal addr = 192.168.1.1
+ 0818 uint32 : DD member portal port = 860/tcp
+--------------
+Object: index=20 type=<Portal> state=limbo
+ 0010 ipaddr : Portal IP address = 192.168.1.2
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 20
+--------------
+Object: index=21 type=<iSCSI Portal Group> state=mature parent=17
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.2
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 21
diff --git a/utils/open-isns/tests/data/test06/10-unregistration b/utils/open-isns/tests/data/test06/10-unregistration
new file mode 100644
index 0000000..0c42d1c
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/10-unregistration
@@ -0,0 +1,37 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 22
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=limbo
+ 0020 string : iSCSI name = "isns.client1"
+ 0024 uint32 : iSCSI node index = 13
+--------------
+Object: index=18 type=<Portal> state=limbo
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 18
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
+ 0816 uint32 : DD member portal index = 18
+ 0817 ipaddr : DD member portal addr = 192.168.1.1
+ 0818 uint32 : DD member portal port = 860/tcp
diff --git a/utils/open-isns/tests/data/test06/11-registration b/utils/open-isns/tests/data/test06/11-registration
new file mode 100644
index 0000000..d8d03f8
--- /dev/null
+++ b/utils/open-isns/tests/data/test06/11-registration
@@ -0,0 +1,52 @@
+Dumping database contents
+Backend: /tmp/isns-test/test06/server0/database
+Last EID: 1
+Last Index: 24
+--------------
+Object: index=1 type=<Network Entity> state=mature PRIVATE
+ 0001 string : Entity identifier = "CONTROL"
+ 0007 uint32 : Entity index = 1
+--------------
+Object: index=2 type=<Policy> state=mature parent=1 PRIVATE
+ 0601v string : Security Policy Index = "client1.isns-test.eu"
+ 0607v string : Policy allowed node name = "isns.client1"
+ 0603v opaque : DSA security key = <30 82 01 b7 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01...
+--------------
+Object: index=3 type=<iSCSI Storage Node> state=mature parent=1 PRIVATE
+ 0020 string : iSCSI name = "isns.control"
+ 0021 uint32 : iSCSI node type = <NIL>
+ 0024 uint32 : iSCSI node index = 3
+--------------
+Object: index=22 type=<Network Entity> state=mature
+ 0001 string : Entity identifier = "client1.isns-test.eu"
+ 0002 uint32 : Entity protocol = iSCSI (2)
+ 0006 uint32 : Registration Period = 7200
+ 0004 uint64 : Timestamp = Fri Sep 21 11:23:54 2007
+ 0007 uint32 : Entity index = 22
+--------------
+Object: index=13 type=<iSCSI Storage Node> state=mature parent=22
+ 0020 string : iSCSI name = "isns.client1"
+ 0024 uint32 : iSCSI node index = 13
+ 0021 uint32 : iSCSI node type = Initiator
+--------------
+Object: index=18 type=<Portal> state=mature parent=22
+ 0010 ipaddr : Portal IP address = 192.168.1.1
+ 0011 uint32 : Portal TCP/UDP port = 860/tcp
+ 0016 uint32 : Portal index = 18
+--------------
+Object: index=23 type=<iSCSI Portal Group> state=mature parent=22
+ 0030 string : Portal group name = "isns.client1"
+ 0031 ipaddr : Portal group address = 192.168.1.1
+ 0032 uint32 : Portal group port = 860/tcp
+ 0033 uint32 : Portal group tag = 1
+ 0034 uint32 : Portal group index = 23
+--------------
+Object: index=16 type=<Discovery Domain> state=mature
+ 0811 uint32 : DD ID = 1
+ 0812 string : DD name = "isns.dd1"
+ 081e uint32 : DD features = <NIL>
+ 0813 uint32 : DD member iSCSI index = 13
+ 0814 string : DD member iSCSI name = "isns.client1"
+ 0816 uint32 : DD member portal index = 18
+ 0817 ipaddr : DD member portal addr = 192.168.1.1
+ 0818 uint32 : DD member portal port = 860/tcp