<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic YAML - Virtual service definition file - disk section in Network Devices</title>
    <link>https://community.cisco.com/t5/network-devices/yaml-virtual-service-definition-file-disk-section/m-p/3532255#M335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We develop a service VM, working on ISR4300/4400 as a service container, and we have a problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we power off the ISR by button or unplug the cable (hard power off), some files in our VM get corruted and fail the integrity check on VM start. In consequence of which, our daemons do not start properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to turn off caching in YAML definition file in the disk section?&lt;/P&gt;&lt;P&gt;I mean this thing (from libvirt XML):&lt;/P&gt;&lt;P&gt;&amp;lt;disk type="file" device="disk"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;driver name="qemu" type="qcow2" &lt;STRONG&gt;cache="none"&lt;/STRONG&gt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, it comes like this:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;lt;disk type="file" device="disk"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; &amp;lt;driver name="qemu" type="qcow2"&lt;SPAN style="font-size: 13.3333px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Turnng off caching manually via vman_.xml file on ISR seems to work for us, and files dont get corrupted after hard power off.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is it possible to turn it off in YAML definition file to put it in our OVA?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2017 13:16:07 GMT</pubDate>
    <dc:creator>CSCO11518558</dc:creator>
    <dc:date>2017-08-29T13:16:07Z</dc:date>
    <item>
      <title>YAML - Virtual service definition file - disk section</title>
      <link>https://community.cisco.com/t5/network-devices/yaml-virtual-service-definition-file-disk-section/m-p/3532255#M335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We develop a service VM, working on ISR4300/4400 as a service container, and we have a problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we power off the ISR by button or unplug the cable (hard power off), some files in our VM get corruted and fail the integrity check on VM start. In consequence of which, our daemons do not start properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to turn off caching in YAML definition file in the disk section?&lt;/P&gt;&lt;P&gt;I mean this thing (from libvirt XML):&lt;/P&gt;&lt;P&gt;&amp;lt;disk type="file" device="disk"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;driver name="qemu" type="qcow2" &lt;STRONG&gt;cache="none"&lt;/STRONG&gt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, it comes like this:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;lt;disk type="file" device="disk"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; &amp;lt;driver name="qemu" type="qcow2"&lt;SPAN style="font-size: 13.3333px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Turnng off caching manually via vman_.xml file on ISR seems to work for us, and files dont get corrupted after hard power off.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is it possible to turn it off in YAML definition file to put it in our OVA?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 13:16:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/yaml-virtual-service-definition-file-disk-section/m-p/3532255#M335</guid>
      <dc:creator>CSCO11518558</dc:creator>
      <dc:date>2017-08-29T13:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: YAML - Virtual service definition file - disk section</title>
      <link>https://community.cisco.com/t5/network-devices/yaml-virtual-service-definition-file-disk-section/m-p/3532256#M336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe there is the capability of mapping the cache parameter from YAML. YAML only maps some of the most common libvert parameters that don't change between versions. I'm checking with some of the developers, but my suspicion is that this isn't something YAML does today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 18:55:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/yaml-virtual-service-definition-file-disk-section/m-p/3532256#M336</guid>
      <dc:creator>bolick</dc:creator>
      <dc:date>2017-08-30T18:55:35Z</dc:date>
    </item>
  </channel>
</rss>

