
>> asn32/route/001 <<

# CASE 1: We try to create route object 20.13.0.0/16,AS200
# testing various attributes where community and as number can be present
# aggr-bndry
# aggr-mtd
# components
# inject
#
# create route object 
#
#SUCCESS
#
# RESULT 1: The creation will succeed.

>> asn32/route/002 <<

# CASE 2: We try to create route object 20.13.0.0/16,AS200
# testing various attributes where community and as number can be present
# with syntax errs
# aggr-bndry
# aggr-mtd
# components
# inject
#
# create route object 
#
#SUCCESS
#
# RESULT 2: The creation will fail.

>> asn32/route/003 <<

# CASE 3: We try to create route object 20.13.0.0/16,AS200200
# origin is asn32
# make query to check that "-i origin AS200200" works
#
# create route object 
#
#SUCCESS
#
# RESULT 3: The creation will succeed.

>> asn32/route/004 <<

# CASE 4: We try to create route object 20.13.0.0/16,AS200
# member-of is an route-set with as32bit-related name
# which exists in db
# also make a query to check whether '-i member-of AS200200:rs-test' works
#
# create route object 
#
#SUCCESS
#
# RESULT 4: The creation will succeed.

>> asn32/route/005 <<

# CASE 5: We try to create route object 20.13.0.0/16,AS200
# member-of is an route-set with as32bit-related name
# which exists in db
# but doesn't have mbrs-by-ref attribute!!!
# "membership authorisation failure" expected
#
# create route object 
#
#FAILURE
#
# RESULT 5: The creation will fail.

>> asn32/route/006 <<

# CASE 6: We try to create route object 20.13.0.0/16,AS200
# origin is asn32
# this AS doesn't exist in the DB
#
# create route object 
#
#FAILURE
#
# RESULT 6: The creation will fail.

>> asn32/route/007 <<

# CASE 7: We try to create route object 20.13.0.0/16,AS200
# making sure we can't have ipv6 addresses in inject
#
# create route object 
#
#FAILURE
#
# RESULT 7: The creation will fail.

>> asn32/route/008 <<

# CASE 8: We try to create 2 route objects 
# 20.13.0.0/16,AS200200 and 20.13.0.0/16,AS200
# member-of is a route-set with as32bit-related name
# member-of is a route-set with as16bit-related name
# which do not exist in db
#
# create route object 
#
#FAILURE
#
# RESULT 8: The creations will fail.
#
# Test used to fail because of bug(zilla) #201 in software
# non existant route-set in member-of defaulted to auth pass
#
# Bug(zilla) #201 has been fixed as a result of not allowing dummy 
# object creations.
# The creations still fail, but because of referential integrity,
# referencing a non existant object.

>> asn32/route/009 <<

# CASE 9: We try to create route object 20.13.0.0/16,AS200
# member-of is an route-set which does not exists
# This used to succeed when we allowed dummy objects, but now fails.
#
#FAILURE
#
# RESULT 9: The creation will fail.

>> asn32/route/010 <<

# CASE 10: We try to delete a route-set while still being referenced.
#
#FAILURE
#
# RESULT 10: The deletion will fail.
