Change the Port Group Namespace for autonomy through the API?

Work with vShield / POSSIBLE 5.5.0a.

Take a group of ports which, out of the box will have a default namespace. As a result, you see the following menu items and information:

PortGroupNamespace01.PNG

By clicking on the Stand-alone namespace change link is there for that. We now have a group of ports with the stand-alone namespace and the additional menu tabs, firewall App and SpoofGuard.

PortGroupNamespace02.PNG

I can of course change for autonomy through the user interface, but can not find the equivalent API calls in the vShield API Programming Guide to do it programmatically. Can someone please advise on how to do this via the API?

Thought that I would realize, since I figured this out in the end - a case of RTFM! Namespaces to appear in the Guide of programming on page 186, but there is no explicit mention of the way to make a group of independent ports. However, after revisiting the guide the penny dropped that adding a space of names to the data center is the equivalent of the evolution of a group of ports to a stand-alone namespace. Once you enter that (may be more obvious to you, it was for me), the examples in the guide can be followed.

So to change ports for the autonomy group namespace, you must do the following:

Https:///api/2.0/namespace/datacenter/ POST

dvPortGroup-xxxxx

Make sure that the content type is set to application/xml, text/xml (which has worked for me in the document) and not in the contrary case, it fails with a complaint about content type.

Tags: VMware

Similar Questions

  • g71340 - us: how to change usb port g71340 - us for laptop

    How can I change a usb port on the hp g71340 - us for laptop? There are two ports on the right and a port on the left. one of the two ports on the right side is broken

    @billboddy ,

    Hello and welcome to the HP support forums.  Unfortunately for change your ports USB requires a motherboard change.  That would require a repair.

    Please contact our technical support at the 800-474-6836. If you do not live in the United States / Canada region, please click the link below to get help from your region number. http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    Thanks again for posting and have a great day.

  • How to change the API key associated with one user to another in salesforce

    Hello

    I went to check if a user has access to Echosign today and discovered that a person who has been placed to the company for about 1.5 years is still an active user. When I try to disable sound, I get an error message saying that an API key is associated with this user account. See below. How can I change this to be associated with my user account?

    Kind regards

    Rakesh.

    Hi Rakesh,

    If you disable the API key holder, then it will disrupt the configuration of full integration. I recommend you to change the email address of the user to your e-mail address in order to maintain active and accessible:

    https://helpx.Adobe.com/document-cloud/KB/gain-access-user-accounts.html

    Kind regards

    -Usman

  • An easy (hopefully) change of multiple VMs port group

    Hello

    I have about 50 VM (all with different naming conventions) and I need 47 of them to change their port group for a special (and the last 3 to another)

    I managed this by:

    Get - vm VMNAME3 | Get-NetworkAdapter | Together-NetworkAdapter - NetworkName "dmz-vlan999" - confirm: $false

    But I'm trying to avoid running 46 additional lines (one per VM), is it possible to do this easier than 47 lines?

    Thank you!

    You have these VMs 47 in a file somewhere? A text or CSV file?

    Then you could do

    $vmNames = get-Content vmnames.txt

    Get-VM - $vmNames VM | Get-NetworkAdapter | Together-NetworkAdapter - NetworkName "dmz-vlan999" - confirm: $false

    If you have a CSV file with this layout example

    VMName

    VM1

    VM2

    Then you use this as the first line

    $vmNames = import-Csv vmnames.csv | %{$_. VMName}

  • VMware port group vs vswitch ensures networking nic

    Hi all

    I'm a bit confused as the eve of NIC on vswitch and network card set watches over the port group

    for example

    If I have an ESXi server with 3 vmnic1 network card, vmnic2 and vmnic3

    and I have set up a 'network' vswitch, where I put vmnic1 and active vmnic2 and vmnic2 as before

    I create 1 portgroup

    (1) "data1" where I put on the vmnic3 level as asset and vmnic1 portgroup, vmnic2 as Eve

    How things work it seems door as vmnic 3 of Eve upgraded vswitch and intervenes at the level of the portgroup

    can clarify you for me please?

    On the group level on the port you van ignore the order of failover that is set to the level of vSwitch, so in this way, you can define a failover different/NIC teaming for any group of port defined on this vSwitch.

    It is not necessary to do so, if your Setup doesn't require it.

  • Change the default ports for http and https

    Hello

    I'm trying to change the default ports for http and https

    I have a 506th PIX (which does NOT of NAT)

    I have the following: -.

    static (inside, outside) tcp 192.168.10.2 601 192.168.10.2 http netmask 255.255.255.255 0 0

    static (inside, outside) tcp 192.168.10.2 602 192.168.10.2 443 netmask 255.255.255.255 0 0

    access-list acl permit tcp any 192.168.10.2 eq 601

    access-list acl permit tcp any 192.168.10.2 eq 602

    Access-group acl in interface outside

    where 601 and 602 are the http port and https to be redirect to respectively.

    I changed the webserver accordingly

    I get the error message

    "No group of translation not found for tcp src outside:189.x.x.x/50232 dst inside:192.x.x.x/80" (trying to access port 80)

    "I also have ' fixup protocol http 601.

    I had access to the internal and external web server before attempting to change the default ports

    Any ideas where I'm wrong?

    See you soon.

    I apologise for not thinking correctly.

    the static method must be:

    static (inside, outside) tcp 192.168.10.2 80 192.168.10.2 601 netmask 255.255.255.255 0 0

    static (inside, outside) 192.168.10.2 tcp 443 192.168.10.2 602 netmask 255.255.255.255 0 0

  • Consolidation and failover for the uplink on the Distributed switch port group

    Hello

    I have a problem with the implementation of a distributed switch, and I don't know I'm missing something!

    I have a few guests with 4 of each physical cards. On the host eash I configured 2 virtual switches (say A and B), with 2 physical network by vSwitch using etherchannel adapter. Everything works fine for etherchannel and route based on the hash of the IP for the latter.

    Recently, I decided to create two distributed switches and move the respective physical ports of virtual switches to this distributed switches. Once again, I want to configure etherchannel and route based on the hash of the IP. But when I open the settings for the uplink port group, aggregation and failover policies are grayed out and cannot be changed. Apparently they inherit configuration also but I don't know where!

    Chantal says:

    Once again, I want to configure etherchannel and route based on the hash of the IP. But when I open the settings for the uplink port group, aggregation and failover policies are grayed out and cannot be changed. Apparently they inherit configuration also but I don't know where!

    You must set the card NIC teaming policy on trade in reality and not on the uplink group more expected.

  • Add the default gateway for the VMKernel port group

    Hello

    I use this script to create a VMkernel port group, but the last part of the gateway address of updates to script for all groups of VMKernel ports. How can I change the script so it adds the passage for the 55-CHI-VMKernel port group only. Thank you.

    $hostname6 = "host1".
    $pg = New-VirtualPortGroup-55-CHI-VMKernel - VirtualSwitch "vSwitch1' name - VLanId 55

    New-VMHostNetworkAdapter - VMHost $hostname6 - $pg PortGroup - VirtualSwitch "vSwitch1' - '10.33.1.77' IP - subnet"255.255.255.0"- ManagementTrafficEnabled $true mask

    IP address of the gateway #Add
    $netMgr = get-View (Get-VMHost $hostname6 |) Get - View).ConfigManager.NetworkSystem
    $iproute = new-Object VMware.Vim.HostIpRouteConfig
    $iproute.defaultGateway = "10.33.1.3".
    $netMgr.UpdateIpRouteConfig ($iproute)

    Have you tried it like that?

    $hostname6 = 'host1' $pg = New-VirtualPortGroup -Name 55 - CHI-VMKernel -VirtualSwitch "vSwitch1" -VLanId 55
    New-VMHostNetworkAdapter -VMHost $hostname6 -PortGroup $pg -VirtualSwitch "vSwitch1" -IP "10.33.1.77" -SubnetMask "255.255.255.0" -ManagementTrafficEnabled $true
    #Add gateway IP address
    $netMgr = Get-View (Get-VMHost $hostname6 | Get-View).ConfigManager.NetworkSystem $iproute = New-Object VMware.Vim.HostIpRouteConfig $iproute.defaultGateway = "10.33.1.3"$iproute.GatewayDevice = "vmk0"$netMgr.UpdateIpRouteConfig($iproute)
    
  • Change the VM group vCenter watch NIC port is connected to the old and the new portgroup

    OK, I have built/upgraded to vSphere 5.

    Everything is fine, and now we migrate the virtual machine to the new VDS switches.

    I'm migrating each VM frm the old VSS to their port group concerned on the VDS.

    EVERYTHING is going very well unless I have a few VM, is that when I change VSS port 'The Virtual Machine Network' group the new service VDS 'Network of the Virtual Machine' vCenter shows the VM as being connected to vSwitches/Exchange.

    If you look at the network/host the virtual computer configuration is shown as attached to the VSS and VDS.

    If you use the CLI PowerShell the VM shows that connected to only the VDS, great she is successful, but how can I remove the old switch if he thinks that it is connected to a virtual computer?

    The VM keep in network connectivity.

    I also tried to change the portgroup interface CLI PS and it returns the same result in vSphere.

    Any thoughts?

    Was it virtual machines running snapshot in assets when they have been migrated from VSS for VDS?

    If so, both can be listed in the properties of the VM... In case you need to return the nod on those virtual machines, they will be then be reconnected to the old vs...

    / Rubeck

  • Change the VLAN ID on a group of ports on a vSS

    We are changing the subnet that our vCenter VM resides on that will translate into change us vCenters IP address, subnet mask and gateway.

    He also goes to say that we must change the VLAN ID on the port group.

    My question is, can we change the Port Group VLAN ID first or first change vCenters details?. (So it is in VST Mode physical ports on the switch are trunk ports with say VLAN 100 and 200 with the new 300 of VLAN to add)

    Very welcome any suggetions. :-)

    Use the vSphere client to connect to the host that is running the VM vCenter.

    In this session of vSphere client, you can

    (a) change the VLAN switch vSS

    (b) open a console for the VM vCenter and change the IP settings it

    The vCenter VM will lose its network connection, but your session will continue to run, because you are connectly directly to a host (and no to vCenter).

    If the vCenter server is connected to an Active Directory server, then make sure to use a local administrative account or a domain administrator with cached credentials to connect.

    Furthermore, after you change the IP address of vCenter you will probably run the issue described here: http://kb.vmware.com/kb/1001493, but the article contains a resolution for this.

  • The appleid on my iphone is an old email address that I no longer have access and for which I don't remember the password. My ID apple implemented through my pc is my new e-mail address. How can I change the appleid on my iphone to match my new email addr

    The appleid on my iphone is an old email address that I no longer have access and for which I don't remember the password. My ID apple implemented through my pc is my new e-mail address. How can I change the application on my iphone to match my new email address

    Here is the procedure to change the Apple ID:

    Change your Apple - Apple Support ID

    If bad comes to worse, use the link below to contact the Apple Support.

  • Changing the settings for Port in the BIOS on the G20

    Hello

    I need to change the port settings in the BIOS as EPP, ECP etc for a printer. But when I go into the BIOS on my G20, there is no option for this. If I can't change these options, so I can't use my printer.

    Does anyone know if there is any way to change these settings, or if there are updates to the BIOS will fix this?

    Hello

    On which port you connected the printer to your Qosmio?

  • What should be the port/security settings for Windows Mail with Vista - I think they changed?

    I had to reinstall Vista when my hard drive crashed, and Windows Mail does not work completely correctly. I think remember me an email from Microsoft told me to change the ports/security settings. Could someone tell me what they should be?

    A "error message indicating", what exactly? No error code or the relevant text?
     
    Make sure these settings match exactly.
     
     

    Leave messages on the server and it clutter?
     
     
  • Change the listening port for SSH on IDS

    Should what command I use to change the listening port on an IDS 4200 series? I listen on another port, and when I applied the S189/S190 update, it changed SSH port 22.

    Just out of curiosity, too, no one knows what else S189/S190 updates change?

    Thank you

    Jim

    Cisco supports only configurations using the CLI interface. The ssh port cannot be changed through the CLI. Modifying the files in config system via the service account is not a good idea and not supported.

  • Port changed to remote desktop - could not get through the firewall of Windows 7

    In order to get my two work computers from home (via my router) I changed the port number for the remote desktop on one of the machines. Now, I can not him (even to my network of local work) unless I have turn off the Windows Firewall.  With the firewall disabled I can access it fine (with the new port number).  I tried establishing a new rule of inbound traffic but have not been able to get this to work.  What is the process step by step to creating the rule for inbound traffic for that to happen?

    Hello

    The Microsoft Answers community focuses on the context of use. Please reach out to the business community of COMPUTING in the TechNet forum below:

    http://social.technet.Microsoft.com/forums/en/category/w7itpro

Maybe you are looking for

  • problem with intel proset & atheros and M30X

    Hello I have problem with Intel PROSET. When I opened this program can't do anything just because my Wireless 2200 BG is not be listed in "network components. Moreover in Atheros I'm not able to do anything as well. It can suggest the problem with th

  • Access to all the properties of all objects in a Subvi

    Dear all I need to change some properties of the objects on the front panel in an another Subvi, I don't want to do a 'reference' for each object, and then manipulate its properties in an another Subvi, I want to send some how a reference that contai

  • writing in an array of FPGAs for application of the rt

    When you use the control to write in an application of rt to write to a table fixed fpga is it requires to perfectly fit the sizes of battery?  I am assuming that you can write an array which is less than or equal to the size of table fixed fpga with

  • Can I change windows 7?

    Hi, my laptop runs Windows XP Professional, processor Intel (r) Pentium (r) M 1.86 GHz, RAM GB 0.99 can my laptop run Windows 7? If I changed to Windows 7, my laptop is running slow or I should change my first graphics card? If it is anything else, l

  • Windows 8.1 clean install with key OEM of Windows 8

    Hello! I have a HP Probook 450 with Windows preinstalled 8. I want to Win 8.1, but I want to do a clean install. Which means: insert the Win DVD 8.1 (I downloaded the .iso on internet image file), formatting of the disc and the last 8.1 Windows insta