aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/g2
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-08-06 22:02:45 -0400
committerDamjan Marion <dmarion@me.com>2019-09-23 12:40:39 +0000
commit4db04c021de72491a191b799d70976741c4b997b (patch)
tree40adb89c3e0a9701e28c56a849393a2083829755 /src/tools/g2
parent1be8581c6f7c6b45393019fccee69ca53622dee5 (diff)
vppapigen: remove python2 support
vppapigen has been running under python3 for months. Remove the python2 conditional code. In case of an error, explicitly log and return non-0. Type: refactor Change-Id: I20a73e0f2cb875aab6441959a85a35e88c9f8250 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> (cherry picked from commit 2cd3cc8a605a062c7900dbcc3fad53d04723c298)
Diffstat (limited to 'src/tools/g2')
0 files changed, 0 insertions, 0 deletions
#fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
.. _xmlexample01:

The XML File
------------

An example of a file that could be used with the virsh create command.

.. literalinclude:: iperf-vm.xml
   :language: XML
   :emphasize-lines: 5-9, 42-49, 74-81