summaryrefslogtreecommitdiffstats
path: root/app/toscalib/utils/tosca_operate.pyc
blob: 4ebd2643f8c3593b45dd1368f4c6a4c4cb13aef6 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 18 30 78 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 .....0xZc............@...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 4a 00 00 00 2f 55 73 65 72 73 2f ..new_node(....(....sJ.../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 61 70 70 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 app/toscalib/utils/tosca_operate
0300 2e 70 79 74 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 .pyt...._create_new_node....s...
0320 00 00 01 09 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 ...................'...........c
0340 03 00 00 00 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 ............C...s....|..j..}..|.
0360 00 64 00 00 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 .d..k..rM.|..j..|...j..d...t..|.
0380 00 6a 05 00 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 .j......d...}..|..j..d...|.._..n
03a0 1b 00 7c 02 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 ..|..d..k..rb.d..}..n..|..}..t..
03c0 6a 07 00 7c 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 j..|..j..|......}..|..j..|......
03e0 7c 00 00 6a 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 |..j..j..|..j......|..j..j..|..j
0400 0b 00 83 01 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 ......|..j..j..|..j......|..S(..
0420 00 00 4e 52 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 ..NR....i....t....NO_PREFIXt....
0440 28 0d 00 00 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 (....R....R....t....TEMPLATESR..
0460 00 00 52 05 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 ..R....t....temp_indext....copyt
0480 08 00 00 00 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 ....deepcopyt...._update_prefixt
04a0 06 00 00 00 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 ....inputst....updatet....output
04c0 73 74 09 00 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 st....node_dict(....R....R....t.
04e0 00 00 00 70 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 ...prefix_nameR....t....prefixt.
0500 00 00 00 6e 65 77 5f 74 65 6d 70 28 00 00 00 00 28 00 00 00 00 73 4a 00 00 00 2f 55 73 65 72 73 ...new_temp(....(....sJ.../Users
0520 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 6c 61 62 /as206k/Documents/DCAE/tosca_lab
0540 2f 61 70 70 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 /app/toscalib/utils/tosca_operat
0560 65 2e 70 79 74 14 00 00 00 5f 63 72 65 61 74 65 5f 6e 65 77 5f 74 65 6d 70 6c 61 74 65 21 00 00 e.pyt...._create_new_template!..
0580 00 73 1a 00 00 00 00 01 09 01 0c 01 25 01 13 01 0c 01 09 02 06 02 16 01 0d 01 13 01 13 01 13 01 .s..........%...................
05a0 63 03 00 00 00 03 00 00 00 03 00 00 00 43 00 00 00 73 43 00 00 00 7c 01 00 7c 00 00 6a 00 00 6b c............C...sC...|..|..j..k
05c0 07 00 72 2f 00 74 01 00 6a 02 00 64 01 00 7c 01 00 17 64 02 00 17 7c 00 00 6a 03 00 17 83 01 00 ..r/.t..j..d..|...d...|..j......
05e0 01 74 04 00 53 7c 00 00 6a 00 00 7c 01 00 19 6a 05 00 7c 02 00 83 01 00 53 28 03 00 00 00 4e 73 .t..S|..j..|...j..|.....S(....Ns
0600 16 00 00 00 4e 6f 20 70 72 6f 70 65 72 74 79 20 77 69 74 68 20 6e 61 6d 65 20 73 0d 00 00 00 20 ....No.property.with.name.s.....
0620 69 6e 20 74 68 65 20 6e 6f 64 65 20 28 06 00 00 00 74 0a 00 00 00 70 72 6f 70 65 72 74 69 65 73 in.the.node.(....t....properties
0640 52 08 00 00 00 74 07 00 00 00 77 61 72 6e 69 6e 67 52 0b 00 00 00 74 05 00 00 00 46 61 6c 73 65 R....t....warningR....t....False
0660 74 07 00 00 00 5f 61 73 73 69 67 6e 28 03 00 00 00 74 04 00 00 00 6e 6f 64 65 74 0d 00 00 00 70 t...._assign(....t....nodet....p
0680 72 6f 70 65 72 74 79 5f 6e 61 6d 65 74 05 00 00 00 76 61 6c 75 65 28 00 00 00 00 28 00 00 00 00 roperty_namet....value(....(....
06a0 73 4a 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 sJ.../Users/as206k/Documents/DCA
06c0 45 2f 74 6f 73 63 61 5f 6c 61 62 2f 61 70 70 2f 74 6f 73 63 61 6c 69 62 2f 75 74 69 6c 73 2f 74 E/tosca_lab/app/toscalib/utils/t
06e0 6f 73 63 61 5f 6f 70 65 72 61 74 65 2e 70 79 74 16 00 00 00 5f 61 73 73 69 67 6e 5f 70 72 6f 70 osca_operate.pyt...._assign_prop
0700 65 72 74 79 5f 76 61 6c 75 65 32 00 00 00 73 08 00 00 00 00 02 0f 01 1c 01 04 01 63 04 00 00 00 erty_value2...s............c....
0720 05 00 00 00 03 00 00 00 43 00 00 00 73 87 00 00 00 7c 01 00 7c 00 00 6a 00 00 6b 07 00 72 2f 00 ........C...s....|..|..j..k..r/.
0740 74 01 00 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 t..j..d..|...d...|..j.......t..S
0760 7c 00 00 6a 00 00 7c 01 00 19 7d 04 00 7c 02 00 7c 04 00 6a 05 00 6b 07 00 72 73 00 74 01 00 6a |..j..|...}..|..|..j..k..rs.t..j
0780 02 00 64 03 00 7c 02 00 17 64 02 00 17 7c 00 00 6a 03 00 17 64 04 00 17 7c 01 00 17 83 01 00 01 ..d..|...d...|..j...d...|.......
07a0 74 04 00 53 7c 04 00 6a 05 00 7c 02 00 19 6a 06 00 7c 03 00 83 01 00 53 28 05 00 00 00 4e 73 18 t..S|..j..|...j..|.....S(....Ns.
07c0 00 00 00 4e 6f 20 63 61 70 61 62 69 6c 69 74 79 20 77 69 74 68 20 6e 61 6d 65 20 73 0d 00 00 00 ...No.capability.with.name.s....
07e0 20 69 6e 20 74 68 65 20 6e 6f 64 65 20 73 16 00 00 00 4e 6f 20 70 72 6f 70 6f 65 72 74 79 20 77 .in.the.node.s....No.propoerty.w
0800 69 74 68 20 6e 61 6d 65 73 0c 00 00 00 20 63 61 70 61 62 69 6c 69 74 79 20 28 07 00 00 00 74 0c ith.names.....capability.(....t.
0820 00 00 00 63 61 70 61 62 69 6c 69 74 69 65 73 52 08 00 00 00 52 23 00 00 00 52 0b 00 00 00 52 24 ...capabilitiesR....R#...R....R$
0840 00 00 00 52 22 00 00 00 52 25 00 00 00 28 05 00 00 00 52 26 00 00 00 74 08 00 00 00 63 61 70 5f ...R"...R%...(....R&...t....cap_
0860 6e 61 6d 65 74 09 00 00 00 70 72 6f 70 5f 6e 61 6d 65 52 28 00 00 00 74 08 00 00 00 63 61 70 5f namet....prop_nameR(...t....cap_
0880 69 74 65 6d 28 00 00 00 00 28 00 00 00 00 73 4a 00 00 00 2f 55 73 65 72 73 2f 61 73 32 30 36 6b item(....(....sJ.../Users/as206k
08a0 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 61 70 70 2f 74 6f /Documents/DCAE/tosca_lab/app/to
08c0 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 21 00 scalib/utils/tosca_operate.pyt!.
08e0 00 00 5f 61 73 73 69 67 6e 5f 63 61 70 61 62 69 6c 69 74 79 5f 70 72 6f 70 65 72 74 79 5f 76 61 .._assign_capability_property_va
0900 6c 75 65 39 00 00 00 73 10 00 00 00 00 02 0f 01 1c 01 04 01 0d 02 0f 01 24 01 04 01 63 03 00 00 lue9...s................$...c...
0920 00 05 00 00 00 03 00 00 00 43 00 00 00 73 c4 00 00 00 74 00 00 7d 03 00 78 2a 00 7c 00 00 6a 01 .........C...s....t..}..x*.|..j.
0940 00 44 5d 1f 00 7d 04 00 7c 04 00 6a 02 00 7c 01 00 6b 02 00 72 10 00 7c 04 00 7d 03 00 50 71 10 .D]..}..|..j..|..k..r..|..}..Pq.
0960 00 71 10 00 57 7c 03 00 74 00 00 6b 08 00 72 5f 00 74 03 00 6a 04 00 64 01 00 7c 01 00 17 64 02 .q..W|..t..k..r_.t..j..d..|...d.
0980 00 17 7c 00 00 6a 02 00 17 83 01 00 01 74 00 00 53 74 05 00 7c 02 00 74 06 00 83 02 00 74 00 00 ..|..j.......t..St..|..t.....t..
09a0 6b 08 00 72 85 00 74 03 00 6a 04 00 64 03 00 83 01 00 01 74 00 00 53 7c 03 00 6a 07 00 7c 02 00 k..r..t..j..d......t..S|..j..|..
09c0 83 01 00 72 a4 00 7c 03 00 6a 08 00 7c 02 00 83 01 00 01 6e 1c 00 74 03 00 6a 04 00 64 04 00 7c ...r..|..j..|......n..t..j..d..|
09e0 00 00 6a 02 00 17 64 05 00 17 7c 01 00 17 83 01 00 01 74 09 00 53 28 06 00 00 00 4e 73 19 00 00 ..j...d...|.......t..S(....Ns...
0a00 00 4e 6f 20 72 65 71 75 69 72 65 6d 65 6e 74 20 77 69 74 68 20 6e 61 6d 65 20 73 0d 00 00 00 20 .No.requirement.with.name.s.....
0a20 69 6e 20 74 68 65 20 6e 6f 64 65 20 73 35 00 00 00 4e 6f 64 65 20 76 61 6c 75 65 20 73 68 6f 75 in.the.node.s5...Node.value.shou
0a40 6c 64 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 72 65 71 75 69 72 65 6d 65 6e 74 20 61 73 73 69 ld.be.passed.to.requirement.assi
0a60 67 6e 6d 65 6e 74 73 29 00 00 00 49 6e 76 61 6c 69 64 20 72 65 71 75 69 72 65 6d 65 6e 74 20 66 gnments)...Invalid.requirement.f
0a80 75 6c 66 69 6c 6c 6d 65 6e 74 20 66 6f 72 20 6e 6f 64 65 20 73 02 00 00 00 2d 3e 28 0a 00 00 00 ulfillment.for.node.s....->(....
0aa0 52 24 00 00 00 74 0c 00 00 00 72 65 71 75 69 72 65 6d 65 6e 74 73 52 0b 00 00 00 52 08 00 00 00 R$...t....requirementsR....R....
0ac0 52 23 00 00 00 74 0a 00 00 00 69 73 69 6e 73 74 61 6e 63 65 52 00 00 00 00 74 0c 00 00 00 5f 76 R#...t....isinstanceR....t...._v
0ae0 65 72 69 66 79 5f 6e 6f 64 65 52 25 00 00 00 74 04 00 00 00 54 72 75 65 28 05 00 00 00 52 26 00 erify_nodeR%...t....True(....R&.
0b00 00 00 74 10 00 00 00 72 65 71 75 69 72 65 6d 65 6e 74 5f 6e 61 6d 65 52 28 00 00 00 74 11 00 00 ..t....requirement_nameR(...t...
0b20 00 72 65 71 75 69 72 65 6d 65 6e 74 5f 66 6f 75 6e 64 74 03 00 00 00 72 65 71 28 00 00 00 00 28 .requirement_foundt....req(....(
0b40 00 00 00 00 73 4a 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 ....sJ.../Users/as206k/Documents
0b60 2f 44 43 41 45 2f 74 6f 73 63 61 5f 6c 61 62 2f 61 70 70 2f 74 6f 73 63 61 6c 69 62 2f 75 74 69 /DCAE/tosca_lab/app/toscalib/uti
0b80 6c 73 2f 74 6f 73 63 61 5f 6f 70 65 72 61 74 65 2e 70 79 74 19 00 00 00 5f 61 73 73 69 67 6e 5f ls/tosca_operate.pyt...._assign_
0ba0 72 65 71 75 69 72 65 6d 65 6e 74 5f 76 61 6c 75 65 45 00 00 00 73 1e 00 00 00 00 02 06 01 10 01 requirement_valueE...s..........
0bc0 0f 01 06 01 08 01 0c 01 1c 01 04 01 15 01 0d 01 04 02 0f 01 10 02 1c 03 63 01 00 00 00 02 00 00 ........................c.......
0be0 00 03 00 00 00 43 00 00 00 73 21 00 00 00 7c 00 00 6a 00 00 64 01 00 83 01 00 7d 01 00 7c 01 00 .....C...s!...|..j..d.....}..|..
0c00 74 01 00 7c 01 00 83 01 00 64 02 00 18 19 53 28 03 00 00 00 4e 74 01 00 00 00 2e 69 01 00 00 00 t..|.....d....S(....Nt.....i....
0c20 28 02 00 00 00 74 05 00 00 00 73 70 6c 69 74 74 03 00 00 00 6c 65 6e 28 02 00 00 00 52 0b 00 00 (....t....splitt....len(....R...
0c40 00 74 05 00 00 00 6e 61 6d 65 73 28 00 00 00 00 28 00 00 00 00 73 4a 00 00 00 2f 55 73 65 72 73 .t....names(....(....sJ.../Users
0c60 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 6c 61 62 /as206k/Documents/DCAE/tosca_lab
0c80 2f 61 70 70 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 /app/toscalib/utils/tosca_operat
0ca0 65 2e 70 79 52 0a 00 00 00 5b 00 00 00 73 04 00 00 00 00 01 0f 01 28 0b 00 00 00 74 17 00 00 00 e.pyR....[...s........(....t....
0cc0 74 6f 73 63 61 6c 69 62 2e 74 65 6d 70 6c 61 74 65 73 2e 6e 6f 64 65 52 00 00 00 00 52 17 00 00 toscalib.templates.nodeR....R...
0ce0 00 52 08 00 00 00 52 07 00 00 00 52 12 00 00 00 52 21 00 00 00 52 29 00 00 00 52 2e 00 00 00 52 .R....R....R....R!...R)...R....R
0d00 36 00 00 00 52 0a 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4a 00 00 00 2f 55 73 6...R....(....(....(....sJ.../Us
0d20 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_
0d40 6c 61 62 2f 61 70 70 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 lab/app/toscalib/utils/tosca_ope
0d60 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 00 10 01 18 rate.pyt....<module>....s.......
0d80 03 0c 18 0c 11 09 07 09 0c 09 16 ...........