Issue creating new AS-SET
Hi all, I am trying to add a new AS-SET but I get an error : as-set: Syntax error in AS201376:AS-MEMBERS:DIRECT Here is the object I try to create : AS-SET: AS201376:AS-MEMBERS:DIRECT members: AS60983 TECH-C: DF5400-RIPE ADMIN-C: DF5400-RIPE MNT-BY: AUVERNIX-MNT MNT-BY: DF39378-MNT SOURCE: RIPE AS201376:AS-MEMBERS already exists in the database. I cannot see what I do wrong here. Can anybody help ? Also I tried to do some tests on the test DB but I get a 404 error when clicking 'submit'. I don't know if it is me or a bug. Thank you in advance. -- Denis Fondras / Liopen
On Wed, Jun 09, 2021 at 02:29:17PM +0200, Denis Fondras via db-wg wrote:
I am trying to add a new AS-SET but I get an error :
as-set: Syntax error in AS201376:AS-MEMBERS:DIRECT
AS201376:AS-MEMBERS already exists in the database.
I cannot see what I do wrong here. Can anybody help ?
Also I tried to do some tests on the test DB but I get a 404 error when clicking 'submit'. I don't know if it is me or a bug.
The error message is a bit strange, but the issue is that when using the hierarchical naming scheme (highly recommended!), each element in the chain of names must conform to the naming rules of AS-SET. If you add 'AS-' as prefix to 'DIRECT', I suspect the robot will accept it. AS-SET: AS201376:AS-MEMBERS:AS-DIRECT ^^^ Kind regards, Job
Hi Job, Denis,
On 9 Jun 2021, at 15:55, Job Snijders via db-wg <db-wg@ripe.net> wrote:
On Wed, Jun 09, 2021 at 02:29:17PM +0200, Denis Fondras via db-wg wrote:
I am trying to add a new AS-SET but I get an error :
as-set: Syntax error in AS201376:AS-MEMBERS:DIRECT
AS201376:AS-MEMBERS already exists in the database.
I cannot see what I do wrong here. Can anybody help ?
Also I tried to do some tests on the test DB but I get a 404 error when clicking 'submit'. I don't know if it is me or a bug.
The error message is a bit strange, but the issue is that when using the hierarchical naming scheme (highly recommended!), each element in the chain of names must conform to the naming rules of AS-SET.
If you add 'AS-' as prefix to 'DIRECT', I suspect the robot will accept it.
AS-SET: AS201376:AS-MEMBERS:AS-DIRECT ^^^
Kind regards,
Job
Job is correct, each element of the as-set name must start with "AS-". This is documented in the RIPE database documentation: https://www.ripe.net/manage-ips-and-asns/db/support/documentation/ripe-datab... <https://www.ripe.net/manage-ips-and-asns/db/support/documentation/ripe-database-documentation/rpsl-object-types/4-2-descriptions-of-primary-objects/4-2-7-description-of-the-as-set-object> And conforms with RFC 2622: https://datatracker.ietf.org/doc/html/rfc2622#section-5.1 <https://datatracker.ietf.org/doc/html/rfc2622#section-5.1> Regards Ed Shryane RIPE NCC
Le Wed, Jun 09, 2021 at 04:06:00PM +0200, Edward Shryane a écrit :
Job is correct, each element of the as-set name must start with "AS-".
This is documented in the RIPE database documentation: https://www.ripe.net/manage-ips-and-asns/db/support/documentation/ripe-datab...
Thanks to all who replied and helped. I read the documentation too fast I guess (brain was looking for 'AS-' instead of 'as-' :) ) -- Denis Fondras / Liopen
HI Ed Why didn't this report a syntax error in the as-set name rather than a hierarchical part already exists? cheers denis co-chair DB-WG On Wed, 9 Jun 2021 at 16:06, Edward Shryane via db-wg <db-wg@ripe.net> wrote:
Hi Job, Denis,
On 9 Jun 2021, at 15:55, Job Snijders via db-wg <db-wg@ripe.net> wrote:
On Wed, Jun 09, 2021 at 02:29:17PM +0200, Denis Fondras via db-wg wrote:
I am trying to add a new AS-SET but I get an error :
as-set: Syntax error in AS201376:AS-MEMBERS:DIRECT
AS201376:AS-MEMBERS already exists in the database.
I cannot see what I do wrong here. Can anybody help ?
Also I tried to do some tests on the test DB but I get a 404 error when clicking 'submit'. I don't know if it is me or a bug.
The error message is a bit strange, but the issue is that when using the hierarchical naming scheme (highly recommended!), each element in the chain of names must conform to the naming rules of AS-SET.
If you add 'AS-' as prefix to 'DIRECT', I suspect the robot will accept it.
AS-SET: AS201376:AS-MEMBERS:AS-DIRECT ^^^
Kind regards,
Job
Job is correct, each element of the as-set name must start with "AS-".
This is documented in the RIPE database documentation: https://www.ripe.net/manage-ips-and-asns/db/support/documentation/ripe-datab...
And conforms with RFC 2622: https://datatracker.ietf.org/doc/html/rfc2622#section-5.1
Regards Ed Shryane RIPE NCC
Le Wed, Jun 09, 2021 at 06:56:18PM +0200, denis walker via db-wg a écrit :
HI Ed
Why didn't this report a syntax error in the as-set name rather than a hierarchical part already exists?
It does yield a syntax error :
I am trying to add a new AS-SET but I get an error :
as-set: Syntax error in AS201376:AS-MEMBERS:DIRECT
-- Denis Fondras / Liopen
OK I misread your first email :) cheers denis co-chair DB-WG On Wed, 9 Jun 2021 at 19:20, Denis Fondras via db-wg <db-wg@ripe.net> wrote:
Le Wed, Jun 09, 2021 at 06:56:18PM +0200, denis walker via db-wg a écrit :
HI Ed
Why didn't this report a syntax error in the as-set name rather than a hierarchical part already exists?
It does yield a syntax error :
I am trying to add a new AS-SET but I get an error :
as-set: Syntax error in AS201376:AS-MEMBERS:DIRECT
-- Denis Fondras / Liopen
participants (4)
-
Denis Fondras
-
denis walker
-
Edward Shryane
-
Job Snijders