<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vidya Theiventhiran on Medium]]></title>
        <description><![CDATA[Stories by Vidya Theiventhiran on Medium]]></description>
        <link>https://medium.com/@vidya.theiventhiran?source=rss-d34e73ee53e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6IiSg2u-7d_LwGauK_ukdw.jpeg</url>
            <title>Stories by Vidya Theiventhiran on Medium</title>
            <link>https://medium.com/@vidya.theiventhiran?source=rss-d34e73ee53e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 00:34:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vidya.theiventhiran/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Create your first assembly descriptor in Cloud Pak for Network Automation (CP4NA)]]></title>
            <link>https://medium.com/ibm-cloud-paks-help-and-guidance-from-ibm-cloud/create-your-first-assembly-descriptor-in-cloud-pak-for-network-automation-cp4na-ab6721617447?source=rss-d34e73ee53e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab6721617447</guid>
            <category><![CDATA[telco]]></category>
            <category><![CDATA[network-automation]]></category>
            <category><![CDATA[ibm-cloud]]></category>
            <category><![CDATA[ibm-cloud-pak]]></category>
            <category><![CDATA[software-defined-networks]]></category>
            <dc:creator><![CDATA[Vidya Theiventhiran]]></dc:creator>
            <pubDate>Mon, 24 May 2021 04:11:38 GMT</pubDate>
            <atom:updated>2021-05-24T04:11:38.841Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDV08_BKoaEv9WlPyMohTQ.png" /></figure><p><strong>Objective</strong>: To create an assembly descriptor using an existing resource package.</p><p><strong>This article is for users </strong>who intend to learn about assembly descriptors and instances in CloudPak for Network Automation ( CP4NA ), earlier called Telco Network Cloud Orchestrator ( TNC-O ) / Agile Lifecycle Manager ( ALM ).</p><p><strong>Pre-Requisite</strong>: It is expected that you have a running instance of CloudPak for Network Automation ( CP4NA ) and able to use it for the below exercise.</p><p>The package used in this exercise is t_simple. This is a simple resource that is packaged and will be pushed to the CP4NA server. Here, dev refers to the environment name, as defined in lmctl-config.yaml</p><p><strong>Steps for creating an assembly descriptor:</strong></p><ol><li>As shown in the below image, lmctl command is used to push a package from the local machine to the CP4NA server.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*lkm1ihYhgj3gvt7zc3G-ZA.png" /></figure><p>2. There is a VNF component ( resource ) in the package. Which is pushed into the Resource Manager</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*8t6WNzYi6my_r_89ee9EZg.png" /></figure><p>3. The t_simple resource descriptor is added. Click Create to add a new assembly descriptor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*9Krm1MGUOt8hZDQfxor56w.png" /></figure><p>4. Click on Open to open the assembly descriptor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*H02AZOagvRPd9OQJDngN5Q.png" /></figure><p>5. Click on Add Element and provide the below values. Use the descriptor — resource descriptor. Choose the t_simple resource descriptor. Click Add.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*qse9kr0Shj4A6AiuVhZiJw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*EZwoFpSSBPxYt3qj3R3A6A.png" /></figure><p>6. Drop down the Component_Resource and observe the properties</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*SN354ZY2BLoyrK-fLtRtvw.png" /></figure><p>7. Add the deploymentLocation and resourceManager values, which in this exercise are devstack and defaultrm. Observe that the properties are updated. Save the configuration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*dLtwcIkxyLSaUAM_CWaZrQ.png" /></figure><h3>Steps to create an instance using the assembly descriptor</h3><ol><li>From the CP4NA UI, expand Operations -&gt; Recent Assembly Instances. Click on Create</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*bam0OhwPLTaVRhXuM3mPzA.png" /></figure><p>2. Properties are blank because the resource does not have any properties. Click Next</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*GEPW7Db4UfkcyzAPUkJmZQ.png" /></figure><p>3. Review the configuration and click Create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*8eWT-fQkMawEZopZmKgDiA.png" /></figure><p>4. The below image shows that the instance is being installed. Click the 3 dots and select Open Execution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*y-0t-uPjI9daBO-Et2mbLQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*pyFXSNCM9CvVRFcWz5JEmw.png" /></figure><p>5. Observe the above image and note the execution steps. In this, we have installed the instance successfully.</p><p><strong>Conclusion:</strong></p><p>Through this article, we have observed the steps to create a descriptor and install an instance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab6721617447" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-cloud-paks-help-and-guidance-from-ibm-cloud/create-your-first-assembly-descriptor-in-cloud-pak-for-network-automation-cp4na-ab6721617447">Create your first assembly descriptor in Cloud Pak for Network Automation (CP4NA)</a> was originally published in <a href="https://medium.com/ibm-cloud-paks-help-and-guidance-from-ibm-cloud">IBM Cloud Pak’s Help and Guidance from IBM Expert Labs Asia Pacific</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configure Behavior Testing in CloudPak for Network Automation ( CP4NA )]]></title>
            <link>https://medium.com/ibm-cloud-paks-help-and-guidance-from-ibm-cloud/configure-behavior-testing-in-cloudpak-for-network-automation-cp4na-f07bbbb7169?source=rss-d34e73ee53e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f07bbbb7169</guid>
            <category><![CDATA[ibm-cloud]]></category>
            <category><![CDATA[software-defined-networks]]></category>
            <category><![CDATA[network-automation]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[cloud-pak]]></category>
            <dc:creator><![CDATA[Vidya Theiventhiran]]></dc:creator>
            <pubDate>Sun, 23 May 2021 14:40:24 GMT</pubDate>
            <atom:updated>2021-05-23T14:40:24.582Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WDyW2Fn2li5WrE_KQET9Pg.png" /></figure><p><strong>Use Case</strong>: Validate changing states of services</p><p><strong>This article is for users </strong>who are familiar with CloudPak for Network Automation ( CP4NA ), earlier called Telco Network Cloud Orchestrator ( TNC-O ) / Agile LifeCycle Manager ( ALM ) and intend to learn how to configure basic behavior tests.</p><p><strong>Pre-Requisite</strong>: It is expected that you have a running instance of CloudPak for Network Automation ( CP4NA ) and able to use it for the below exercise.</p><p>Launch the UI of CP4NA</p><p>The package used for this exercise is a simple assembly descriptor named my_first_assembly. This is created for demo purpose with 2 Component Resources whose descriptor is a package called t_simple.</p><p><strong>Steps:</strong></p><p>1) Open Designer -&gt; Assembly Designer</p><p>2) Open the assembly descriptor — my_first_assembly ( version 1.0)</p><p>3) Observe that there are 2 tabs at the bottom of the page, one capturing the assembly design ( Composition ) and the other denoting behavior testing.</p><p>4) Click on tab Behavior Testing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*wBSGQPfxXdaniIep6_isWA.png" /></figure><p>5) The Behavior testing tab opens.</p><p>6) There are 3 tabs within this: Assembly Configuration, Scenarios and Results as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*QvBRYLYbxu3Qmq59ChhvpA.png" /></figure><p><em>7)</em> Click on <strong><em>Create Assembly Configuration</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*ouaILUHwsJurD9AzFUhfYQ.png" /></figure><p>8) This opens the Create Assembly Configuration pop up window</p><p>9) In the ‘Create Assembly Configuration’ pop up window provide the configuration name, description, property values as shown below and click Save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*X2TX_362HroRk0x0aRPgVQ.png" /></figure><p>10) The newly created assembly configuration is shown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*MMCxkEqsuSfjv848QE4ixQ.png" /></figure><p>11) Go to Scenarios tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*uqXSG-J_WCmxRhrlmB63eQ.png" /></figure><p>12) Create a scenario called Lifecycle Test</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*ORwCaX5mgiyvo_gt_kWmQw.png" /></figure><p>13) Open the created Lifecycle scenario</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*L-Piyb7wVxyc-N3yfUgH_A.png" /></figure><p>14) Choose an Assembly Configuration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*yZvNLwZPSMJOo3uSpulnpQ.png" /></figure><p>15) Change the state to Installed at the start of the test phase and change it to Inactive after the scenario is complete. The scenario is set to Inactive in the lab so we are able to observe the same. If the same is set to Uninstall instead of Inactive, the service will be uninstalled and we will not be able to observe the execution. In order to re-run the test either change the state to Uninstall or manually uninstall the service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*lmblmfz30PhYnFP_T0ECWA.png" /></figure><p>16) After assembly configuration, choose the scenario from the Scenario Palette</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*LRrGRIEJvRC2C8CaPNzS3A.png" /></figure><p><em>17)</em> Drag the scenario template from palette <em>“When I change the state of an assembly”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*i-WuOAQbTeuk-NX1lFjBxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*CJ70uez-ZjbRtI-PlFO-QQ.png" /></figure><p>18) Add other scenarios below the existing scenario as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*nnZDR37F8dE_S2lFAppBGA.png" /></figure><p>19) After adding the scenarios, click “<em>Run Scenario</em>” to test the assembly behavior</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*Rz1ros0BWpsD9sLSA-0bxA.png" /></figure><p>20) The scenario execution progress is displayed as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*UPe-vwBsg5yDpdmcZFSe7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*mtAs7d4Dzh4h-9D9CLIYkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*fffvw-k6RlqttWiRsIjOFA.png" /></figure><p>21) After the scenario is run, Go to Recent Assembly Instances and observe that a new instance with the name sut has been created. Also observe the state of the instance has been set to Inactive, as we have configured assembly state to be set to Inactive after testing. If uninstall state was chosen, then the instance also gets uninstalled, once the testing completes. Initiating another behavior test will attempt to create an instance with the same name ( sut ) and then fail. So, before commencing another behavior test, ensure that the instance from earlier test is no longer available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*5cbcZY3xqSLzCPliikQO_A.png" /></figure><p>22) Observe that the results of the behavior testing are available in the Results tab as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*Jtt7tvfM6bxzGb460zY9dg.png" /></figure><p>23) If the state is set to Inactive for the sut, ensure it is uninstalled, before running the test case again.</p><p><strong>Viewing the execution of test scenarios.</strong></p><p>Go to Recent Assembly Instances, on the sut row, click the 3 dots next to Open button and select Execution History</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*OKMMXLuOcYunnqRSE5yMZA.png" /></figure><p>This shows the history of execution capturing the change of states as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*kM8Uxf7REfa08onz6WMdHw.png" /></figure><p><strong>Conclusion:</strong></p><p>In this article, we discussed the steps to configure behavior testing for lifecycle states. The same can be extended to validate metrics and other automations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f07bbbb7169" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-cloud-paks-help-and-guidance-from-ibm-cloud/configure-behavior-testing-in-cloudpak-for-network-automation-cp4na-f07bbbb7169">Configure Behavior Testing in CloudPak for Network Automation ( CP4NA )</a> was originally published in <a href="https://medium.com/ibm-cloud-paks-help-and-guidance-from-ibm-cloud">IBM Cloud Pak’s Help and Guidance from IBM Expert Labs Asia Pacific</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>