<?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 Re: Persistent Storage in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6774998#M1770</link>
    <description>&lt;P&gt;Does this code seem right in terms of having something stored with Cassandra and then fetched and written to log?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	try {
		CassandraStorable&amp;lt;String, String&amp;gt; storable = new CassandraStorable&amp;lt;String, String&amp;gt;("Some ID");
		storable.setColumn(new StringColumn&amp;lt;String&amp;gt;(ColumnName.valueOf("Some Data"), "This is a test"));
		logger.info("Cassandra info stored was " + storable.getColumn(ColumnName.valueOf("Some Data")).getValue());
	} catch (Exception e1) {
		e1.printStackTrace();
	}&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Aug 2015 14:02:05 GMT</pubDate>
    <dc:creator>ssrirama</dc:creator>
    <dc:date>2015-08-14T14:02:05Z</dc:date>
    <item>
      <title>Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6768920#M1763</link>
      <description>&lt;P&gt;Anyone have an app that uses the persistent storage libraries? I see facilities for encoding and decoding objects but I'm not sure what the code is for actually telling the controller to persistent store something.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 19:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6768920#M1763</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-07-27T19:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6770519#M1764</link>
      <description>&lt;P&gt;Ssrirama,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will get back to you since I will need to research this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;P&gt;CoE SDN Team&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6770519#M1764</guid>
      <dc:creator>Carlos</dc:creator>
      <dc:date>2015-07-30T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6770916#M1765</link>
      <description>&lt;P&gt;Sounds good, thanks for looking into this.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 13:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6770916#M1765</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-07-31T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6770970#M1766</link>
      <description>&lt;P&gt;Ssrirama,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the information I was able to&amp;nbsp;gathered:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The VAN SDN controller uses Apache Cassandra for persistent storage (&lt;A href="https://community.hpe.com/t5/forums/replypage/board-id/sdn-development/message-id/cassandra.apache.org" target="_blank"&gt;cassandra.apache.org&lt;/A&gt;). Cassanda uses a commit log method to maintain database integrity – basically data being written is first appended to a commitlog. This log is rapidly flushed from write-behind cache to disk and then the database is updated -&amp;nbsp; similar to SQL Server, Oracle, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can find a developer walk-through for writing/reading the database at &lt;A href="http://www.planetcassandra.org/try-cassandra/" target="_blank"&gt;www.planetcassandra.org/try-cassandra/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also check the HP VAN SDN Controller 2.5 Administrator Guide pages 22 and 39.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the above information is what you were looking for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6770970#M1766</guid>
      <dc:creator>Carlos</dc:creator>
      <dc:date>2015-07-31T16:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6771004#M1767</link>
      <description>&lt;P&gt;So clarify this for me, if I want to use to the Cassandra database to store my application data, is&amp;nbsp;the Javadoc for Cassandra independent of the HP SDN SDK? If the libraries are in the HP SDN SDK and the javadoc is in the API Javadoc, can you provide the path to the library? E.g. "import org.apache.x.x"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The video walkthrough you provided was very useful since I haven't worked with Cassandra before, but ultimately I am interested in the code...in the (Java)&amp;nbsp;programmatic interaction with Cassandra. I don't know where to find the methods and classes I need in the API.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 18:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6771004#M1767</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-07-31T18:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6771459#M1768</link>
      <description>&lt;P&gt;Ideally, I'd like to see some sample code that uses Cassandra for persistent storage.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 14:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6771459#M1768</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-08-03T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6771518#M1769</link>
      <description>&lt;P&gt;Ssrirama,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of my coleauges provided me with this information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The VAN SDN Controller uses a Data Access Object (DAO) to interface with Cassandra.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The controller software is packaged in a zip file that includes the developer kit files (hp-sdn-sdk-2.5.15.zip). Inside the SDK zip file, java templates for some persistence layer DAO methods can be found. For example, the java code for the Cassandra QueryManager DAO is in lib/templates/persistence/dao. QueryManager.java is attached for your reference. There is also a dao-api folder in the zip file which defines a basic interface for persistence layer queries (Cassandra database read and write operations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a good explanation of the persistence subsystem beginning on page 79 of the attached pdf (VAN SDN Controller Programmers Guide).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CoE SDN Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6771518#M1769</guid>
      <dc:creator>Carlos</dc:creator>
      <dc:date>2015-08-03T18:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6774998#M1770</link>
      <description>&lt;P&gt;Does this code seem right in terms of having something stored with Cassandra and then fetched and written to log?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	try {
		CassandraStorable&amp;lt;String, String&amp;gt; storable = new CassandraStorable&amp;lt;String, String&amp;gt;("Some ID");
		storable.setColumn(new StringColumn&amp;lt;String&amp;gt;(ColumnName.valueOf("Some Data"), "This is a test"));
		logger.info("Cassandra info stored was " + storable.getColumn(ColumnName.valueOf("Some Data")).getValue());
	} catch (Exception e1) {
		e1.printStackTrace();
	}&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Aug 2015 14:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6774998#M1770</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-08-14T14:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6775053#M1771</link>
      <description>&lt;P&gt;What concerns me about that previous piece of code is that at compile time, Maven doesn't recognize Cassandra.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project sdn-sbyod: Compilation failure: Compilation failure:
[ERROR] /home/ssrirama/sdn-sbyod/sbyod-bl/src/main/java/com/omitted/sbyod/SecureBYODManager.java:[40,50] error: package com.hp.util.persistence.cassandra.entitymgr does not exist
[ERROR] /home/ssrirama/sdn-sbyod/sbyod-bl/src/main/java/com/omitted/sbyod/SecureBYODManager.java:[41,57] error: package com.hp.util.persistence.cassandra.entitymgr.column does not exist
[ERROR] /home/ssrirama/sdn-sbyod/sbyod-bl/src/main/java/com/omitted/sbyod/SecureBYODManager.java:[42,57] error: package com.hp.util.persistence.cassandra.entitymgr.column does not exist&lt;/PRE&gt;&lt;P&gt;Why isn't it able to resolve the persistence libraries?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2015 17:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6775053#M1771</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-08-14T17:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6781288#M1773</link>
      <description>&lt;P&gt;Ssrirama,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the system didn't post my post. But, the information you requested is not something that we in the HP FORUM support. If you need this kind of support you will need to open a case with HP Support and it will be fee based.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CoE SDN team.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6781288#M1773</guid>
      <dc:creator>Carlos</dc:creator>
      <dc:date>2015-09-04T13:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Storage</title>
      <link>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6803076#M1774</link>
      <description>&lt;P&gt;Anyone other than HP Support have an answer to my question? I've updated the project pom.xml files but it still says that the symbol can't be found&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2015 17:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/persistent-storage/m-p/6803076#M1774</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-10-17T17:33:08Z</dc:date>
    </item>
  </channel>
</rss>

