-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added storage descriptors in the IM, updated CP and VirtualLink to follow ETSI specifications * Added ATD file for atomic entity, using new CP descriptor in FDU * updated IM, using fog05-im modules for python APIs, code reorganization, cleanup, masking the calls to eval in order to make the code easy to read, new classes for FDU differentiated between users and infrastructure, LXD plugin uses new InfraFDU object for managing FDUs * Updates and Fixs in Agent, FDU python classes and API * updates in FDU objects and fixes on linuxbridge and linux plugin in order to solve #136 * updates to KVM and Native Plugin to use the new FDUs objects * Initial implementation of Atomic Entity onboard and instantiation function on the agent * updated APIs, Makefile, CLI to follow separation between FIM components and FAEM components Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
- Loading branch information
Showing
63 changed files
with
4,563 additions
and
2,256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"id": "one-fdu-atomic-entity", | ||
"name": "test_atomic_entity", | ||
"description": "this is a simple atomic entity composed by two LXD containers", | ||
"fdus": [ | ||
{ | ||
"id": "alpine3.6", | ||
"name": "alpine_3.6", | ||
"computation_requirements": { | ||
"cpu_arch": "x86_64", | ||
"cpu_min_freq": 0.0, | ||
"cpu_min_count": 1, | ||
"ram_size_mb": 128.0, | ||
"storage_size_gb": 5.0 | ||
}, | ||
"image": { | ||
"uri": "lxd://alpine/3.6", | ||
"checksum": "", | ||
"format": "" | ||
}, | ||
"hypervisor": "LXD", | ||
"migration_kind": "LIVE", | ||
"interfaces": [ | ||
{ | ||
"name": "eth0", | ||
"is_mgmt": false, | ||
"if_type": "INTERNAL", | ||
"virtual_interface": { | ||
"intf_type": "VIRTIO", | ||
"vpci": "0:0:0", | ||
"bandwidth": 10 | ||
}, | ||
"cp_id": "test-cp1" | ||
} | ||
], | ||
"io_ports": [], | ||
"connection_points": [ | ||
{ | ||
"id": "test-cp1", | ||
"name": "test-internal-cp1", | ||
} | ||
], | ||
"storage": [], | ||
"depends_on": [] | ||
} | ||
], | ||
"internal_virtual_links": [ | ||
{ | ||
"id": "internal", | ||
"name": "internal-vl", | ||
"ip_configuration": { | ||
"ip_version": "IPV4", | ||
"subnet": "192.168.234.0/24", | ||
"gateway": "192.168.234.1", | ||
"dhcp_enable": true, | ||
"dhcp_range": "192.168.234.2,192.168.234.100", | ||
"dns": "8.8.8.8,8.8.4.4" | ||
}, | ||
"int_cps": [ | ||
"test-cp1" | ||
] | ||
} | ||
], | ||
"connection_points": [], | ||
"depends_on": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.