Create the edge with the NSX REST API

Hello

I am trying to create a new benefit using the REST API, but I get the following error over and over again: the server has refused the request because the request entity is in a format not supported by the resource for the requested method.

I use using a xml model provided by the nsx_61_api.pdf and all the "ids" settings are ok. Can anyone tell my what of wrong in my XML?

I'm able to get a list of the existing edges using GET on https:// < nsxmgr-ip > /api/4.0/edges/

In this case, I use the same URL, but with the post OFFICE instead. In the body, I put the following XML code.

< edge >
<datacenterMoid>datacenter-2</datacenterMoid>
    < name > MyName-Edge-01 < / name >
    < holding > Default < / holding >
<vseLogLevelemergency</vseLogLevel> >
<devices>
<applianceSize>compact</applianceSize>
        < appliance >
<resourcePoolId>resgroup-5050</resourcePoolId>
<datastoreId>datastore-104</datastoreId>
        < / appliance >
    < / appliances >

    < vnics >
        < vnic >
            < index > 0 < / index >
            < name > uplink01 < / name >
            < type > uplink < / type >
<portgroupId>virtualwire-10</portgroupId>
<addressGroups>
                < addressGroup >
<primaryAddress>10.0.0.1</primaryAddress>
<secondaryAddresses>
                        < ipAddress > 10.0.0.2 < / ipAddress >
                        < ipAddress > 10.0.0.3 < / ipAddress >
<>of theipAddress10.0.0.4</> of theipAddress
</secondaryAddresses>
<subnetPrefixLength>29</subnetPrefixLength>
                < / addressGroup >
            < / addressGroups >
            < MTU > 1600 < / MTU >
<enableProxyArp>false</enableProxyArp>
<enableSendRedirects>true</enableSendRedirects>
<isConnected>true</isConnected>
<inShapingPolicy>
<averageBandwidth>20000000</averageBandwidth>
<peakBandwidth>20000000</peakBandwidth>
<burstSize>0</burstSize>
                < enabled > true < / enabled >
                < inherited > false < / inherited >
</inShapingPolicy>
<outShapingPolicy>
<averageBandwidth>20000000</averageBandwidth>
<peakBandwidth>20000000</peakBandwidth>
                < burstSize > 0 < / burstSize >
                < enabled > true < / enabled >
                < inherited > false < / inherited >
</outShapingPolicy>
        < / vnic >
    < / vnics >
<cliSettings>
<>theusernameadmin</> user name
<password># 123456 PasssworD</> password
<remoteAccess>true</remoteAccess>
    < / cliSettings >
< / edge >


Thank you very much

D.

Finally, I discovered.

You must add the header without papers:

XML:application / xml

Don't ask me why this non-standard header is not documented.

D.

Tags: VMware

Similar Questions

  • create the document using the CMIS REST API

    Hello! I would like to integrate my java application with Oracle Webcenter via the REST API of CMIS. I can read, delete documents, but have some problem with creating one.

    I get success only when I create document (type = "/ ucmserver / IDC:GlobalProfile") with the name "idcPrimaryFile". In other cases I have the exception:

    oracle.webcenter.content.integration.RepositoryException: November 12, 2015 08:52:06 oracle.webcenter.content.integration.spi.ucm.DocumentManager mapBinaryPropertiesToTransferFile

    GRAVE: Impossible to perform the action on document with binary because the binary name and the name of the node must be the same, but they are not.  The binary name is XXX and the name of the file is idcPrimaryFile

    My properties:

    Properties =]

    (PropertyIds.OBJECT_TYPE_ID): type.

    (PropertyIds.NAME): name,.

    "/ ucmserver / IDC:GlobalProfile.ora:p:dDocType ':"Application. "

    ' / ucmserver / IDC:GlobalProfile.ora:p:dDocTitle ': 'Test ',.

    ' / ucmserver / IDC:GlobalProfile.ora:p:dSecurityGroup ': 'Public ',.

    ]

    I would appreciate help

    Hello! I solved my problem, but with a workaround.

    I will try to explain the problem and how it is possible to create documents via Oracle Webcenter Content Management API REST CMIS:

    For the next POST request:

    POST/rest/api/cmis/children/ucmserver? UID = IDC:Folder / FLD_USERS & versioningState = none HTTP/1.1

    Host: 192.168.32.192:8888

    User-Agent: Mozilla/5.0 (X 11; Linux x86_64; RV:38.0) Gecko/20100101 Firefox/38.0

    Accept-Encoding: gzip, deflate

    Connection: keep-alive

    Accept-Language: en-US, en; q = 0.5

    Content-Type: application/atom + xml; type = entry

    Cache-Control: no cache

    "http://www.w3.org/2005/Atom' xmlns:cmis ="http://docs.oasis-open.org/ns/cmis/core/200908/"xmlns:cmisra ="http://docs.oasis-open.org/ns/cmis/restatom/200908/"xmlns:chemistry ="http://chemistry.apache.org/">."

    urn: uuid:00000000 - 0000-0000-0000-00000000000

    test

    2015 11-13 T 08: 06:27.014Z

    a text

    Public

    test

    Application

    MyTitle

    / ucmserver / IDC:GlobalProfile

    I get the response from the server

    Error 500 - Internal server error

    oracle.webcenter.content.integration.RepositoryException: 18 November 2015 05:24:04 oracle.webcenter.content.integration.spi.ucm.DocumentManager mapBinaryPropertiesToTransferFile

    GRAVE: Impossible to perform the action on document with binary because the binary name and the name of the node must be the same, but they are not.  The binary name is test , and the name of the file is idcPrimaryFile.

    When the test is the document name.

    This request, I checked with an another compatible services of CMIS (IBM FileNet and OpenCMIS InMemory repository). I created the document with name test it.

    Workaround solution:

    POST request:

    POST/rest/api/cmis/children/ucmserver? UID = IDC:Folder / FLD_USERS & versioningState = none HTTP/1.1

    Host: 192.168.32.192:8888

    User-Agent: Mozilla/5.0 (X 11; Linux x86_64; RV:38.0) Gecko/20100101 Firefox/38.0

    Accept-Encoding: gzip, deflate

    Connection: keep-alive

    Accept-Language: en-US, en; q = 0.5

    Host: 192.168.32.192:8888

    Content-Type: application/atomsvc + xml

    Slug: test

    Cache-Control: no cache

    "http://www.w3.org/2005/Atom' xmlns:cmis ="http://docs.oasis-open.org/ns/cmis/core/200908/"xmlns:cmisra ="http://docs.oasis-open.org/ns/cmis/restatom/200908/"xmlns:chemistry ="http://chemistry.apache.org/">."

    urn: uuid:00000000 - 0000-0000-0000-00000000000

    test

    2015 11-13 T 08: 06:27.014Z

    a text

    Public

    test

    Application

    MyTitle

    / ucmserver / IDC:GlobalProfile

    I created the document with the name test in Oracle Webcenter.

    The differences between applications are:

    Content-Type: application/atomsvc + xml

    Slug: test

    So I'm not sure that the Oracle Webcenter Content Management Service STILL provides "correct" implementation of the OASIS CMIS specification, because I found nothing in therehttp://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html on the Slug query parameter and it is not clear to me how the Oracle Webcenter Content Management REST Service works with Content-type application/atom + xml; type = entry (I mean according to CMIS specification().



    It will be very useful for me to get another point of view. Maybe someone could correct me if I'm wrong.

    Thanks in advance.

  • Access to the VCO rest api vsphere Client Web plugin

    Hello

    I want access to vco rest api vsphere Web Client plugin. I know I can find key holder in UserSession object but I failed generate the Authorization (especially the signature part) header. I'm trying to generate the authorization as described in the message header . But still get the signature verification failed. I can't use java sdk to rest because the user credentials not available for the plugin.

    Could someone help?

    Hello

    Here are a few snippets of the existing plugin that communicates with the vCO using the REST API.

    Please let me know if that is enough or you need something more.

    import java.security.PrivateKey;
    import com.vmware.vim.sso.http.AuthCalculator;
    import com.vmware.vim.sso.http.AuthCalculatorFactory;
    import com.vmware.vim.sso.http.SignatureAlgorithm;
    import com.vmware.vise.vim.security.sso.SsoService;
    
    httpRequest.addHeader("Accept-Language", locale.toString().replace('_', '-'));  // Not sure if this is related
    
    PrivateKey keyPair = ssoService.getHokPrivateKey();  // You should have this already
    SamlToken samlToken = ... // You should have this already
    String currentToken = samlToken.toXml();
    
    String[] token = null;
    if (keyPair != null && currentToken != null) {
       AuthCalculator calc = AuthCalculatorFactory.instance(SignatureAlgorithm.RSA_SHA256);
       token = calc.computeToken(request, keyPair, currentToken);
    }
    
    if (token != null) {
       for (int i = 0; i < token.length; i++) {
          httpRequest.addHeader("Authorization", token[i]);
       }
    }
    

    Try it and let me know if you have any questions.

  • Error when querying the vCO REST API

    I have tries to interrogate vCO for a list of names of workflow but hit problems.  I do a GET request to the following URL by using a client of REST easy:

    https://VCO.domain.local:8281/api/workflows? key = name & maxResult = 5

    Request headers:

    Accept: application/json;v=5.1.1

    Content-Type: application/json;v=5.1.1

    Authorization: Basic 8s7f6s8f698s6f87s68f7 =

    Connection: keep-alive

    Origin: chrome extension: //rest-console-id

    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 Chrome/30.0.1599.69

    I get the answer next, followed by a stack dump:

    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 22px ;}} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 16px ;}} H3 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 14px ;}} BODY {do-family: Tahoma, Arial, without serif; color: black; background-color: white ;}} B {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76 ;}} P {do-family: Tahoma, Arial, without serif;: white background; color: black; do-size: 12px ;}} A {color: black ;}} B.SID {color: black ;}} HR {color: # 525 76 ;} - > < / style > < / head > < body > < h1 > State HTTP 500 - < / h1 > < HR size = "1" = "noshade" noshade > < p > < b > enter < /b > < /p > < p > < b > report Exception message < /b > < u > < / u > < / p > < p > < b > description < /b > < u > the server has} encountered an internal error () that prevented from fulfilling this request. < /u > < / p > < p > < b > exception < /b > < pre > org.springframework.web.util.NestedServletException: processing of the query failed. nested exception is java.lang.NullPointerException

    HOWEVER, the next request will be return 5 ID workflow as expected, only change being the key request parameter.  Any ideas on what I am doing wrong?

    https://VCO.domain.local:8281/api/workflows? key = id & maxResult = 5

    Just checked the source and it seems that when using "keys" to filter the returned properties must always include "id".

    Defining the two should work ? key = name & key = id

    https://vco.domain.local:8281/api/workflows? key = name & key = id & maxResult = 5?

    I'll open a bug and it will fix for the next version of update.

  • Create the item entry APi

    Dear brothers,

    I am creating an API to create entries for the item and when I cal it I found this error
    «* ORA-01400: cannot insert NULL into ('HR'.» "" "PAY_ELEMENT_ENTRIES_F '." " EFFECTIVE_END_DATE') *.
    * ORA-06512: at the 'APPS '. "PAY_ELEMENT_ENTRY_API", line 898. "

    However, the EFFECTIVE_END_DATE is the output parameter and it says that it cannot be null.

    any help in this please?

    Thanks to you all

    Please copy - paste the code that you use.

    Look below for the code example-

    Declare
    --
    l_effective_start_date   date     ;
    l_effective_end_date     date     ;
    l_element_entry_id       number   ;
    l_object_version_number  number   ;
    l_create_warning         boolean  ;
    --
    Begin
    --
    For csr_emp in (select * from vb_temp_es_employee
                    where person_id is not null) loop
    /* Assignment */
    For csr_asg in (Select * from apps.per_all_assignments_f
           where person_id = csr_emp.person_id
           and sysdate between effective_start_date and effective_end_date) loop
    --
    APPS.pay_element_entry_api.create_element_entry
      (p_validate                    =>    false
      ,p_effective_date              =>    csr_asg.effective_start_date
      ,p_business_group_id           =>    4063
      ,p_assignment_id               =>    csr_asg.assignment_id
      ,p_element_link_id             =>    21534 -- Tax Withholding Rates Override
      ,p_entry_type                  =>    'E'
      ,p_creator_type                =>    'F'
      ,p_input_value_id1             =>    159959
      ,p_input_value_id2             =>    159960
      ,p_input_value_id3             =>    159961
      ,p_entry_value1                =>    'A'
      ,p_entry_value2                =>    '100'
      ,p_entry_value3                =>    '1'
      ,p_effective_start_date             => l_effective_start_date
      ,p_effective_end_date               => l_effective_end_date
      ,p_element_entry_id                 => l_element_entry_id
      ,p_object_version_number            => l_object_version_number
      ,p_create_warning                   => l_create_warning
      );
      --
    End loop;
    End loop;
    End;
    

    Also initialize your session before you run the API-

    alter session set nls_language = 'AMERICAN' ;
    
    begin
     apps.fnd_global.apps_initialize(12447,20536,800);  -- user_id, responsibility_id, application_id
     end;
    
    INSERT into fnd_sessions
               (session_id, effective_date)
    SELECT userenv('sessionid'), sysdate
       FROM sys.dual;
    
    select * from per_people_v
    where rownum < 2;
    
  • Question: Is it possible to query a record datacard on the value of the field (REST API)?

    Hi everyone :-)

    URL: / data/Objetpersonnalise / {id}? count = {number} & page = {page} &Search = {}, & orderBy = {orderBy} & lastUpdatedAt = {lastUpdatedAt}

    Can we get a result based on a search query on the value of the field?

    Thank you!

    ADI

    Hello Adi,

    You should be able to query the value of a CDO field via the name of the database field.

    Example: CDO field "City" is the name of the city of '1 '.

    Your query: / data/Objetpersonnalise / {id}? Search = Ville1 = Berlin

  • Uploading images using the REST API from PHP

    Does anyone at - he had success with the download of the images through the Eloqua Rest API using PHP?

    I have the final point, but I can't understand what kind of information needs to go the variable $data.

    That's what I currently have:

    <? PHP

    ini_set ("display_errors", 1);

    include("..) /.. ("/ eloquaRequest.php");

    $eloquaRequest = new EloquaRequest ('Instancename', 'username', 'password', 'https://secure.eloqua.com/API/REST/1.0');

    $data = new stdClass();

    $data-> image = file_get_contents("./easy.jpg");

    $data-> name = 'this is a file name ";

    $data-> filename = "luke.jpg";

    $data-> contentType = "image/jpeg";

    $response = $eloquaRequest-> message (' assets/image/content', $data);

    var_dump ($Response);

    The error I get is the following, but I think that it is a standard response, if your image does not go through correctly:

    Array (1) {[0] = > object (stdClass) #3 (2) {["type"] = > string(9) "FileError" ["requirement"] = > object (stdClass) #4 (3) {["type"] = > string (15) "SizeRequirement" ["maxSize"] = > int (52428800) ["minSize'] = > int (1)}}}

    Thank you

    Hi Phil,

    I had to find that it all the time, it took me several hours. I hope that it allows you to save a headache.

    Eloqua is very strict in dealing with the content-type header; See the comment here for a little explanation; REST API - download Images

    So what you need to do in PHP, is to build the query string for the image of yourself. You can do as follows (to adapt to your needs, not yet tested);

    <>

    [...]

    $img_path = '. / easy.jpg';

    $img_info = getimagesize ($img_path);

    $img_real = realpath ($img_path);

    $data = "-ELOQUA_BOUNDARY\r\n".

    ' Content-Disposition: form-data; name =-"Filedata\"; filename =------"".baseName ($img_real). » \"\r\n ».

    "Content-Type: '. '" $img_info ['mime']. "" \r\n ".

    "\r\n".

    file_get_contents() ($img_real). "" \r\n ".

    ' - ELOQUA_BOUNDARY - ';

    $headers = array ("Content-Length:".strlen ($data),"Content-Type: multipart/form-data;") Boundary = ELOQUA_BOUNDARY");

    $response = $eloquaRequest-> post (' assets/image/content', $data, $headers);

    ?>

    I have also adapted/reconstructed library Eloqua PHP in order to support the "BOLD" part. You must change the executeRequest function and add something like this to support change the request headers;

    curl_setopt ($this-> ch, CURLOPT_HTTPHEADER, $headers);

  • Perspective and visitors to the information using the REST API

    According to this post (Eloqua graphics API), visitors and prospects information is not available with the Eloqua REST API.

    With the Eloqua REST API there is a field that indicates whether a contact is a prospect or visitor?

    Hi Raghu,

    There is a new endpoint API (available with the Summer of Eloqua version), which allows you to retrieve a visitor profile.

    Please find some information on its use here: Eloqua API REST - recovery of visitor profiles

    T.J.

  • How to pass the elqCustomerGUID as well as data of form through the rest API?

    Hey everybody,

    We have our own installer of forms on our front-end server.  We take this data with the basting eloqua (elqCustomerGUID) id and pass it on to our backend.  We then use the Eloqua Rest API to send the form data to Eloqua.  The problem is that I can not understand how to properly send the elqCustomerGUID so that it binds a contact to the the ID.  Need this to display the tracking page to work.

    According to the data of the shipment, it works perfectly - map us the values of their corresponding form ID field and send it.

    Any help would be appreciated!

    Thank you

    Chris

    I just finished using the CURL approach to imitate the real form post that Eloqua uses.  If you look at the html code of the form, you can see the fields, it took:

    elqFormName, elqCustomerGUID, elqCookieWrite, elqSiteID

    and then the htmlNames in any other field that the form is intended.

    If you post all what to "http://s«.$elqSiteID.".t.eloqua.com/e/f2 "in a tone of param query normal-online configuration of the value, it will count as if you clicked on submit on the real shape."

    Hope that helps! If you have any questions just shoot me a message.

  • Is it possible to activate / De Activate campaign via the REST API?

    Hello

    Is it possible to activate / campaigns via the API REST Eloqua activates?

    I was checking out this site on the Eloqua Rest API, but did not see the option http://secure.eloqua.com/api/docs/Static/Rest/2.0/index.htm

    Kind regards

    Aditya

    Yes, for example, to Activate your campaign, use a POST/assets / campaign / active / {id}, where id is the ID of the campaign.

  • Most of the Contacts updated with the help of API bulk?

    I'm just curious to know what the maximum number of contacts that someone was able to update using the largest rest api or if there are published limits?  1000 contacts? 10000? 100000? 1000000?

    Thank you

    Russ

    Hello Russell,

    You can find the post below useful

    http://topliners.Eloqua.com/community/code_it/blog/2013/08/12/data-uploadimport-file-size-limits

    Thank you

  • Interaction with OpsCode Chef HTTP vCenter Orchestrator v5.1 Update 1 REST API

    Interaction with OpsCode Chef HTTP vCenter Orchestrator v5.1 Update 1 REST API

    I need to be able to use the HTTP REST APIs to run commands on the server of leader during the commissioning and decommissioning of virtual machines.

    Chef Server API Documents

    This requires the ability to use the SHA1 algorithm and also the Base64 algorithm in vCenter Orchestrator v5.1 update 1 to create the header of hashes.

    Method: HTTP_METHOD

    Axes of path: HASHED_PATH

    X Ops-content-Hash: HASHED_BODY

    X Ops - Timestamp:TIME

    X Ops - UserId:USERID

    where:

    • HTTP_METHOD is the method used in the API request (GET, POST, and so on)
    • HASHED_PATH is the path of the query (/name_of_endpoint for the server open source) and/organizations/organization_name/name_of_endpoint took the head or private Chef. The HASHED_PATH must be hashed with SHA1 and encoded using Base64 and should not have repeated oblique (/) or end with a bar slash (unless the path is /).
    • The private key must be an RSA key in the SSL .pem file format. This signature is then divided into strings (of not more than 60 characters per line) and placed in the header.

    The server of crypts that header and ensures its content corresponds to the content of unencrypted headers contained in the request. The timestamp of the message is checked to ensure that the request has been received within a reasonable time. An approach to generate the signed headers is to use the authentication mixlib, which is a header based on a class signature of authentication object similar to one used by the Chief customer.

    Any help with this would be greatly appreciated.

    Perfect timing!  I was just finalized this week the docs and test of a package for the Chef Server API:

    CHIEF Server Workflows

    Let me know how it works for you!  Of more if there are other points of termination or I missed scenarios, they should be easy to add.

  • Make a call to REST API through c# to 'change a fixed cost value.

    HI -.

    I am trying to make a call to REST API through c# for "change to a fixed cost value.

    I did successfully the following tasks via c# with the call of the API REMAINS the chargeback manager 2.0

    -Connection to the chargeback manager 2.0

    -Add a custom Chargeback hierarchy

    -Add vCenter Server entity in the hierarchy of Chargeback that was created by the REST API

    -Add the fixed cost model.

    But when I tried to use the REST API to 'change a value of fixed cost' based on the version of the document programming API 2.0.

    He is not successful... Here are the error messages and the code I had.

    Code:

    Public Shared ReadOnly Property ModifiyFixedCost (CookieContainer cookieContainer) as string
    {
    HttpWebRequest request;
    Stream streamReq;
    = request (WebRequest.Create ("https://10.63.11.34/vCenter-CB/api/fixedCost/707/values"); )
    = //request (WebRequest.Create ("https://10.63.11.34/vCenter-CB/api/hierarchy/696/entity/697/costModel/701/fixedCosts/values"); )
    request. CookieContainer = cookieContainer;
    request. Method = "PUT";
    request. KeepAlive = true;
    request. Timeout = 600000;
    request. ContentType = "application/x-www-formulaires-urlencoded; application/x-www-form-urlencoded
    streamReq = request. GetRequestStream();

    Reading XML file.
    String strXML;
    String strCurrentPath = System.IO.Directory.GetCurrentDirectory;
    String strPath = "";
    strPath = strCurrentPath + "\\ModifiyFixedCostXML.txt";

    using (StreamReader sr = new StreamReader (strPath))
    {
    strXML = sr. ReadToEnd();
    }

    String strResp;
    Byte [] byteArray = Encoding.UTF8.GetBytes (strXML);
    streamReq.Write (byteArray, 0, byteArray.Length);
    streamReq.Close ();

    to using (WebResponse response = request. GetResponse())
    {
    Stream streamResp = response. GetResponseStream();
    StreamReader streamReaderResp = new StreamReader (streamResp);
    strResp = streamReaderResp.ReadToEnd ();
    }
    Return strResp;
    }

    XML file:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < application >
    < FixedCosts >
    < FixedCost id = "1" >
    values <>
    < value >
    < cost > 3.14 < / cost >
    < span id = "1" / >
    < / value >
    < / value >
    < / FixedCost >
    < / FixedCosts >
    < / request >

    Error messages;

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < response xmlns =" http://www.VMware.com/vCenter/chargeback/2.0 "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " status = "Failure" > ""

    < majorErrorCode error = '500' minorErrorCode = '0' message = "No such method defined or an API call lack of required arguments. / >

    < / answer >

    Please explain what is the problem here... Is the chargeback REST API c# 2.0 support?

    Thank you

    Yale

    Yale,

    I see the following changes are required in the application:

    1. URL is missing, the startTime and endTime, if the end time is not required to send it as -1. For example: http://localhost: 8080/vCenter-CB/api/fixedCost/553/values? startTime = endTime =-1 & 1340130600000
    2. In XML, fixed cost id must be the same as that mentioned in the URL. XML tag is

    Thank you

    Diomande

  • QUESTION: Can't create a firewall rule to (edge) with the REST API

    Dear Sir

    I am trying to create a firewall rule for simple and basic edge using the REST API.

    I use the REST API guide as a reference on page 158.


    edge-fw-rule.png

    I use the following code (single) in my client REST API (with good content Type (application/xml)):

    < rule >

    < ruleTag > < / ruleTag >

    < name > edge5-rest-rule < / name >

    all < source > < / source >

    < destination > all < / destination >

    < application > all < / application >

    < matchTranslated > true < / matchTranslated >

    < management > in < / direction >

    < action > deny < / action >

    < enabled > false < / enabled >

    < loggingEnabled > true < / loggingEnabled >

    rest-api-rule of the < description > < / description >

    < / rule >

    The error message that I receive is the following:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < error >

    request details invalid <>. Found no match for item rule. < / details >

    < > 223 errorCode < / errorCode >

    < / error >

    The full screenshot of my action REST API is in the screenshot below:

    full-request.png

    Anyone know what I'm doing wrong here?

    Thank you!

    Try this as the body...

    rest-rule

    user

    true

    in

    deny

    fake

    true

    rest-api-rule

  • Unable to create the pool of IP required for configuration VXLAN using the API REST NSX

    Basically, I want to configure VXLAN using the REST API. To set up VXLAN, VMKNic IP addressing accepts DHCP or IP Pool. I decided to go with Pool of IP.

    To create a Pool of IP "NSX-DEV-IPPOOL-01', I used the REST APIs.»

    POST https:// < nsx - ip > /api/2.0/services/ipam/pools/scope/ < id data center >

    < ipamAddressPool >

    < name > NSX-IP-POOL-02 < / name >

    < LG > 24 < / LG >

    < gateway > 10.99.134.1 < / gateway >

    Lab.local < dnsSuffix > < / dnsSuffix >

    < dnsServer1 > 10.99.134.2 < / dnsServer1 >

    < dnsServer2 > < / dnsServer2 >

    < Plages_ip >

    < ipRangeDto >

    < startAddress > 10.99.134.225 < / startAddress >

    < endAddress > 10.99.134.229 < / endAddress >

    < / ipRangeDto >

    < / Plages_ip >

    < / ipamAddressPool >

    Now I can see the Pool of IP in vCenter under NSX Manager-> [NSX-Manager-IP]-> manage-> object-> Pools of IP group.

    nsx_ipPools.png

    But when configuring VXLAN, no IP pool is present.

    nsx_configurev_xlan.png

    Y at - it all the additional steps required after the addition of pool of IP using the REST API?

    Thanks in advance.

    Remove the existing IP pool.  Then recreate the pool by using the API, but instead of using with globalroot-0.

Maybe you are looking for

  • Satellite Pro 6000 - horizontal line on top

    I have a problem with my toshiba Pro 6000 1.2 Ghz, since I installed the new bios or new drivers windows Toshiba video. In fact only 6000 has a screen of 15-inch (and not the 14-inch), and when I start it up I see everything, but with a horizontal li

  • memory matching

    Hello I own HP ProBook 430 G1 and do not here find KTH-X3CL / 4G RAM module to add an another 4 GB. I found Kingston KVR16LS11/4, which is comparable. Now it works in dual channel mode and I tried it's OK? Does mem modules in dual channel must be pai

  • Money Plus Deluxe does not accept the product key

    I bought a new computer - I have Money Plus Deluxe on my old computer.  I installed the software on my new computer, but it does not accept the product key.  How to operate? Moved from the community involvement Center Original title: Money Plus Delux

  • every 60 seconds a 'liveUpd.exe"keeps popping up in the taskbar. How can I get rid of him?

    Every 60 seconds an icon flashes up the taskbar and minimizes the screen I'm. In the process list, I put the finger on it to a 'liveUpd.exe' purpose such that it appears only for a second, I can't complete the process. It does not occur under a clean

  • Blue screen capture

    I get a discharge and it does give me time to read before it restarts. Debug displays: Debug version of Microsoft Windows (R) 6.11.0001.404 X 86Copyright (c) Microsoft Corporation. All rights reserved. Loading dump file [F:\Mini011710-02.dmp]The mini