예제 #1
0
    iid = iid[0]
    iid = int(iid[1::])
#endif

#
# Do not do DNS lookup when distingusihed-name supplied.
#
dist_name = (dest_eid[0] == "'" or dest_eid[-1] == "'")
geos = ["-N", "-S", "-E", "-W"]
geo_string = False
for g in geos:
    if (g in dest_eid): geo_string = True
#endfor

if (dist_name == False and geo_string == False):
    deid = lisp.lisp_gethostbyname(dest_eid)
    if (deid == ""):
        print("Cannot resolve EID name '{}'".format(dest_eid))
        exit(1)
    #endtry
    dest_eid = deid
#endif

ddt_node_addr = lisp.lisp_gethostbyname(ddt_node)
if (ddt_node_addr == ""):
    print("Cannot resolve DDT-node name '{}'".format(ddt_node))
    exit(1)
#endif
ddt_node = ddt_node_addr

#
예제 #2
0
    iIIiIi1iIII1 = iIIiIi1iIII1[0]
    iIIiIi1iIII1 = int(iIIiIi1iIII1[1::])
    if 49 - 49: Ii1I / OoO0O00.II111iiii
    if 68 - 68: i11iIiiIii % I1ii11iIi11i + i11iIiiIii
    if 31 - 31: II111iiii.I1IiiI
    if 1 - 1: Oo0Ooo / o0oOOo0O0Ooo % iII111i * IiII.i11iIiiIii
    if 2 - 2: I1ii11iIi11i * I11i - iIii1I11I1II1 + I1IiiI.oO0o % iII111i
ooOOOoOooOoO = (IIi[0] == "'" or IIi[-1] == "'")
o00oooO0Oo = ["-N", "-S", "-E", "-W"]
o0O0OOO0Ooo = False
for iiIiI in o00oooO0Oo:
    if (iiIiI in IIi): o0O0OOO0Ooo = True
    if 6 - 6: IiII.oO0o * OoOoOO00 - Ii1I - IiII
    if 45 - 45: I1IiiI - OoooooooOO + iIii1I11I1II1.I1IiiI * I11i
if (ooOOOoOooOoO == False and o0O0OOO0Ooo == False):
    oOOO = lisp.lisp_gethostbyname(IIi)
    if (oOOO == ""):
        print "Cannot resolve EID name '{}'".format(IIi)
        exit(1)
        if 16 - 16: OoO0O00 / I1ii11iIi11i + Ii1I
    IIi = oOOO
    if 65 - 65: O0
    if 68 - 68: OOooOOo % I1Ii111
ooO00OO0 = lisp.lisp_gethostbyname(i11iIIIIIi1)
if (ooO00OO0 == ""):
    print "Cannot resolve Map-Resolver name '{}'".format(i11iIIIIIi1)
    exit(1)
    if 31 - 31: iII111i % iII111i % I11i
i11iIIIIIi1 = ooO00OO0
if 69 - 69: OoO0O00 - Oo0Ooo + i1IIi / I1Ii111
if 49 - 49: O0.iII111i
예제 #3
0
    iid = iid[0]
    iid = int(iid[1::])
#endif

#
# Do not do DNS lookup when distingusihed-name or geo-string supplied.
#
dist_name = (dest_eid[0] == "'" or dest_eid[-1] == "'")
geos = ["-N", "-S", "-E", "-W"]
geo_string = False
for g in geos:
    if (g in dest_eid): geo_string = True
#endfor

if (dist_name == False and geo_string == False):
    deid = lisp.lisp_gethostbyname(dest_eid)
    if (deid == ""):
        print "Cannot resolve EID name '{}'".format(dest_eid)
        exit(1)
    #endtry
    dest_eid = deid
#endif

mr_addr = lisp.lisp_gethostbyname(mr)
if (mr_addr == ""):
    print "Cannot resolve Map-Resolver name '{}'".format(mr)
    exit(1)
#endif
mr = mr_addr

#
예제 #4
0
    III1ii1iII = III1ii1iII[0]
    III1ii1iII = int(III1ii1iII[1::])
    if 54 - 54: I1IiiI % II111iiii % II111iiii
    if 13 - 13: o0oOOo0O0Ooo.Ii1I
    if 19 - 19: I11i + ooOoO0o
    if 53 - 53: OoooooooOO.i1IIi
    if 18 - 18: o0oOOo0O0Ooo
I1i1I1II = (O000oo[0] == "'" or O000oo[-1] == "'")
i1 = ["-N", "-S", "-E", "-W"]
IiIiiI = False
for I1I in i1:
    if (I1I in O000oo): IiIiiI = True
    if 80 - 80: OoOoOO00 - OoO0O00
    if 87 - 87: oO0o / I11i - i1IIi * OOooOOo / OoooooooOO.O0
if (I1i1I1II == False and IiIiiI == False):
    iii11I111 = lisp.lisp_gethostbyname(O000oo)
    if (iii11I111 == ""):
        print("Cannot resolve EID name '{}'".format(O000oo))
        exit(1)
        if 63 - 63: OoO0O00 * oO0o - iII111i * O0
    O000oo = iii11I111
    if 17 - 17: I1ii11iIi11i % II111iiii
    if 13 - 13: I1Ii111 % OoOoOO00 - i11iIiiIii.I1IiiI + II111iiii
II111ii1II1i = lisp.lisp_gethostbyname(i1iIIi1)
if (II111ii1II1i == ""):
    print("Cannot resolve DDT-node name '{}'".format(i1iIIi1))
    exit(1)
    if 59 - 59: O0 + I1IiiI + IiII % I1IiiI
i1iIIi1 = II111ii1II1i
if 70 - 70: iII111i * I1ii11iIi11i
if 46 - 46: ooOoO0o / OoO0O00
예제 #5
0
    i11Iiii = i11Iiii[0]
    i11Iiii = int(i11Iiii[1::])
    if 23 - 23: o0oOOo0O0Ooo.II111iiii
    if 98 - 98: iIii1I11I1II1 % OoOoOO00 * I1ii11iIi11i * OoOoOO00
    if 45 - 45: I1Ii111.OoOoOO00
    if 83 - 83: oO0o.iIii1I11I1II1.I1ii11iIi11i
    if 31 - 31: Ii1I.Ii1I - o0oOOo0O0Ooo / OoO0O00 + ooOoO0o * I1IiiI
O0ooOooooO = (ii11iIi1I[0] == "'" or ii11iIi1I[-1] == "'")
o00O = ["-N", "-S", "-E", "-W"]
OOO0OOO00oo = False
for Iii111II in o00O:
    if (Iii111II in ii11iIi1I): OOO0OOO00oo = True
    if 9 - 9: OoO0O00
    if 33 - 33: ooOoO0o.iII111i
if (O0ooOooooO == False and OOO0OOO00oo == False):
    O0oo0OO0oOOOo = lisp.lisp_gethostbyname(ii11iIi1I)
    if (O0oo0OO0oOOOo == ""):
        print "Cannot resolve EID name '{}'".format(ii11iIi1I)
        exit(1)
        if 35 - 35: IiII % I1IiiI
    ii11iIi1I = O0oo0OO0oOOOo
    if 70 - 70: iII111i * I1ii11iIi11i
    if 46 - 46: ooOoO0o / OoO0O00
OOOoO0O0o = lisp.lisp_gethostbyname(iI111I11I1I1)
if (OOOoO0O0o == ""):
    print "Cannot resolve DDT-node name '{}'".format(iI111I11I1I1)
    exit(1)
    if 55 - 55: OOooOOo + ooOoO0o.i1IIi - I1ii11iIi11i.O0 - ooOoO0o
iI111I11I1I1 = OOOoO0O0o
if 92 - 92: iII111i.I11i + o0oOOo0O0Ooo
if 28 - 28: i1IIi * Oo0Ooo - o0oOOo0O0Ooo * IiII * Ii1I / OoO0O00