
>> membership/001 <<

# CASE 1: We try to create aut-num object AS123 with member-of: AS-TEST
# AS-TEST exists and is protected by RIPE-NCC-HM-MNT
# one of mnt-by of aut-num points to mbrs-by-ref maintainer
#
# create aut-num object
#
#SUCCESS
#
# RESULT 1: The creation will succeed.

>> membership/002 <<

# CASE 2: We try to create aut-num object AS123 with member-of: AS-TEST
# AS-TEST exists and is protected by RIPE-NCC-HM-MNT
# no mbrs-by-ref correct mntner in the object
# fail with membership authorisation
#
# create aut-num object
#
#FAILURE
#
# RESULT 2: The creation will fail.

>> membership/003 <<

# CASE 3: We try to modify aut-num object AS123, member-of AS-TEST
# and remove mnt-by: RIPE-NCC-HM-MNT
# AS-TEST exists and is protected by RIPE-NCC-HM-MNT
# fail with membership authorisation
#
# modify aut-num object
#
#FAILURE
#
# RESULT 3: The modification will fail.

>> membership/004 <<

# CASE 4: We try to delete maintainer object TEST-MNT
# referenced by AS-TEST mbrs-by-ref:
# deletion fails - referenced from other objects
#
# delete mntner object
#
#FAILURE
#
# RESULT 4: The deletion will fail.

>> membership/005 <<

# CASE 5: We try to delete as-set object AS-TEST
# referenced by AS123 as member-of:
#
# delete as-set object
#
#FAILURE
#
# RESULT 5: The deletion will fail with a referenced error.

>> membership/006 <<

# CASE 6: We try to create as-set object AS-TEST
# already referenced by AS123 as member-of:
# THIS TEST ITSELF WILL SUCCEED DUE TO THE BUG, BUT SHOULD FAIL NORMALLY
# will give Error 32 now
#
# This test is faulty to be honest - normally you can't create an
# member-of: without the as-set existing.
#
# create as-set object
#
#FAILURE
#
# RESULT 6: The creation will fail.

>> membership/007 <<

# CASE 7: We try to create as-set object AS-TEST
# with mbrs-by-ref: ANY
#
# create as-set object
#
#SUCCESS
#
# RESULT 7: The creation will succeed.

>> membership/008 <<

# CASE 8: We try to create aut-num object AS123 with member-of: AS-TEST
# AS-TEST exists and is protected by RIPE-NCC-HM-MNT
# with mbrs-by-ref: ANY
#
# create aut-num object
#
#SUCCESS
#
# RESULT 8: The creation will succeed.

>> membership/009 <<

# CASE 9: We try to create aut-num object AS123 with member-of: AS-TEST
# and member-of: AS-TEST2
# AS-TEST and AS-TEST2 exists and are protected by RIPE-NCC-HM-MNT
# with NO mbrs-by-ref: attribute in  AS-TEST
# with mbrs-by-ref: attribute in  AS-TEST2
#
# create aut-num object
#
#FAILURE
#
# RESULT 9: The creation will fail.

>> membership/010 <<

# CASE 10: We try to create route object 1.0.0.0/24 with member-of: RS-TEST
# RS-TEST exists and is protected by RIPE-NCC-HM-MNT
# with NO mbrs-by-ref: attribute
#
# create route object
#
#FAILURE
#
# RESULT 10: The creation will fail.

>> membership/011 <<

# CASE 11: We try to delete as-set object AS-TEST
# NOT referenced as member-of:
#
# delete as-set object
#
#SUCCESS
#
# RESULT 11: The deletion succeed
