- 23 Jul, 2012 40 commits
-
-
Christos Stavrakakis authored
Extend NetworkInterface model with a dirty bit, indicating whether the index of the NIC is consistent with the one in Ganeti. This flag is set when deleting a NIC, and is switched off after processing the notification from Ganeti. Removing a NIC with the dirty bit on is not allowed.
-
Christos Stavrakakis authored
Raise Overlimit exception when either bridge or mac-prefix pool is exhausted. Also prohibit public network creation.
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
- Handles nic connections instead of vms. New NIC model and NICs collections created to handle the NIC api logic. NIC models get updated on each vms/networks api call. - New private network creation form. - Display additional fields on private networks list (cidr, nic ip) - New cyclades ui settings introduced. UI_NETWORK_AVAILABLE_NETWORK_TYPES, UI_NETWORK_AVAILABLE_SUBNETS, UI_NETWORK_ALLOW_DUPLICATE_VM_NICS, UI_NETWORK_STRICT_DESTROY.
-
Kostas Papadimitriou authored
check available network status options based on Network.OPER_STATES
-
Christos Stavrakakis authored
Set the VM deleted flag when receiving a failure notification for a Ganeti OP_INSTANCE_REMOVE operation, even if the VM operstate is not ERROR. The server may not exist in the backend not only because the creation failed, but also because a remove notification was lost.
-
Christos Stavrakakis authored
This reverts commit 5d40a128fb593ed641400c462f0e00a1b457f76e.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
- Reponses for servers and netowrks details (list or solo) are now consistent to recent backend changes. - Methods get_nic_from_index and construct_nic_id have been created - Syntax for nic removal from network/vm has been adjusted
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
During handling of ganeti-op-status messages, state was set to error only if the the opcode was OP_INSTANCE_CREATE. This resulted to vm's never being deleted, if they did not exist in Ganeti.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
- Fix bug in backend_add - Display backend_name in network_inspect command
-
Christos Stavrakakis authored
None tags in gnt-network create does not validate.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Set as available in the pool the bridge and mac prefix that was used by the deleted network.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Create a new model, to represent the state of each network in each backend.
-
Christos Stavrakakis authored
Since Ganeti version 2.6, Ganeti is aware of private networks. We take advantage of this by propagating network handling to Ganeti. Network model is expanded to include information about the type of network (public routed, physical vlan, private filtered), subnet, gateway, dhcp, link and mac_prefix. - Update Network Model and delete NetworkLink model - Create MacPrefixPool and BridgePool models - Default constant settings for MacPrefix management
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
New module implementing instance allocation to one of the available backends. Allocation is performed based on memory and disk utilization. Statistics for each backend are stored in DB and updated periodically. Allocation can be customized by creating a new allocation strategy and declaring it in BACKEND_ALLOCATOR_MODULE setting.
-
Christos Stavrakakis authored
- Create command to create a backend (snf-manage backend_create) - Create command to modify a backend (snf-manage backend_list) - Create command to list backends (snf-manage backend_modify) - Modify listservers command to display the backend that hosts the VM
-
Christos Stavrakakis authored
Replace use of global RAPI client, with the cached client from the VirtualMachine or Backend model. Dispatch network actions to all backends.
-
Christos Stavrakakis authored
- Create Backend model holding info about credentials, status and resources - Add Backend as foreign key to VirtualMachine - Create a cache of Backend clients (RAPI) for better performance
-