<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body style="font-family: Calibri; font-size: 11pt;" 
text="#485663" bgcolor="#FFFFFF"><div style="font-size: 
11pt;font-family: Calibri;">Hi Andreas,<br><br>This is pulled from the 
.env file in your IXP Manager installation directory:<br><br>IDENTITY_COUNTRY="Greece"<br><br>You
 should change this to:<br><br>IDENTITY_COUNTRY="GR"<br><br>Nick<br><span>

</span><br><blockquote type="cite" 
cite="mid:f541a19c-d9d1-db44-171a-d0d4b1b53d63@noc.grnet.gr" 
style="border: 0px none ! important;"><div 
xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" 
style="margin:30px 25px 10px 25px;"><div 
style="width:100%;border-top:2px solid #EDF1F4;padding-top:10px;">   <div
 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a style="color:#485664 
!important;padding-right:6px;font-weight:500;text-decoration:none 
!important;" href="mailto:apolyr@noc.grnet.gr" moz-do-not-send="true">Andreas
 Polyrakis</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#909AA4"><span style="padding-left:6px">13 
November 2018 at 09:55</span></font></div>    </div></div><div 
xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" 
__pbrmquotes="true" 
style="color:#909AA4;margin-left:24px;margin-right:24px;">

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  
  
    <p>Hello</p>
    <p>I feed our euro-ix export
      (<a class="moz-txt-link-freetext" 
href="https://portal.gr-ix.gr/api/v4/member-export/ixf/0.7" 
moz-do-not-send="true">https://portal.gr-ix.gr/api/v4/member-export/ixf/0.7</a>)
 to IXPDB
      and I get the following errors:</p>
    <dt style="box-sizing: border-box; line-height: 1.42857;
        font-weight: 700; float: left; width: 160px; overflow: hidden;
        clear: left; text-align: right; text-overflow: ellipsis;
        white-space: nowrap; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; letter-spacing: normal; orphans: 2; text-indent: 0px;
        text-transform: none; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">Type</dt>
      <dd style="box-sizing: border-box; line-height: 1.42857;
        margin-left: 180px; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">Member Export</dd>
      <dt style="box-sizing: border-box; line-height: 1.42857;
        font-weight: 700; float: left; width: 160px; overflow: hidden;
        clear: left; text-align: right; text-overflow: ellipsis;
        white-space: nowrap; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; letter-spacing: normal; orphans: 2; text-indent: 0px;
        text-transform: none; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">URL</dt>
      <dd style="box-sizing: border-box; line-height: 1.42857;
        margin-left: 180px; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;"><a 
href="https://portal.gr-ix.gr/api/v4/member-export/ixf/0.7" 
style="box-sizing: border-box; background-color: transparent;
          color: rgb(51, 51, 51); text-decoration: none; transition: all
          200ms ease-in 0s;" moz-do-not-send="true">https://portal.gr-ix.gr/api/v4/member-export/ixf/0.7</a></dd>
      <dt style="box-sizing: border-box; line-height: 1.42857;
        font-weight: 700; float: left; width: 160px; overflow: hidden;
        clear: left; text-align: right; text-overflow: ellipsis;
        white-space: nowrap; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; letter-spacing: normal; orphans: 2; text-indent: 0px;
        text-transform: none; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">Is imported</dt>
      <dd style="box-sizing: border-box; line-height: 1.42857;
        margin-left: 180px; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;"><span class="glyphicon glyphicon-ok" 
style="box-sizing: border-box; position: relative; top: 1px;
          display: inline-block; font-family: "Glyphicons
          Halflings"; font-style: normal; font-weight: 400;
          line-height: 1; -webkit-font-smoothing: antialiased;"></span><br>
      </dd>
      <dt style="box-sizing: border-box; line-height: 1.42857;
        font-weight: 700; float: left; width: 160px; overflow: hidden;
        clear: left; text-align: right; text-overflow: ellipsis;
        white-space: nowrap; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; letter-spacing: normal; orphans: 2; text-indent: 0px;
        text-transform: none; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">Status</dt>
      <dd style="box-sizing: border-box; line-height: 1.42857;
        margin-left: 180px; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;"><span class="glyphicon glyphicon-remove" 
style="box-sizing: border-box; position: relative; top: 1px;
          display: inline-block; font-family: "Glyphicons
          Halflings"; font-style: normal; font-weight: 400;
          line-height: 1; -webkit-font-smoothing: antialiased;"></span><span> </span><br
 style="box-sizing: border-box;">
        6 errors occurred:<br style="box-sizing: border-box;">
        <br style="box-sizing: border-box;">
        * country code is invalid: 'Greece'<br style="box-sizing:
          border-box;">
        * country code is invalid: 'Greece'<br style="box-sizing:
          border-box;">
        * country code is invalid: 'Greece'<br style="box-sizing:
          border-box;">
        * country code is invalid: 'Greece'<br style="box-sizing:
          border-box;">
        * country code is invalid: 'Greece'<br style="box-sizing:
          border-box;">
        * country code is invalid: 'Greece'</dd>
      <dt style="box-sizing: border-box; line-height: 1.42857;
        font-weight: 700; float: left; width: 160px; overflow: hidden;
        clear: left; text-align: right; text-overflow: ellipsis;
        white-space: nowrap; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; letter-spacing: normal; orphans: 2; text-indent: 0px;
        text-transform: none; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">Last process</dt>
      <dd style="box-sizing: border-box; line-height: 1.42857;
        margin-left: 180px; color: rgb(102, 102, 102); font-family:
        "Open Sans", sans-serif; font-size: 14px; font-style:
        normal; font-variant-ligatures: normal; font-variant-caps:
        normal; font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial;">Nov. 13, 2018, 9:01 a.m.</dd>
    
    <p>IXPDB waits for country code, while our export contains the
      country name.</p>
    <p>Indeed,<br>
    </p>
    <div>{<br>...<br>    "ixp_list": [<br>        {<br>            
"shortname": "GR-IX::Athens",<br>            "name": "Greek Internet 
Exchange",<br>            "country": "Greece",<br>...<br>            
"switch": [<br>                {<br>...<br>                    "name": 
"eie-sw.gr-ix.gr",<br>...<br>                    "city": "Athens",<br>  
                  "country": "Greece",<br>...<br></div>
    <p><br>
    </p>
    <p>However, I cannot find the place where "Greece" is set as a
      country, neither for the IXP nor for the switch.<br>
      For the IXP, I checked the ixp table and it is set correct to
      "GR". <br>
    </p>
    <p>mysql> select * from ixp;<br>
+----+-------------------------+-----------+------------+----------+----------+----------+---------+<br>
      | id | name                    | shortname | address1   | address2
      | address3 | address4 | country |<br>
+----+-------------------------+-----------+------------+----------+----------+----------+---------+<br>
      |  1 | Greek Internet Exchange | GRIX      | Kifisias 7 | NULL    
      | Athens   | 11523    | GR      |<br>
+----+-------------------------+-----------+------------+----------+----------+----------+---------+<br>
    </p>
    <p>I cannot locate any country-related setting for the switch or for
      the corresponding facility.</p>
    <p>Where is this information stored?</p>
    <p>I see that there is the file /library/OSS/Countries.php, is there
      a chance that you automatically replace "GR" with "Greece" while
      exporting? <br>
    </p>
    <p>Thank you in advance,</p>
    <p>Andreas<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div>-- <br>Andreas Polyrakis<br>GR-IX Manager // GRNET NOC 
Technical Manager<br>GRNET - Networking Research and Education<br>7, 
Kifisias Av., 115 23, Athens<br>t: +30 210 7474249 | c: +30 697 2832 445
 | f: +30 210 7474490<br><br>Follow us: <a 
class="moz-txt-link-abbreviated" href="http://www.grnet.gr" 
moz-do-not-send="true">www.grnet.gr</a><br>Twitter: @grnet_gr | 
Facebook: @grnet.gr<br>LinkedIn: grnet | YouTube: GRNET EDET<br></div>
  


<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>INEX
 IXP Manager mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>Unsubscribe or change
 options here: <a class="moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br></div>

</div></blockquote><br></div></body></html>