<?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 add simple-gateway batch support? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-simple-gateway-batch-support/m-p/3056#M269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the 'add simple-gateway' command support the --batch flag? I don't think that it does because when I try it under R80.10, I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Expert@gw-ee0f93:0]# mgmt_cli add simple-gateway --batch testbatch.csv&lt;/P&gt;&lt;P&gt;Username: admin&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;Line 2: code: "generic_err_invalid_parameter_name"&lt;/P&gt;&lt;P&gt;message: "Unrecognized parameter [name]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executed command failed. Changes are discarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;testbatch.csv is quite simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name,ip-address&lt;/P&gt;&lt;P&gt;"gw1","172.23.34.230"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried it with and without the quotes to no avail. Right before this post, I tried creation by hand and it succeeded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love batch gateway creation (ESPECIALLY for the SMB devices)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 21:42:54 GMT</pubDate>
    <dc:creator>Mark_Halsall</dc:creator>
    <dc:date>2017-03-06T21:42:54Z</dc:date>
    <item>
      <title>add simple-gateway batch support?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-simple-gateway-batch-support/m-p/3056#M269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the 'add simple-gateway' command support the --batch flag? I don't think that it does because when I try it under R80.10, I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Expert@gw-ee0f93:0]# mgmt_cli add simple-gateway --batch testbatch.csv&lt;/P&gt;&lt;P&gt;Username: admin&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;Line 2: code: "generic_err_invalid_parameter_name"&lt;/P&gt;&lt;P&gt;message: "Unrecognized parameter [name]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executed command failed. Changes are discarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;testbatch.csv is quite simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name,ip-address&lt;/P&gt;&lt;P&gt;"gw1","172.23.34.230"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried it with and without the quotes to no avail. Right before this post, I tried creation by hand and it succeeded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love batch gateway creation (ESPECIALLY for the SMB devices)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:42:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-simple-gateway-batch-support/m-p/3056#M269</guid>
      <dc:creator>Mark_Halsall</dc:creator>
      <dc:date>2017-03-06T21:42:54Z</dc:date>
    </item>
  </channel>
</rss>

