<?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: adding a node to a nodeset in Tools</title>
    <link>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516486#M228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this : &lt;A href="https://community.cisco.com/thread/63696"&gt;Adding new NodeSet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2016 20:28:44 GMT</pubDate>
    <dc:creator>aaikepae</dc:creator>
    <dc:date>2016-03-21T20:28:44Z</dc:date>
    <item>
      <title>adding a node to a nodeset</title>
      <link>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516485#M227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a nodeSet that was already created and now I want to add new nodes to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing this when the nodeset is expanded. My code goes as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;topo.on('beforeExpandNodeSet', (sender, nodeSet) =&amp;gt; {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lanInfo = this._topologyClient.getLANInfo(nodeSet.model().getData().id);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Fetch the information of the nodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i: number = 0; i &amp;lt; lanInfo.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var node = topo.addNode(lanInfo[i], undefined, nodeSet);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't seem to do it. In fact, if I go through the code of the function addNode, I find out that it doesn't have a third parameter (parentNodeSet), even though it says it does, in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I add this newly-created nodes to the nodeset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 16:35:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516485#M227</guid>
      <dc:creator>a.alhamali931</dc:creator>
      <dc:date>2016-03-17T16:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: adding a node to a nodeset</title>
      <link>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516486#M228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this : &lt;A href="https://community.cisco.com/thread/63696"&gt;Adding new NodeSet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 20:28:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516486#M228</guid>
      <dc:creator>aaikepae</dc:creator>
      <dc:date>2016-03-21T20:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: adding a node to a nodeset</title>
      <link>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516487#M229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Abu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea when this will be added to the formal API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:38:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516487#M229</guid>
      <dc:creator>a.alhamali931</dc:creator>
      <dc:date>2016-03-22T06:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: adding a node to a nodeset</title>
      <link>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516488#M230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Hi AbdulRahman AlHamali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I already add to current develop trunk. Will release that in 3 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Abu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:26:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/adding-a-node-to-a-nodeset/m-p/3516488#M230</guid>
      <dc:creator>aaikepae</dc:creator>
      <dc:date>2016-04-19T15:26:05Z</dc:date>
    </item>
  </channel>
</rss>

