summaryrefslogtreecommitdiffstats
path: root/toscalib/utils/tosca_operate.pyc
blob: b411bd2987d9ed6b37a04bbb6e64fb390b148196 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 35 f0 69 5a 63 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 00 73 68 00 00 00 64 00 ....5.iZc............@...sh...d.
0020 00 64 01 00 6c 00 00 6d 01 00 5a 01 00 01 64 00 00 64 02 00 6c 02 00 5a 02 00 64 00 00 64 02 00 .d..l..m..Z...d..d..l..Z..d..d..
0040 6c 03 00 5a 03 00 64 02 00 64 03 00 84 01 00 5a 05 00 64 02 00 64 04 00 84 01 00 5a 06 00 64 05 l..Z..d..d.....Z..d..d.....Z..d.
0060 00 84 00 00 5a 07 00 64 06 00 84 00 00 5a 08 00 64 07 00 84 00 00 5a 09 00 64 08 00 84 00 00 5a ....Z..d.....Z..d.....Z..d.....Z
0080 0a 00 64 02 00 53 28 09 00 00 00 69 ff ff ff ff 28 01 00 00 00 74 04 00 00 00 4e 6f 64 65 4e 63 ..d..S(....i....(....t....NodeNc
00a0 03 00 00 00 06 00 00 00 05 00 00 00 43 00 00 00 73 f1 00 00 00 7c 00 00 6a 00 00 7d 03 00 7c 01 ............C...s....|..j..}..|.
00c0 00 7c 03 00 6a 01 00 6b 07 00 72 66 00 64 01 00 74 02 00 7c 00 00 6a 03 00 83 01 00 17 7d 04 00 .|..j..k..rf.d..t..|..j......}..
00e0 7c 00 00 6a 03 00 64 02 00 17 7c 00 00 5f 03 00 74 04 00 7c 00 00 7c 04 00 64 00 00 83 03 00 7d |..j..d...|.._..t..|..|..d.....}
0100 05 00 74 06 00 6a 07 00 64 03 00 7c 04 00 17 64 04 00 17 83 01 00 01 7c 05 00 53 7c 02 00 64 00 ..t..j..d..|...d.......|..S|..d.
0120 00 6b 08 00 72 ac 00 74 08 00 7c 03 00 6a 01 00 7c 01 00 19 6a 09 00 83 01 00 64 05 00 17 74 02 .k..r..t..|..j..|...j.....d...t.
0140 00 7c 00 00 6a 03 00 83 01 00 17 7d 04 00 7c 00 00 6a 03 00 64 02 00 17 7c 00 00 5f 03 00 6e 06 .|..j......}..|..j..d...|.._..n.
0160 00 7c 02 00 7d 04 00 74 04 00 7c 00 00 7c 04 00 7c 03 00 6a 01 00 7c 01 00 19 83 03 00 7d 05 00 .|..}..t..|..|..|..j..|......}..
0180 7c 00 00 6a 0a 00 7c 05 00 83 01 00 01 74 06 00 6a 07 00 64 03 00 7c 04 00 17 64 04 00 17 83 01 |..j..|......t..j..d..|...d.....
01a0 00 01 7c 05 00 53 28 06 00 00 00 4e 74 08 00 00 00 75 6e 6b 6e 6f 77 6e 5f 69 01 00 00 00 73 0a ..|..S(....Nt....unknown_i....s.
01c0 00 00 00 4e 65 77 20 6e 6f 64 65 3a 20 73 06 00 00 00 20 61 64 64 65 64 74 01 00 00 00 5f 28 0b ...New.node:.s.....addedt...._(.
01e0 00 00 00 74 02 00 00 00 64 62 74 0a 00 00 00 4e 4f 44 45 5f 54 59 50 45 53 74 03 00 00 00 73 74 ...t....dbt....NODE_TYPESt....st
0200 72 74 0a 00 00 00 6e 6f 64 65 5f 69 6e 64 65 78 52 00 00 00 00 74 04 00 00 00 4e 6f 6e 65 74 07 rt....node_indexR....t....Nonet.
0220 00 00 00 6c 6f 67 67 69 6e 67 74 05 00 00 00 64 65 62 75 67 74 0d 00 00 00 5f 67 65 74 5f 62 61 ...loggingt....debugt...._get_ba
0240 73 65 6e 61 6d 65 74 04 00 00 00 6e 61 6d 65 74 09 00 00 00 5f 61 64 64 5f 6e 6f 64 65 28 06 00 senamet....namet...._add_node(..
0260 00 00 74 08 00 00 00 74 65 6d 70 6c 61 74 65 74 09 00 00 00 74 79 70 65 5f 6e 61 6d 65 74 09 00 ..t....templatet....type_namet..
0280 00 00 6e 6f 64 65 5f 6e 61 6d 65 52 03 00 00 00 74 08 00 00 00 6e 65 77 5f 6e 61 6d 65 74 08 00 ..node_nameR....t....new_namet..
02a0 00 00 6e 65 77 5f 6e 6f 64 65 28 00 00 00 00 28 00 00 00 00 73 46 00 00 00 2f 55 73 65 72 73 2f ..new_node(....(....sF.../Users/
02c0 61 73 32 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 43 41 45 2f 74 6f 73 63 61 5f 6c 61 62 2f as206k/Documents/DCAE/tosca_lab/
02e0 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 63 61 5f 6f 70 65 72 61 74 65 2e 70 79 74 toscalib/utils/tosca_operate.pyt
0300 10 00 00 00 5f 63 72 65 61 74 65 5f 6e 65 77 5f 6e 6f 64 65 09 00 00 00 73 1e 00 00 00 00 01 09 ...._create_new_node....s.......
0320 02 0f 01 13 01 10 01 12 01 15 01 04 02 0c 01 27 01 13 02 06 02 19 02 0d 02 15 01 63 03 00 00 00 ...............'...........c....
0340 06 00 00 00 03 00 00 00 43 00 00 00 73 c8 00 00 00 7c 00 00 6a 00 00 7d 03 00 7c 02 00 64 00 00 ........C...s....|..j..}..|..d..
0360 6b 08 00 72 4d 00 7c 03 00 6a 02 00 7c 01 00 19 6a 03 00 64 01 00 17 74 04 00 7c 00 00 6a 05 00 k..rM.|..j..|...j..d...t..|..j..
0380 83 01 00 17 64 01 00 17 7d 04 00 7c 00 00 6a 05 00 64 02 00 17 7c 00 00 5f 05 00 6e 1b 00 7c 02 ....d...}..|..j..d...|.._..n..|.
03a0 00 64 03 00 6b 02 00 72 62 00 64 04 00 7d 04 00 6e 06 00 7c 02 00 7d 04 00 74 06 00 6a 07 00 7c .d..k..rb.d..}..n..|..}..t..j..|
03c0 03 00 6a 02 00 7c 01 00 19 83 01 00 7d 05 00 7c 05 00 6a 08 00 7c 04 00 83 01 00 01 7c 00 00 6a ..j..|......}..|..j..|......|..j
03e0 09 00 6a 0a 00 7c 05 00 6a 09 00 83 01 00 01 7c 00 00 6a 0b 00 6a 0a 00 7c 05 00 6a 0b 00 83 01 ..j..|..j......|..j..j..|..j....
0400 00 01 7c 00 00 6a 0c 00 6a 0a 00 7c 05 00 6a 0c 00 83 01 00 01 7c 00 00 53 28 05 00 00 00 4e 52 ..|..j..j..|..j......|..S(....NR
0420 02 00 00 00 69 01 00 00 00 74 09 00 00 00 4e 4f 5f 50 52 45 46 49 58 74 00 00 00 00 28 0d 00 00 ....i....t....NO_PREFIXt....(...
0440 00 52 03 00 00 00 52 07 00 00 00 74 09 00 00 00 54 45 4d 50 4c 41 54 45 53 52 0b 00 00 00 52 05 .R....R....t....TEMPLATESR....R.
0460 00 00 00 74 0a 00 00 00 74 65 6d 70 5f 69 6e 64 65 78 74 04 00 00 00 63 6f 70 79 74 08 00 00 00 ...t....temp_indext....copyt....
0480 64 65 65 70 63 6f 70 79 74 0e 00 00 00 5f 75 70 64 61 74 65 5f 70 72 65 66 69 78 74 06 00 00 00 deepcopyt...._update_prefixt....
04a0 69 6e 70 75 74 73 74 06 00 00 00 75 70 64 61 74 65 74 07 00 00 00 6f 75 74 70 75 74 73 74 09 00 inputst....updatet....outputst..
04c0 00 00 6e 6f 64 65 5f 64 69 63 74 28 06 00 00 00 52 0d 00 00 00 52 0e 00 00 00 74 0b 00 00 00 70 ..node_dict(....R....R....t....p
04e0 72 65 66 69 78 5f 6e 61 6d 65 52 03 00 00 00 74 06 00 00 00 70 72 65 66 69 78 74 08 00 00 00 6e refix_nameR....t....prefixt....n
0500 65 77 5f 74 65 6d 70 28 00 00 00 00 28 00 00 00 00 73 46 00 00 00 2f 55 73 65 72 73 2f 61 73 32 ew_temp(....(....sF.../Users/as2
0520 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 43 41 45 2f 74 6f 73 63 61 5f 6c 61 62 2f 74 6f 73 06k/Documents/DCAE/tosca_lab/tos
0540 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 63 61 5f 6f 70 65 72 61 74 65 2e 70 79 74 14 00 00 calib/utils/tosca_operate.pyt...
0560 00 5f 63 72 65 61 74 65 5f 6e 65 77 5f 74 65 6d 70 6c 61 74 65 21 00 00 00 73 1a 00 00 00 00 01 ._create_new_template!...s......
0580 09 01 0c 01 25 01 13 01 0c 01 09 02 06 02 16 01 0d 01 13 01 13 01 13 01 63 03 00 00 00 03 00 00 ....%...................c.......
05a0 00 03 00 00 00 43 00 00 00 73 43 00 00 00 7c 01 00 7c 00 00 6a 00 00 6b 07 00 72 2f 00 74 01 00 .....C...sC...|..|..j..k..r/.t..
05c0 6a 02 00 64 01 00 7c 01 00 17 64 02 00 17 7c 00 00 6a 03 00 17 83 01 00 01 74 04 00 53 7c 00 00 j..d..|...d...|..j.......t..S|..
05e0 6a 00 00 7c 01 00 19 6a 05 00 7c 02 00 83 01 00 53 28 03 00 00 00 4e 73 16 00 00 00 4e 6f 20 70 j..|...j..|.....S(....Ns....No.p
0600 72 6f 70 65 72 74 79 20 77 69 74 68 20 6e 61 6d 65 20 73 0d 00 00 00 20 69 6e 20 74 68 65 20 6e roperty.with.name.s.....in.the.n
0620 6f 64 65 20 28 06 00 00 00 74 0a 00 00 00 70 72 6f 70 65 72 74 69 65 73 52 08 00 00 00 74 07 00 ode.(....t....propertiesR....t..
0640 00 00 77 61 72 6e 69 6e 67 52 0b 00 00 00 74 05 00 00 00 46 61 6c 73 65 74 07 00 00 00 5f 61 73 ..warningR....t....Falset...._as
0660 73 69 67 6e 28 03 00 00 00 74 04 00 00 00 6e 6f 64 65 74 0d 00 00 00 70 72 6f 70 65 72 74 79 5f sign(....t....nodet....property_
0680 6e 61 6d 65 74 05 00 00 00 76 61 6c 75 65 28 00 00 00 00 28 00 00 00 00 73 46 00 00 00 2f 55 73 namet....value(....(....sF.../Us
06a0 65 72 73 2f 61 73 32 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 43 41 45 2f 74 6f 73 63 61 5f ers/as206k/Documents/DCAE/tosca_
06c0 6c 61 62 2f 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 63 61 5f 6f 70 65 72 61 74 65 lab/toscalib/utils/tosca_operate
06e0 2e 70 79 74 16 00 00 00 5f 61 73 73 69 67 6e 5f 70 72 6f 70 65 72 74 79 5f 76 61 6c 75 65 32 00 .pyt...._assign_property_value2.
0700 00 00 73 08 00 00 00 00 02 0f 01 1c 01 04 01 63 04 00 00 00 05 00 00 00 03 00 00 00 43 00 00 00 ..s............c............C...
0720 73 87 00 00 00 7c 01 00 7c 00 00 6a 00 00 6b 07 00 72 2f 00 74 01 00 6a 02 00 64 01 00 7c 01 00 s....|..|..j..k..r/.t..j..d..|..
0740 17 64 02 00 17 7c 00 00 6a 03 00 17 83 01 00 01 74 04 00 53 7c 00 00 6a 00 00 7c 01 00 19 7d 04 .d...|..j.......t..S|..j..|...}.
0760 00 7c 02 00 7c 04 00 6a 05 00 6b 07 00 72 73 00 74 01 00 6a 02 00 64 03 00 7c 02 00 17 64 02 00 .|..|..j..k..rs.t..j..d..|...d..
0780 17 7c 00 00 6a 03 00 17 64 04 00 17 7c 01 00 17 83 01 00 01 74 04 00 53 7c 04 00 6a 05 00 7c 02 .|..j...d...|.......t..S|..j..|.
07a0 00 19 6a 06 00 7c 03 00 83 01 00 53 28 05 00 00 00 4e 73 18 00 00 00 4e 6f 20 63 61 70 61 62 69 ..j..|.....S(....Ns....No.capabi
07c0 6c 69 74 79 20 77 69 74 68 20 6e 61 6d 65 20 73 0d 00 00 00 20 69 6e 20 74 68 65 20 6e 6f 64 65 lity.with.name.s.....in.the.node
07e0 20 73 16 00 00 00 4e 6f 20 70 72 6f 70 6f 65 72 74 79 20 77 69 74 68 20 6e 61 6d 65 73 0c 00 00 .s....No.propoerty.with.names...
0800 00 20 63 61 70 61 62 69 6c 69 74 79 20 28 07 00 00 00 74 0c 00 00 00 63 61 70 61 62 69 6c 69 74 ..capability.(....t....capabilit
0820 69 65 73 52 08 00 00 00 52 23 00 00 00 52 0b 00 00 00 52 24 00 00 00 52 22 00 00 00 52 25 00 00 iesR....R#...R....R$...R"...R%..
0840 00 28 05 00 00 00 52 26 00 00 00 74 08 00 00 00 63 61 70 5f 6e 61 6d 65 74 09 00 00 00 70 72 6f .(....R&...t....cap_namet....pro
0860 70 5f 6e 61 6d 65 52 28 00 00 00 74 08 00 00 00 63 61 70 5f 69 74 65 6d 28 00 00 00 00 28 00 00 p_nameR(...t....cap_item(....(..
0880 00 00 73 46 00 00 00 2f 55 73 65 72 73 2f 61 73 32 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 ..sF.../Users/as206k/Documents/D
08a0 43 41 45 2f 74 6f 73 63 61 5f 6c 61 62 2f 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 CAE/tosca_lab/toscalib/utils/tos
08c0 63 61 5f 6f 70 65 72 61 74 65 2e 70 79 74 21 00 00 00 5f 61 73 73 69 67 6e 5f 63 61 70 61 62 69 ca_operate.pyt!..._assign_capabi
08e0 6c 69 74 79 5f 70 72 6f 70 65 72 74 79 5f 76 61 6c 75 65 39 00 00 00 73 10 00 00 00 00 02 0f 01 lity_property_value9...s........
0900 1c 01 04 01 0d 02 0f 01 24 01 04 01 63 03 00 00 00 05 00 00 00 03 00 00 00 43 00 00 00 73 c4 00 ........$...c............C...s..
0920 00 00 74 00 00 7d 03 00 78 2a 00 7c 00 00 6a 01 00 44 5d 1f 00 7d 04 00 7c 04 00 6a 02 00 7c 01 ..t..}..x*.|..j..D]..}..|..j..|.
0940 00 6b 02 00 72 10 00 7c 04 00 7d 03 00 50 71 10 00 71 10 00 57 7c 03 00 74 00 00 6b 08 00 72 5f .k..r..|..}..Pq..q..W|..t..k..r_
0960 00 74 03 00 6a 04 00 64 01 00 7c 01 00 17 64 02 00 17 7c 00 00 6a 02 00 17 83 01 00 01 74 00 00 .t..j..d..|...d...|..j.......t..
0980 53 74 05 00 7c 02 00 74 06 00 83 02 00 74 00 00 6b 08 00 72 85 00 74 03 00 6a 04 00 64 03 00 83 St..|..t.....t..k..r..t..j..d...
09a0 01 00 01 74 00 00 53 7c 03 00 6a 07 00 7c 02 00 83 01 00 72 a4 00 7c 03 00 6a 08 00 7c 02 00 83 ...t..S|..j..|.....r..|..j..|...
09c0 01 00 01 6e 1c 00 74 03 00 6a 04 00 64 04 00 7c 00 00 6a 02 00 17 64 05 00 17 7c 01 00 17 83 01 ...n..t..j..d..|..j...d...|.....
09e0 00 01 74 09 00 53 28 06 00 00 00 4e 73 19 00 00 00 4e 6f 20 72 65 71 75 69 72 65 6d 65 6e 74 20 ..t..S(....Ns....No.requirement.
0a00 77 69 74 68 20 6e 61 6d 65 20 73 0d 00 00 00 20 69 6e 20 74 68 65 20 6e 6f 64 65 20 73 35 00 00 with.name.s.....in.the.node.s5..
0a20 00 4e 6f 64 65 20 76 61 6c 75 65 20 73 68 6f 75 6c 64 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 .Node.value.should.be.passed.to.
0a40 72 65 71 75 69 72 65 6d 65 6e 74 20 61 73 73 69 67 6e 6d 65 6e 74 73 29 00 00 00 49 6e 76 61 6c requirement.assignments)...Inval
0a60 69 64 20 72 65 71 75 69 72 65 6d 65 6e 74 20 66 75 6c 66 69 6c 6c 6d 65 6e 74 20 66 6f 72 20 6e id.requirement.fulfillment.for.n
0a80 6f 64 65 20 73 02 00 00 00 2d 3e 28 0a 00 00 00 52 24 00 00 00 74 0c 00 00 00 72 65 71 75 69 72 ode.s....->(....R$...t....requir
0aa0 65 6d 65 6e 74 73 52 0b 00 00 00 52 08 00 00 00 52 23 00 00 00 74 0a 00 00 00 69 73 69 6e 73 74 ementsR....R....R#...t....isinst
0ac0 61 6e 63 65 52 00 00 00 00 74 0c 00 00 00 5f 76 65 72 69 66 79 5f 6e 6f 64 65 52 25 00 00 00 74 anceR....t...._verify_nodeR%...t
0ae0 04 00 00 00 54 72 75 65 28 05 00 00 00 52 26 00 00 00 74 10 00 00 00 72 65 71 75 69 72 65 6d 65 ....True(....R&...t....requireme
0b00 6e 74 5f 6e 61 6d 65 52 28 00 00 00 74 11 00 00 00 72 65 71 75 69 72 65 6d 65 6e 74 5f 66 6f 75 nt_nameR(...t....requirement_fou
0b20 6e 64 74 03 00 00 00 72 65 71 28 00 00 00 00 28 00 00 00 00 73 46 00 00 00 2f 55 73 65 72 73 2f ndt....req(....(....sF.../Users/
0b40 61 73 32 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 43 41 45 2f 74 6f 73 63 61 5f 6c 61 62 2f as206k/Documents/DCAE/tosca_lab/
0b60 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 63 61 5f 6f 70 65 72 61 74 65 2e 70 79 74 toscalib/utils/tosca_operate.pyt
0b80 19 00 00 00 5f 61 73 73 69 67 6e 5f 72 65 71 75 69 72 65 6d 65 6e 74 5f 76 61 6c 75 65 45 00 00 ...._assign_requirement_valueE..
0ba0 00 73 1e 00 00 00 00 02 06 01 10 01 0f 01 06 01 08 01 0c 01 1c 01 04 01 15 01 0d 01 04 02 0f 01 .s..............................
0bc0 10 02 1c 03 63 01 00 00 00 02 00 00 00 03 00 00 00 43 00 00 00 73 21 00 00 00 7c 00 00 6a 00 00 ....c............C...s!...|..j..
0be0 64 01 00 83 01 00 7d 01 00 7c 01 00 74 01 00 7c 01 00 83 01 00 64 02 00 18 19 53 28 03 00 00 00 d.....}..|..t..|.....d....S(....
0c00 4e 74 01 00 00 00 2e 69 01 00 00 00 28 02 00 00 00 74 05 00 00 00 73 70 6c 69 74 74 03 00 00 00 Nt.....i....(....t....splitt....
0c20 6c 65 6e 28 02 00 00 00 52 0b 00 00 00 74 05 00 00 00 6e 61 6d 65 73 28 00 00 00 00 28 00 00 00 len(....R....t....names(....(...
0c40 00 73 46 00 00 00 2f 55 73 65 72 73 2f 61 73 32 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 43 .sF.../Users/as206k/Documents/DC
0c60 41 45 2f 74 6f 73 63 61 5f 6c 61 62 2f 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 63 AE/tosca_lab/toscalib/utils/tosc
0c80 61 5f 6f 70 65 72 61 74 65 2e 70 79 52 0a 00 00 00 5b 00 00 00 73 04 00 00 00 00 01 0f 01 28 0b a_operate.pyR....[...s........(.
0ca0 00 00 00 74 17 00 00 00 74 6f 73 63 61 6c 69 62 2e 74 65 6d 70 6c 61 74 65 73 2e 6e 6f 64 65 52 ...t....toscalib.templates.nodeR
0cc0 00 00 00 00 52 17 00 00 00 52 08 00 00 00 52 07 00 00 00 52 12 00 00 00 52 21 00 00 00 52 29 00 ....R....R....R....R....R!...R).
0ce0 00 00 52 2e 00 00 00 52 36 00 00 00 52 0a 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 ..R....R6...R....(....(....(....
0d00 73 46 00 00 00 2f 55 73 65 72 73 2f 61 73 32 30 36 6b 2f 44 6f 63 75 6d 65 6e 74 73 2f 44 43 41 sF.../Users/as206k/Documents/DCA
0d20 45 2f 74 6f 73 63 61 5f 6c 61 62 2f 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 6f 73 63 61 E/tosca_lab/toscalib/utils/tosca
0d40 5f 6f 70 65 72 61 74 65 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 05 00 00 00 73 0e 00 00 _operate.pyt....<module>....s...
0d60 00 10 01 18 03 0c 18 0c 11 09 07 09 0c 09 16 ...............