<?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: unable to modify colors in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19757#M1224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached the working command examples both from GUI and from server CLI -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69281_GUI.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69282_CLI.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Aug 2018 14:00:47 GMT</pubDate>
    <dc:creator>Robert_Decker</dc:creator>
    <dc:date>2018-08-19T14:00:47Z</dc:date>
    <item>
      <title>unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19753#M1220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to modify objects colors using mgmt_cli. it's working with simple colors.&lt;/P&gt;&lt;P&gt;but doesn't on two or three words colors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;add host name&amp;nbsp;host_1 ip-address an_ip color "dark orange"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;error: The parameters of add-host command should be provided in pairs (key and value). You have provided an odd number of parameters which suggests that you are probably missing a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same issue when using set_host&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:58:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19753#M1220</guid>
      <dc:creator>Guillaume_six</dc:creator>
      <dc:date>2018-08-16T12:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19754#M1221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version is this, tested on R80.20M1 and all seems well, but colors have changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 14:06:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19754#M1221</guid>
      <dc:creator>Joshua_Hatter</dc:creator>
      <dc:date>2018-08-16T14:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19755#M1222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is R80.10 version&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:20:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19755#M1222</guid>
      <dc:creator>Guillaume_six</dc:creator>
      <dc:date>2018-08-17T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19756#M1223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work. Are you using mgmt_cli over SSH at the MGMT machine? How do you provide the username and password?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 06:10:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19756#M1223</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-08-19T06:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19757#M1224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached the working command examples both from GUI and from server CLI -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69281_GUI.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/69282_CLI.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 14:00:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19757#M1224</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-08-19T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19758#M1225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you run it exactly like Robert's examples, then please proceed with a support ticket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 14:22:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19758#M1225</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-08-19T14:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19759#M1226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably the missing link is the Case Sensitivity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 18:17:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19759#M1226</guid>
      <dc:creator>Maarten_Sjouw</dc:creator>
      <dc:date>2018-08-19T18:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19760#M1227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at the color picker in the gui, there is a list there.&lt;/P&gt;&lt;P&gt;robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 10:23:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19760#M1227</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-08-20T10:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19761#M1228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i hadn't test it, but it indeed works when i run the command direclty in a ssh window ...&lt;/P&gt;&lt;P&gt;unfortunately it does not in my bash script ... the script read mgmt_cli cmds from an input file and apply them one by one.&lt;/P&gt;&lt;P&gt;and it does work with single words color ... i'm certainly missing something in the below command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_MSG=`mgmt_cli -s ${_SESSION_ID_F} ${1}`&lt;/P&gt;&lt;P&gt;$1 is&amp;nbsp;&lt;EM&gt;add host name o365_40.81.156.153_32 ip-address 40.81.156.153 color "dark orange"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thought it&amp;nbsp; was maybe a mgmt_cli issue ... it's apparently not.&lt;/P&gt;&lt;P&gt;anyway, i will not ask you to troubleshoot my bash, thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for information, it's not case sensitiv, And&amp;nbsp;when entering a &lt;STRONG&gt;wrong color&lt;/STRONG&gt;, it replies with the below error message that contains the list of allowed colors.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;code: "generic_err_invalid_parameter"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;message: "Invalid parameter for [color]. The invalid value [DarkOrange] should be replaced by one of the following values: [aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow]"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your&amp;nbsp;help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 11:46:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19761#M1228</guid>
      <dc:creator>Guillaume_six</dc:creator>
      <dc:date>2018-08-20T11:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: unable to modify colors</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19762#M1229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the error you posted, there is no space in DarkOrange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 12:51:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/unable-to-modify-colors/m-p/19762#M1229</guid>
      <dc:creator>Joshua_Hatter</dc:creator>
      <dc:date>2018-08-20T12:51:07Z</dc:date>
    </item>
  </channel>
</rss>

