<?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 How to create service model for adding a device in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445929#M385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I referred to &lt;A href="https://community.cisco.com/docs/DOC-74440" target="_blank"&gt;Create a device using REST&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I would like to create a service model for adding a device. Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 12:00:56 GMT</pubDate>
    <dc:creator>kbarve</dc:creator>
    <dc:date>2019-03-01T12:00:56Z</dc:date>
    <item>
      <title>How to create service model for adding a device</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445929#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I referred to &lt;A href="https://community.cisco.com/docs/DOC-74440" target="_blank"&gt;Create a device using REST&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I would like to create a service model for adding a device. Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:00:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445929#M385</guid>
      <dc:creator>kbarve</dc:creator>
      <dc:date>2019-03-01T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create service model for adding a device</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445930#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From NSO's perspective, there aren't any restrictions. A service can be modeled in YANG and then mapped to other models [device/service].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the intended value-add of the above described service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 01:51:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445930#M386</guid>
      <dc:creator>alam.bilal</dc:creator>
      <dc:date>2017-10-09T01:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create service model for adding a device</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445931#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding the device using a service is no problem, the challenge is usually to get SSH keys and sync from the device, this cannot be done from the service create code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating an "add device" action might be an easier approach, unless you want the service semantics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 16:01:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445931#M387</guid>
      <dc:creator>frjansso</dc:creator>
      <dc:date>2017-10-09T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create service model for adding a device</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445932#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Will give a try to create a service model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 16:44:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445932#M388</guid>
      <dc:creator>kbarve</dc:creator>
      <dc:date>2017-10-09T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create service model for adding a device</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445933#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that Fredrik was very careful to say "action".... as opposed to "service"....&lt;/P&gt;&lt;P&gt;if you need to do this in NSO (as compared with any other approaches mentioned), you should do it as an "action" -- not as a service...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:48:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445933#M389</guid>
      <dc:creator>gschudel</dc:creator>
      <dc:date>2017-10-10T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create service model for adding a device</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445934#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to first map your service to create the device entry.&lt;/P&gt;&lt;P&gt;Then kick off your action that Fredrik mentioned (to fetch SSH keys and sync-from) via a kicker instance watching over your service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 06:14:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-create-service-model-for-adding-a-device/m-p/3445934#M390</guid>
      <dc:creator>alam.bilal</dc:creator>
      <dc:date>2017-10-18T06:14:33Z</dc:date>
    </item>
  </channel>
</rss>

