Get the assignment of the IP to an external network

Hello

as mentioned above, I want the query wo assignment of IP to a given external network organization.

As a goal, I want to know, what external IP number (of a certain external network) is attributed to each organization.

Is it possible to do this via the REST API?

Thanks in advance!

It was something, that I recently looked into after that a colleague has asked about it.

The eaiest IMHO is to use the vCloud API Query Service (http://blogs.vmware.com/vsphere/2012/04/quickly-finding-objects-using-the-vcloud-api-query-service.html)

Here is a screenshot of an external network called "Ext-network-1" for a VCD 5.1 deployment

Step 1 - make a GET to the following URL: https://[VCD - IP] / api / query? type = externalNetwork

Step 2 - this should return a list of NetworkRecords that will be your external networks available, here is a screenshot using FF RestClient

Step 3 - Once you have identified the property "name" of your external network, you will need to do a GET on it's HREF

Step 4 - from here you can see the current range of intellectual property as well as the allocated IP addresses

If you want more details on IP addresses allocated, you will see in the 'link' there is /allocatedAddresses you can do a GET on this URL, which will give you more details

I hope this allows you to get what you are looking for

Tags: VMware

Similar Questions

  • Impossible to download programs, get the error could not access network location %APPDATA%\protector.exe

    Help, please

    I am trying to download the new version of Microsoft Messenger and get up then stop downloading and I gat the message - could access the network % APPDATA%\.--aussi location, I get the same message when trying to domnload i tunes.  CAN ANYONE HELP PLEASE.

    Hi, Neil,.

    FixIt - You receive an "Error 1606" error message when you try to install or remove a program from Microsoft

    http://support.Microsoft.com/kb/886549

    You can also try to create a new user account.  Retry - the same problem occurs in the new account?  If this isn't the case, you have a corrupted profile.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Error 1606: Could not access network location %APPDATA%\protector.exe

    http://forums.techarena.in/operating-systems/1127524.htm

  • Get the add printer error 0x0000000d network

    Hi all, Vista SP2 Ultimate x 86
     
    I'm in dual boot on my HP Pavilion laptop with Vista Ultimate SP2 x 86 and
    XP Pro SP3 x 86. I have a home network with a wireless router and run it
    wireless laptop.  I have 2 desktop computers that are also wireless on the network
    and connect to the printer via a switch. I have an another desktop which is
    hard wired to the modem with a printer connected directly and is also in
    the network. All desktop computers can access the printer in question through the
    the network and cannot therefore have the XP Pro on the laptop of the subject.  They are all set
    place correctly, the network can share files and these very well.  However,.
    When I try to add/connect the printer to the Vista on the laptop to the
    Network on a desktop printer, I get the operation could not be completed:
    error 0x0000000d.  I've been on the Internet looking for a 3 days
    solution, but so far, none of the recommendations, the command prompts for
    registry changes worked.  The drivers for this printer are installed on
    the laptop in the Vista operating system and up to date.
     
    When I try to add the printer from Office Word 2007 I get the error: 'the
    Active directory domain services is currently unavailable. »
     
    What is strange is that I can access the printer of every machine on the
    network, but the computer of one office. I can access all the drives and files on
    This same office via the network, but not the printer. I know that the
    printer works when I switch on the desk to the other of all the
    other machines, is not the switch that is at fault.  Also, I have
    the same Vista Ultimate, SP2 x 86 installed on two other desktops, which doubles
    Boot with Win7 SP1, and they have no problem accessing the printer via the
    network.
     
    Any suggestion would be appreciated. I'm really confused as to what
    could cause the error or the place where the problems at this stage, as it is
    only this a Vista on a laptop that is causing the problem.
     
    Jan :)
     
     

    After days of troubleshooting and follows all the information from the Internet and same MS supports with no luck, at my wits end, I finally uninstalled the printer in Device Manager driver, once again and then reinstalled it, but this time chose the second of the two ports USB for that and said he did not replace the existing driver. There was the new driver of the same name, but with the (copy 1) on this subject. I went to another desktop computer and tried to add the printer again, and for any reason or madness, connected to the printer (1 copy), as did the Win7 on this desktop and Vista on the laptop. Now, all computers are connected once more.

    Jan :)

    "Jan Ilacqua," <*** email="" address="" is="" removed="" for="" privacy="" ***="">wrote in messageNews: * e-mail address is removed from the privacy *...

    Hi all, Vista SP2 Ultimate x 86
     
    I'm in dual boot on my HP Pavilion laptop with Vista Ultimate SP2 x 86 and
    XP Pro SP3 x 86. I have a home network with a wireless router and run it
    wireless laptop.  I have 2 desktop computers that are also wireless on the network
    and connect to the printer via a switch. I have an another desktop which is
    hard wired to the modem with a printer connected directly and is also in
    the network. All desktop computers can access the printer in question through the
    the network and cannot therefore have the XP Pro on the laptop of the subject.  They are all set
    place correctly, the network can share files and these very well.  However,.
    When I try to add/connect the printer to the Vista on the laptop to the
    Network on a desktop printer, I get the operation could not be completed:
    error 0x0000000d.  I've been on the Internet looking for a 3 days
    solution, but so far, none of the recommendations, the command prompts for
    registry changes worked.  The drivers for this printer are installed on
    the laptop in the Vista operating system and up to date.
     
    When I try to add the printer from Office Word 2007 I get the error: 'the
    Active directory domain services is currently unavailable. »
     
    What is strange is that I can access the printer of every machine on the
    network, but the computer of one office. I can access all the drives and files on
    This same office via the network, but not the printer. I know that the
    printer works when I switch on the desk to the other of all the
    other machines, is not the switch that is at fault.  Also, I have
    the same Vista Ultimate, SP2 x 86 installed on two other desktops, which doubles
    Boot with Win7 SP1, and they have no problem accessing the printer via the
    network.
     
    Any suggestion would be appreciated. I'm really confused as to what
    could cause the error or the place where the problems at this stage, as it is
    only this a Vista on a laptop that is causing the problem.
     
    Jan :)
     
     
  • Trouble installing iTunes. Get the message "unable to locate network % APPDATA%/. ».

    I am trying to install the latest version of iTunes, but I get the message "Unable to locate % APPDATA%/ network.". I made sure the previous iTunes was uninstalled properly and I found a suggestion on another forum that said "click Start-Run, type regedit (without the quotes) navigate to this registry path:
    HKEY_CURRENT_USER--> Software--> Microsoft--> Windows--> the current Version--> Explorer--> user Shell folders
    Delete the key: recent (right mouse click on the folder/keys, click on delete) close the registry editor and restart the computer. »

    None worked and I have really no idea what to do. I'm not good with computers at all, then I'd be really grateful for the help.

    Try this FixIt:

    Code error '0 x 80070646', '646', or '1606' when you try to install the Office updates

    http://support.Microsoft.com/kb/2258121 "a programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • SOAP API - get the value of an external entry of default user Interaction

    Hi guys,.

    I'm trying to get the default value of an external input of User Interaction.

    My Testworkflow has a beginning and end, in the Middle it is a "user interaction" with two external entrances. Among the external references entered through presentation with a default value.

    This default value is what I want to get via SOAP for Scripting

    All I can understand with the "getWorkflowInputForWorkflowTokenId" method is the following:

        [getWorkflowInputForWorkflowTokenIdReturn] => stdClass Object
            (
                [id] => 2c961dc145ccc05e0145e0baae600c7a
                [workflowTokenId] => 2c961dc145ccc05e0145e0baadd40c77
                [name] => myWorkflowName : TestInteraction
                [description] => Description der Interaction
                [parameters] => stdClass Object
                    (
                        [item] => Array
                            (
                                [0] => stdClass Object
                                    (
                                        [name] => externalInputString
                                        [type] => string
                                    )
    
                                [1] => stdClass Object
                                    (
                                        [name] => externalInputNumber
                                        [type] => number
                                    )
    
                            )
    
                    )
    
                [attributes] => 
                [state] => 0
                [creationDate] => 20140509132501+0200
                [xmlContent] => 
    

    Is it possible to get this value? (even with the REST API? < = I don't find as well)

    Thank you

    Marc

    Hi Marc,

    "xmlContent" property must contain a similar XML content to:

    
       
    ...
       
    
    

    User interaction, including the default, settings must be inside the element 'presentation '.

    Hope this helps,

    Ilian

  • Try to get the laptop connected to my network?

    I have a laptop Sony Viao, who still works on windows XP and it will not connect to my wireless router, my vista desktop works perfectly well. The error message I get when I get my reading key of the network, "the network password needs to be 40bits or 104bits depending on your network configuration. This can be entered as 5 or 13 ascii characters or 10 or 26 hexadecimal characters. "Any suggestions? I want to just that this laptop connected so it can serve a new purpose.

    It seems that your wireless router is configured with the WEP encryption. The WEP key, not the same wireless network (SSID) name, could be written on the router. If this isn't the case, you will need to query the router admin pages to find out what is the WEP key - look for wireless security.

    For more assistance, we will need the brand and model of your router.

    Alternatively, you can search on the Vista desktop (if it connects wireless) and query the WEP key via the wireless network connection properties, there should be an option to display the characters of wireless WEP key.

    Tricky

  • Im trying to download i tunes and I get the error: could not access network location - please help

    Log name: System
    Source: Service Control Manager
    Date: 06/03/2012 10:48:07
    Event ID: 7036
    Task category: no
    Level: Information
    Keywords: Classic
    User: n/a
    Computer: ARJDLV5Q74
    Description:
    The virtual disk service entered the stopped state.
    The event XML:

     
       
        7036
        0
        4
        0
        0
        0 x 8080000000000000
       
        39271
       
       
        System
        ARJDLV5Q74
       
     

     
        Virtual disk
        order
        7600640073002F0031000000
     


    Log name: System
    Source: Service Control Manager
    Date: 06/03/2012 10:48:07
    Event ID: 7036
    Task category: no
    Level: Information
    Keywords: Classic
    User: n/a
    Computer: ARJDLV5Q74
    Description:
    The virtual disk service entered the stopped state.
    The event XML:

     
       
        7036
        0
        4
        0
        0
        0 x 8080000000000000
       
        39271
       
       
        System
        ARJDLV5Q74
       
     

     
        Virtual disk
        order
        7600640073002F0031000000
     

    Hello

    When you get this error message - during the download or installation?

    Method 1: Download the latest version of Java and see if that helps.

    Download and then install: http://java.com/en/download/index.jsp

    Method 2: Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall 

    Method 3: How to solve problems when you install or uninstall programs on a windows http://support.microsoft.com/kb/2438651

  • I got the error 0x8000FFFF: catastrophic error on windows XP pack 3 service. How can I fix this? I can do everything, but can not get the computer to detect wireless networks?

    I used disc cleanup and bang this error came. I don't know how or why. I can't use internet somehow. Normally, I connect to the internet with our home wi - fi connection. But my computer now sees not all networks wireless at all. I made sure the wireless switch is on and my son checked all settings network... still nothing. I am quite at a loss to solve this problem and do not have money to take right now to a pro. Help please?

    I also got the problem devices following system infor...

    Atheros AR5007EGwireless AVG mini port network adapter driver pnpdevice I\D ROOT/GR_AVGFWMP\0002 error code by using the V & D charger

    Atheros AR81 32PCI-E FastEthernet Controller AVG miniport driver ROOT\GR_AVGWMP | ooo1 failure using the V & D charger

    iecont.dll missing file

    iecontic.dll missing file

    ieuinit.inf not available

    Proxy disabled

    Disabled Access Manager

    Thanks a lot if you can help. The computer is a netbook with a screen 10 inch aspire. It's an older version, but is running windows xp with service pack 3, I use a laptop plus old to communicate with you and will continue to do so, to read your tips, thank you again.

    E-mail address is removed from the privacy *.

    Hello Sharon,

    You did it of any material changes or software on the computer before this problem?

    You can follow this link and check if the problem persists.

    In the Windows wireless network connection problems

    Hope the helps of information.
    Please post back and we do know.

  • Impossible to get the Vista machine see computers network XP Home

    Home network with DLInk DIR - 655 wireless router which connects the top of Office XP (2 printers connected to the desktop computer), laptop XP and 1 Vista laptop 1.  Now computer Vista laptop sees no, desktop or laptop XP or good printers that file sharing is turned on (steps of Microsoft).

    Hello
     
    A computer running Windows XP can be detected and appear on the network map, you may need to install the Protocol Link-Layer Topology Discovery (LLTD) on this computer.
    To download and install LLTD, visit this link:
    http://support.Microsoft.com/kb/922120
     
    Once the LLTD is installed on the XP machine, restart the computer and check the result.
     
    To solve the problems of network connection, check the steps in this link:
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems
     
    I hope this helps.
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.
  • I can't access to our private internet connection... I get the error messages like acquiring network address AND identity validation

    problem network address acquisition
    I can't access to our private internet connection... I get error messages like acquiring network address AND validation of identity no matter how long I wait nothing happens... Please help me.

    create a new internet connection or reset TCP/IP socket

  • How can I get the NIC IP of a host?

    How can I get the IP address of a NETWORK adapter for the host.

    You are right. If you connect to ESX, you will always get NULL. You can use either COS IP IP of the kernel or both for display.

    If it is a hosted solution, your phyical WHAT NIC is controlled by the underlying operating system that assigns IP address.

    Steve JIN, VMware engineering

    Creator of VI Java API: http://vijava.sf.net

  • Satellite Pro 460CDX: how to get the BIOS to recognize the disk external drive port?

    How do you get the BIOS to recognize external floppy port?

    HEEE? ?:|
    Are you sure you know how to update the BIOS?

    Come on cheshire! The update of the BIOS is risky If you n t know how to do!
    Usually, you don't need additional software to recognize the USB FDD drive or driver!

    I hope you have downloaded the good BIOS and use the correct procedure to update BOS, because if you do this in the wrong way to damage the motherboard!
    It is important to first read the BIOS update guide lines! You can find it on the download page of the BIOS under more information

  • Help! For an assignment, I need to use InDesign 2014 to make a digital item. I have the CC with 2015. How can I get the version of 2014 for my Mac

    Help! For an assignment, I need to use InDesign 2014 to make a digital item. I have the CC with 2015. How can I get the version of 2014 for my Mac

    Sorry, I can not explain this. It is not sensible.

    Try going to your cloud creative desktop App. Click on the "gear" icon > Preferences > General. Sign out and then sign in using your Adobe ID and see if it looks different.

  • OEID 3.1 get the index value in a multi-assign set attribute

    Hello

    In OEID 3.1 EQL represents assign many attributes of the corpus as defined. How can I get a single value from this overall picture? If the table contains only one value, how can I get this value as the value of the single award and not a game/table.

    http://docs.Oracle.com/CD/E40518_01/server.760/es_eql/TOC.htm#sets%20and%20Multi-assign%20Data

    Thank you.

    1. "How can I get a single value from a game?

    If I understand your question, I think that you want to use a universal or existential (SOME) (ALL) qualifier for records based on a unique value that exists in a return set.

    They are documented here:

    "+ gMapTitle +".

    In the example for the qualification of SOME, the two important lines are:

    SELECT bodyAttr AS body

    WHERE SOME IN x body SATISFIED (x = "robust")

    This means that the query is basically this:

    1. Select the multi-assign Body attribute and its values as a set back.

    2 values in this organization has set, return every record that has an assignment of "Robust" in its attribute of body. In other words, you use the value "Robust" (throughout the body) to get the records you want.

    2. "If a set contains only one value, how can I get this value as the single entitled value and not a game?

    Whatever the number of items is in a game, you can use the IS_MEMBER_OF function to test if a given value is in this value. The given value can be a single-assign attribute. However, I'm not sure if that's what you're asking.

    In both cases, keep in mind sets that were put in place because to 7.5 (and previous), EQL chooses an arbitrary value of a multiple assign attribute for each input record, rather than select all attribute values. Sets now allow EQL select all values in a multiple assign attribute.

  • How to get the number of LUN to physical RDM assigned to VM?

    Hi people,

    Is it possible to get the LUN ID or number of a RDM physical disk attached to a virtual from Windows using PowerCLI machine?

    Thank you.

    Hi Albert,

    the first PowerCLI script will give the LUN ID or the number of physical RDM disks attached to a virtual machine for ESX 3.5 servers:

    Get-VM | `
    Get-HardDisk | `
    Where-Object {$_.DiskType -eq "RawPhysical"} | `
    Select-Object -Property @{N="VM";E={$_.Parent}},
      @{N="HardDisk";E={$_.Name}},
      @{N="Lun";E={$_.ScsiCanonicalName.Split(":")[-1]}}
    

    The second script PowerCLI will give you the LUN ID or number of a RDM physical disk attached to a virtual machine for 4 ESX servers:

    Get-VM | `
    Get-HardDisk | `
    Where-Object {$_.DiskType -eq "RawPhysical"} | `
    Select-Object -Property @{N="VM";E={$_.Parent}},
      @{N="HardDisk";E={$_.Name}},
      @{N="Lun";E={
        $HardDisk = $_
        $lun = Get-VMHost -VM $_.Parent | `
          Get-ScsiLun -LunType Disk | `
          Where-Object {$_.CanonicalName -eq $HardDisk.ScsiCanonicalName}
        [int](Select-String ":L(?\d+)$" `
            -InputObject $lun.RuntimeName).Matches[0].Groups['lunID'].Value
      }}
    

    Thanks to Luke for his blog post the making of a New VIProperty called Monday who gave me the idea for the regular expression.

    Best regards, Robert

    Post edited by: RvdNieuwendijk

Maybe you are looking for