diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-02-19 19:19:22 -0600 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2010-03-22 17:32:08 -0500 |
commit | 22610b42dea26f17d9be3f5bd23fed0f32436932 (patch) | |
tree | 93f5d9f26e9a9ee0d1476984e83734be7e7e24aa /utils/open-isns/tests/data/test02/15-dd-deregistration | |
parent | 7fef761e193dc3a1ff3c65b7eb9f8d3942d69bbb (diff) | |
download | open-iscsi-22610b42dea26f17d9be3f5bd23fed0f32436932.tar.gz |
iscsi tools: use open-isns services
This replaces the native isns code with open-isns's libisns.
I included the open-isns code in the open-iscsi tarball
to make distribution easier since some distros use different
isns clients and may not want to carry open-isns.
This is based on open-isns commit
5e09f36d3446e41de0b8361601ffec4cd140d513.
Changes in iSNS behavior/use:
- To do discovery you must pass the ip and optionally the
port to iscsiadm:
iscsiadm -m discovery -t st -p 10.15.0.9
This command accepts the same ops as sendtargets so you can
add/remove/update the node records that are created.
It also supports ifaces properly now.
- isns.address and isns.port in iscsid.conf are no longer
used.
- ESI is temporarily not supported. This will be fixed in the
next patch when SCNs support is added.
- The iscsiadm isns discovery command is not marked as stable.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Diffstat (limited to 'utils/open-isns/tests/data/test02/15-dd-deregistration')
-rw-r--r-- | utils/open-isns/tests/data/test02/15-dd-deregistration | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/utils/open-isns/tests/data/test02/15-dd-deregistration b/utils/open-isns/tests/data/test02/15-dd-deregistration new file mode 100644 index 0000000..d9b420f --- /dev/null +++ b/utils/open-isns/tests/data/test02/15-dd-deregistration @@ -0,0 +1,76 @@ +Dumping database contents +Backend: /tmp/isns-test/test02/server0/database +Last EID: 1 +Last Index: 15 +-------------- +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 b6 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=<Policy> state=mature parent=1 PRIVATE + 0601v string : Security Policy Index = "client2.isns-test.eu" + 0607v string : Policy allowed node name = "isns.client2" + 0603v opaque : DSA security key = <30 82 01 b6 30 82 01 2b 06 07 2a 86 48 ce 38 04 01 30 82 01... + 0608v uint32 : Policy allowed node type = Target +-------------- +Object: index=5 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:24:04 2007 + 0007 uint32 : Entity index = 5 +-------------- +Object: index=6 type=<iSCSI Storage Node> state=mature parent=5 + 0020 string : iSCSI name = "isns.client1" + 0021 uint32 : iSCSI node type = Initiator + 0024 uint32 : iSCSI node index = 6 +-------------- +Object: index=7 type=<Portal> state=mature parent=5 + 0010 ipaddr : Portal IP address = 127.1.0.1 + 0011 uint32 : Portal TCP/UDP port = 860/tcp + 0016 uint32 : Portal index = 7 +-------------- +Object: index=8 type=<iSCSI Portal Group> state=mature parent=5 + 0030 string : Portal group name = "isns.client1" + 0031 ipaddr : Portal group address = 127.1.0.1 + 0032 uint32 : Portal group port = 860/tcp + 0033 uint32 : Portal group tag = 1 + 0034 uint32 : Portal group index = 8 +-------------- +Object: index=9 type=<Network Entity> state=mature + 0001 string : Entity identifier = "client2.isns-test.eu" + 0002 uint32 : Entity protocol = iSCSI (2) + 0006 uint32 : Registration Period = 7200 + 0004 uint64 : Timestamp = Fri Sep 14 13:24:04 2007 + 0007 uint32 : Entity index = 9 +-------------- +Object: index=10 type=<iSCSI Storage Node> state=mature parent=9 + 0020 string : iSCSI name = "isns.client2" + 0021 uint32 : iSCSI node type = Target + 0024 uint32 : iSCSI node index = 10 +-------------- +Object: index=11 type=<Portal> state=mature parent=9 + 0010 ipaddr : Portal IP address = 127.1.0.2 + 0011 uint32 : Portal TCP/UDP port = 3260/tcp + 0016 uint32 : Portal index = 11 +-------------- +Object: index=12 type=<iSCSI Portal Group> state=mature parent=9 + 0030 string : Portal group name = "isns.client2" + 0031 ipaddr : Portal group address = 127.1.0.2 + 0032 uint32 : Portal group port = 3260/tcp + 0033 uint32 : Portal group tag = 1 + 0034 uint32 : Portal group index = 12 +-------------- +Object: index=14 type=<iSCSI Storage Node> state=limbo + 0020 string : iSCSI name = "iqn.com.foobar:disk1" + 0024 uint32 : iSCSI node index = 14 |