[ixpmanager] country field within euroix export
Barry O'Donovan
barry.odonovan at inex.ie
Tue Nov 13 10:41:25 GMT 2018
And docs now also updated with a reference for this:
https://docs.ixpmanager.org/features/ixf-export/#preparing-the-ix-f-member-export
- Barry
Nick Hilliard (INEX) wrote on 13/11/2018 10:34:
> Hi Andreas,
>
> This is pulled from the .env file in your IXP Manager installation
> directory:
>
> IDENTITY_COUNTRY="Greece"
>
> You should change this to:
>
> IDENTITY_COUNTRY="GR"
>
> Nick
>
>> Andreas Polyrakis <mailto:apolyr at noc.grnet.gr>
>> 13 November 2018 at 09:55
>>
>> Hello
>>
>> I feed our euro-ix export
>> (https://portal.gr-ix.gr/api/v4/member-export/ixf/0.7) to IXPDB and I
>> get the following errors:
>>
>> Type
>> Member Export
>> URL
>> https://portal.gr-ix.gr/api/v4/member-export/ixf/0.7
>> Is imported
>>
>> Status
>>
>> 6 errors occurred:
>>
>> * country code is invalid: 'Greece'
>> * country code is invalid: 'Greece'
>> * country code is invalid: 'Greece'
>> * country code is invalid: 'Greece'
>> * country code is invalid: 'Greece'
>> * country code is invalid: 'Greece'
>> Last process
>> Nov. 13, 2018, 9:01 a.m.
>>
>> IXPDB waits for country code, while our export contains the country name.
>>
>> Indeed,
>>
>> {
>> ...
>> "ixp_list": [
>> {
>> "shortname": "GR-IX::Athens",
>> "name": "Greek Internet Exchange",
>> "country": "Greece",
>> ...
>> "switch": [
>> {
>> ...
>> "name": "eie-sw.gr-ix.gr",
>> ...
>> "city": "Athens",
>> "country": "Greece",
>> ...
>>
>>
>> However, I cannot find the place where "Greece" is set as a country,
>> neither for the IXP nor for the switch.
>> For the IXP, I checked the ixp table and it is set correct to "GR".
>>
>> mysql> select * from ixp;
>> +----+-------------------------+-----------+------------+----------+----------+----------+---------+
>> | id | name | shortname | address1 | address2 |
>> address3 | address4 | country |
>> +----+-------------------------+-----------+------------+----------+----------+----------+---------+
>> | 1 | Greek Internet Exchange | GRIX | Kifisias 7 | NULL |
>> Athens | 11523 | GR |
>> +----+-------------------------+-----------+------------+----------+----------+----------+---------+
>>
>> I cannot locate any country-related setting for the switch or for the
>> corresponding facility.
>>
>> Where is this information stored?
>>
>> I see that there is the file /library/OSS/Countries.php, is there a
>> chance that you automatically replace "GR" with "Greece" while exporting?
>>
>> Thank you in advance,
>>
>> Andreas
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Andreas Polyrakis
>> GR-IX Manager // GRNET NOC Technical Manager
>> GRNET - Networking Research and Education
>> 7, Kifisias Av., 115 23, Athens
>> t: +30 210 7474249 | c: +30 697 2832 445 | f: +30 210 7474490
>>
>> Follow us: www.grnet.gr
>> Twitter: @grnet_gr | Facebook: @grnet.gr
>> LinkedIn: grnet | YouTube: GRNET EDET
>>
>>
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> Unsubscribe or change options here:
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
>
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
More information about the ixpmanager
mailing list