Feature #2858

Extend Network Model

Added by Ruben S. Montero over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:04/29/2014
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Documentation
Target version:Release 4.8
Resolution:fixed Pull request:

Description

This is a meta-issue to group multiple networking features. All of them will be develop in the same branch.

In order to accommodate all the requests made to improve the OpenNebula networking flow we'll re-design the data model. Basically, it'll extend the definition of a lease to get rid of the FIXED vs RANGED types.

A network will have any number of address ranges that may even provide specific configuration (e.g. VLAN_ID) or context (e.g. GATEWAY) attributes. The new address ranges could be of any type (Ethernet, IP, IPv6, Dual IPv4+6).

This will effectively decouple the network implementation (e.g. BRIDGE, VLAN...) from the address management, so making possible a self-service model for virtual network provisioning.

The following issues will be addressed:

  • #2740: Virtual Networks should be able to select the IP version for addresses
  • #2545: Decorrelate networks TYPE and IP management
  • #1818: Support for IP reservations
  • #1773: Add network groups
  • #2818: Let specify IPv6 (apart from MAC and IPv4) addresses for Fixed leases
  • #1945: Tag Virtual Network as IPv6 enabled.

Related issues

Related to Feature #2740: Virtual Networks should be able to select the IP version ... Closed 02/20/2014
Related to Feature #2545: Decorrelate networks TYPE and IP management Closed 12/08/2013
Related to Feature #1818: Support for IP reservations Closed 03/19/2013
Related to Feature #1773: Add network groups Closed 02/20/2013
Related to Feature #2818: Let specify IPv6 (apart from MAC and IPv4) addresses for ... Closed 03/31/2014
Related to Feature #1945: Tag Virtual Network as IPv6 enabled. Closed 04/23/2013

Associated revisions

Revision 61c3fe95
Added by Ruben S. Montero over 6 years ago

feature #2858: Convert to unsigned int from vector attributes

Revision 198ebfde
Added by Ruben S. Montero over 6 years ago

feature #2858: Implementation of Address Range class

Revision e13cfcf7
Added by Ruben S. Montero over 6 years ago

feature #2858: Allocate addresses by MAC or IP

Revision acce1cda
Added by Ruben S. Montero over 6 years ago

feature #2858: Work on AddressRange class

Revision 771b41f3
Added by Ruben S. Montero over 6 years ago

feature #2858. Clear and to_xml on streams for VectorAttributes

Revision c24dfec3
Added by Ruben S. Montero over 6 years ago

feature #2858: First version of AddressRangePool

Revision e4cee7c1
Added by Ruben S. Montero over 6 years ago

feature #2858: Integrate AddressRangePool with VirtualNetwork: persistency & initialization

Revision cab018fc
Added by Ruben S. Montero over 6 years ago

feature #2858: Allocate & free functions for the address range pool

Revision 72b61e9e
Added by Ruben S. Montero over 6 years ago

feature #2858: Integrate Address Ranges with VirtualNetwork and VirtualMachine

Revision f0e64384
Added by Ruben S. Montero over 6 years ago

feature #2858: Adds lease usage information to XML descriptions

Revision a99707d8
Added by Ruben S. Montero over 6 years ago

feature #2858: Update onevm and onevnet command line tools

Revision 1a4f9e09
Added by Ruben S. Montero over 6 years ago

feature #2858: Support for Address Range attributes in context

Revision 14105efd
Added by Ruben S. Montero over 6 years ago

feature #2858: Hold first matching lease if no address range is specified

Revision e6301350
Added by Ruben S. Montero over 6 years ago

feature #2858: Hold and Release for IP/MAC addresses in all Address Ranges. Keep compatibility with 4.6 interface

Revision 48c19b26
Added by Ruben S. Montero over 6 years ago

feature #2858: Updated OCA interface for VirtualNetwork objects. Added option to select an address range to hold/release an IP address

Revision c92434e9
Added by Ruben S. Montero over 6 years ago

feature #2858: Add support for MAC addresses at OCA and CLI

Revision 8c92f9b1
Added by Ruben S. Montero over 6 years ago

feature #2858: Remove old code

Revision df8ab356
Added by Ruben S. Montero over 6 years ago

feature #2858: onevnet: do not fail on empty address range pool

Revision c3adf0b5
Added by Ruben S. Montero over 6 years ago

feature #2858: Fix error message

Revision f440b6b1
Added by Ruben S. Montero over 6 years ago

feature #2858: Add and remove methods for Address Ranges. Core, OCA and CLI

Revision 20a3c258
Added by Ruben S. Montero over 6 years ago

feature #2858: Update ARs. Core, OCA and CLI. Needs to implement attribute removal

Revision 63e42cd1
Added by Ruben S. Montero over 6 years ago

feature #2858: Better update for Address Range.

Revision 6048a8c4
Added by Ruben S. Montero over 6 years ago

feature #2858: Fix minor issues in Address Range management

Revision aca69ca4
Added by Ruben S. Montero over 6 years ago

feature #2858: Fix VLAN attribute in address range

Revision e0bfd3f6
Added by Ruben S. Montero over 6 years ago

feature #2858: Sanitize VLAN attribute defined in Address Range

Revision 88987631
Added by Ruben S. Montero over 6 years ago

feature #2858: Add umask to Request attributes

Revision d5deaaf9
Added by Ruben S. Montero over 6 years ago

feature #2858: First version of VNET reservation. VNET is created, addresses allocated. Needs to set free addr methods upon reservation removal.

Revision 28e7faf5
Added by Ruben S. Montero over 6 years ago

feature #2858: Check quotas for reserve addresses. Update AR on reservation

Revision 0ef5132b
Added by Ruben S. Montero over 6 years ago

feature #2858: Look for continous address ranges

Revision a11e130a
Added by Carlos Martín over 6 years ago

Feature #2858: Start redesing of sunstone vnet tab

Revision 3c540456
Added by Carlos Martín over 6 years ago

Feature #2858: Better placement for vnet leases panel

Revision 1f09233b
Added by Ruben S. Montero over 6 years ago

feature #2858: Update parent vnet on removal

Revision 977fc0d9
Added by Ruben S. Montero over 6 years ago

feature #2858: Reserve by AR_ID, fix DB storage of reservations

Revision ab6de3ae
Added by Ruben S. Montero over 6 years ago

feature #2858: Fix minor memory leaks

Revision 8f752d3d
Added by Ruben S. Montero over 6 years ago

feature #2858: Better check for class types. Single AR addtion to prevent out-of-sync NETs

Revision 15d09688
Added by Carlos Martín over 6 years ago

Feature #2858: rm_ar button in sunstone

Revision 822ef4d1
Added by Carlos Martín over 6 years ago

Feature #2858: New vnet methods in sunstone api

Revision 3dd9f292
Added by Carlos Martín over 6 years ago

Feature #2858: Add AR creation to vnet wizard

Revision bba9a065
Added by Carlos Martín over 6 years ago

Feature #2858: Add AR wizard

Revision 0fbef4c6
Added by Ruben S. Montero over 6 years ago

feature #2858: Reserve by IP & MAC

Revision ba762c11
Added by Carlos Martín over 6 years ago

Feature #2858: fix vnet wizard

Revision cff23bdf
Added by Carlos Martín over 6 years ago

Feature #2858: fix used leases counter

Revision 41e0412b
Added by Ruben S. Montero over 6 years ago

feature #2858: free by owner returns the number of addressses freed

Revision 20ed8ad2
Added by Ruben S. Montero over 6 years ago

feature #2858: Update quotas when freeing reserved IPs

Revision 7993d7a8
Added by Carlos Martín over 6 years ago

Feature #2858: Separate vnet wizard into steps

Revision d41ccaf5
Added by Carlos Martín over 6 years ago

Feature #2858: Add first AR on pop up

Revision 509529ba
Added by Ruben S. Montero over 6 years ago

feature #2858: one.vn.[update, update_ar, add_ar, rm_ar] require ADMIN rights

Revision be238e98
Added by Ruben S. Montero over 6 years ago

feature #2858: Add reservations to an exisiting network. VNETs are labeled with the PARENT_NETWORK_ID if any. Just one PARENT VNET is allowed

Revision f87d3bb3
Added by Ruben S. Montero over 6 years ago

feature #2858: Solve bugs in onevnet reserve. Minor changes in one.vn.reserve

Revision 6136edf8
Added by Ruben S. Montero over 6 years ago

feature #2858: Add free_ar to free a previously reserved address range. Operation needs MANAGE permission on the reservation VNET (rm_ar is ADMIN)

Revision 28920072
Added by Carlos Martín over 6 years ago

Feature #2858: Individual panel for AR, with a datatable

Revision 095e8cce
Added by Carlos Martín over 6 years ago

Feature #2858: improve add AR modal

Revision ddda0689
Added by Carlos Martín over 6 years ago

Feature #2858: Add custom attributes to each AR

Revision 20618136
Added by Carlos Martín over 6 years ago

Feature #2858: add a progress bar to leases usage

Revision e9719110
Added by Ruben S. Montero over 6 years ago

feature #2858: Free address ranges on VNET

Revision 1f0bb17e
Added by Ruben S. Montero over 6 years ago

feature #2858: Add check in free addr

Revision 5599906f
Added by Ruben S. Montero over 6 years ago

feature #2858: Fix permission check when adding a reservation to an existing reservation. Quotas always account for the reservation owner

Revision f57e0b4c
Added by Ruben S. Montero over 6 years ago

feature #2858: Adjust quotas on VNET chown

Revision 64ba86b7
Added by Carlos Martín over 6 years ago

Feature #2858: Update AR wizard

Revision caeaa46e
Added by Ruben S. Montero over 6 years ago

feature #2858: Do not allow to make double reservations

Revision 6032948f
Added by Ruben S. Montero over 6 years ago

feature #2858: Fix AR update on empty allocated addresses

Revision a9060af7
Added by Carlos Martín over 6 years ago

Feature #2858: Remove TYPE column in vnet table

Revision 5890beb2
Added by Carlos Martín over 6 years ago

Feature #2858: Remove TYPE column from secondary vnet tables

Revision 0b0e127f
Added by Carlos Martín over 6 years ago

Feature #2858: Add new vnet AR sub-tab to yaml files

Revision bc13d781
Added by Carlos Martín over 6 years ago

Feature #2858: show reserved vnet id in leases list

Revision 65bbb282
Added by Carlos Martín over 6 years ago

Feature #2858: clean leases attribute from table

Revision 07ca23fc
Added by Ruben S. Montero over 6 years ago

feature #2858: Do not allow to reserve on the same VNET

Revision e00acac3
Added by Carlos Martín over 6 years ago

Feature #2858: Basic dialog to reserve IPs

Revision b920113f
Added by Carlos Martín over 6 years ago

Feature #2858: Filter "child" vnet reservations in wizard

Revision 0d0bb093
Added by Ruben S. Montero over 6 years ago

feature #2858: Should prevent deadlocks in address reservations

Revision 843f4f82
Added by Carlos Martín over 6 years ago

Feature #2858: Show vnet/ar reservation parent

Revision 1d3656c6
Added by Carlos Martín over 6 years ago

Feature #2858: Advanced options for reservation dialog

Revision 30af7207
Added by Carlos Martín over 6 years ago

Feature #2858: Show vnet leases as a progress bar

Revision ddb90b76
Added by Carlos Martín over 6 years ago

Feature #2858: Add the vnet "reservation" column

Revision 7af95e5c
Added by Carlos Martín over 6 years ago

Feature #2858: VNetTableSelect uses the columns defined in the yaml files

Revision 9b517fad
Added by Carlos Martín over 6 years ago

Feature #2858: Enable the Reserve button only for "parent" networks

Revision 34979ebf
Added by Carlos Martín over 6 years ago

Feature #2858: fix syntax bug

Revision bfba3f5a
Added by Carlos Martín over 6 years ago

Feature #2858: Add tooltips to vnet wizard

Revision 711419e8
Added by Carlos Martín over 6 years ago

Feature #2858: Disable ar reservation update. Disable fixed inputs in ar update

Revision faa407e0
Added by Carlos Martín over 6 years ago

Feature #2858: Return error for wrong AR update actions. Do not allow to update a reservation SIZE

Revision 97c8aee6
Added by Carlos Martín over 6 years ago

Feature #2858: Improve onevnet updatear command

Revision e664690e
Added by Carlos Martín over 6 years ago

Feature #2858: Use foundation abide to set required inputs in vnet wizard

Revision ed14c2c8
Added by Carlos Martín over 6 years ago

Feature #2858: Clear vnet cache after a reservation is made or cancelled

Revision dd678ef5
Added by Carlos Martín over 6 years ago

Feature #2858: Set mandatory inputs for AR

Revision 17d8169f
Added by Carlos Martín over 6 years ago

Feature #2858: Add actions to manage vnet reservations in user.yaml

Revision b948293c
Added by Carlos Martín over 6 years ago

Feature #2858: Move inputs from General to Context section

Revision 0c4feac8
Added by Carlos Martín over 6 years ago

Feature #2858: Add onedb upgrade script

Revision c12cb2d6
Added by Carlos Martín over 6 years ago

Feature #2858: Free leases even if the VM/NIC does not have AR_ID

This way VMs created in ONE < 4.8 will correctly free the IPs

Revision c0aaec92
Added by Carlos Martín over 6 years ago

Feature #2858: Remove leases fixes from fsck

Revision f686446e
Added by Carlos Martín over 6 years ago

Feature #2858: Rename NIC/IP6_SITE to _ULA in onedb upgrade

Revision 8fe56a00
Added by Carlos Martín over 6 years ago

Feature #2858: Fix IP6 formatting in sunstone

Revision 118fcf47
Added by Carlos Martín over 6 years ago

Feature #2858: Fix onevnet cli columns

(cherry picked from commit 0d14b64e484c9f02249fec4df0a6dbbb349a2c3f)

Revision 302b82aa
Added by Carlos Martín over 6 years ago

Feature #2858: Update Java OCA

History

#1 Updated by Ruben S. Montero over 6 years ago

  • Related to Feature #2740: Virtual Networks should be able to select the IP version for addresses added

#2 Updated by Ruben S. Montero over 6 years ago

  • Related to Feature #2545: Decorrelate networks TYPE and IP management added

#3 Updated by Ruben S. Montero over 6 years ago

#4 Updated by Ruben S. Montero over 6 years ago

#5 Updated by Ruben S. Montero over 6 years ago

  • Related to Feature #2818: Let specify IPv6 (apart from MAC and IPv4) addresses for Fixed leases added

#6 Updated by Ruben S. Montero over 6 years ago

  • Related to Feature #1945: Tag Virtual Network as IPv6 enabled. added

#7 Updated by Ruben S. Montero over 6 years ago

  • Description updated (diff)

#8 Updated by Ruben S. Montero over 6 years ago

  • Target version changed from Release 4.8 to Release 4.8 - Beta 1

#9 Updated by Ruben S. Montero over 6 years ago

  • Category changed from Core & System to Documentation

#10 Updated by Ruben S. Montero over 6 years ago

  • Assignee set to Ruben S. Montero

#11 Updated by Valerio Schiavoni over 6 years ago

Will this feature break existing VNET deployments (in particular those where the VNET has specified either FIXED or RANGED addresses) ?

#12 Updated by Javi Fontan over 6 years ago

  • Target version changed from Release 4.8 - Beta 1 to Release 4.8

#13 Updated by Ruben S. Montero over 6 years ago

Valerio Schiavoni wrote:

Will this feature break existing VNET deployments (in particular those where the VNET has specified either FIXED or RANGED addresses) ?

The upgrade process automatically transforms the old VNETs to the new ones. There should not be (bugs apart) any problem

#14 Updated by Javi Fontan over 6 years ago

Ruben S. Montero wrote:

Valerio Schiavoni wrote:

Will this feature break existing VNET deployments (in particular those where the VNET has specified either FIXED or RANGED addresses) ?

The upgrade process automatically transforms the old VNETs to the new ones. There should not be (bugs apart) any problem

Also, there is an emulation layer in Ruby OCA and CLI so old add/rmleases work the same way as with <= 4.6:

http://dev.opennebula.org/issues/3019

#15 Updated by Ruben S. Montero over 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF