- Nov 27, 2018
-
-
Benjamin Bertrand authored
Mac table removed from Network part (mac is saved as a column in the Interface table). JIRA INFRA-674 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-578 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-578
-
- Nov 06, 2018
-
-
Benjamin Bertrand authored
- Host names are unique (no 2 hosts with same name) - A host name shall not conflict with a cname or interface (if not main interface) - Interface names are unique (no 2 interfaces with same name) - An interface shall not conflict with a cname or host (if not assigned host) - cnames are only unique by domain (2 cnames can have the same name if different domains) - A cname shall not conflict with a host or interface - An interface has to be linked to a host Validation is implemented at the model level. Some is also implemented at the form level as it gives nicer feedback, but not all as it's a bit more complex when it requires check on several fields. JIRA INFRA-245
-
Benjamin Bertrand authored
- mac is now a column in the interface table (no link to the mac table) - mac column is unique (can't have 2 interfaces with the same mac) - the mac table is kept for the items JIRA INFRA-639
-
- Sep 28, 2018
-
-
Benjamin Bertrand authored
Add endpoints: DELETE /network/hosts/<host_id> DELETE /network/interfaces/<interface_id> JIRA INFRA-570 #action In Progress
-
- Aug 08, 2018
-
-
Benjamin Bertrand authored
Using flask-login request_loader, we can validate jwt tokens. This allows to use the same decorators for the web UI (using cookies) and the API (using JWT) as well as the current_user local proxy.
-
- Jul 19, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-424
-
- Jul 12, 2018
-
-
Benjamin Bertrand authored
- add ansible_groups_hosts_table for many-to-many relationship between groups and hosts - add new api endpoint /network/groups JIRA INFRA-412
-
- Jul 06, 2018
-
-
- Apr 20, 2018
-
-
Benjamin Bertrand authored
1. When we have a stack of switches, the same IP is associated to several switches 2. Move the items <-> host assocation to the item create/edit page JIRA INFRA-267
-
- Apr 10, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-281
-
- Apr 06, 2018
-
-
Benjamin Bertrand authored
"type" field on host replaced with foreign key "machine_type_id" JIRA INFRA-281
-
- Mar 13, 2018
-
-
Benjamin Bertrand authored
Allow to filter by domains
-
- Feb 28, 2018
-
-
Benjamin Bertrand authored
-
- Feb 23, 2018
-
-
Benjamin Bertrand authored
-
- Feb 20, 2018
-
-
Benjamin Bertrand authored
-
- Feb 14, 2018
-
-
Benjamin Bertrand authored
-
- Feb 09, 2018
-
-
Benjamin Bertrand authored
- add domain_id on NetworkScope table to define a default domain - add domain_id on Network (default to the Network Scope one) Fixes INFRA-194
-
Benjamin Bertrand authored
-
- Feb 06, 2018
-
-
Benjamin Bertrand authored
-
- Jan 12, 2018
-
-
Benjamin Bertrand authored
The string representation of a Network is the vlan_name. This is what we should allow to pass as string to create an interface. Note that if we pass network_id instead of network when creating and interface, the validate_interfaces method from the Network class is not called.
-
- Jan 11, 2018
-
-
Benjamin Bertrand authored
-
- Jan 10, 2018
-
-
Benjamin Bertrand authored
All endpoints are plural
-
- Jan 08, 2018
-
-
Benjamin Bertrand authored
Pagination information (next, prev, first, last) is included in the Link HTTP header. The total number of entries is provided in the X-Total-Count HTTP header.
-
- Jan 02, 2018
-
-
Benjamin Bertrand authored
-
- Dec 21, 2017
-
-
Benjamin Bertrand authored
text is really generic and could conflict with another variable. body is often used for comments.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Required to create users when importing items from JIRA. Renamed blueprint from "users" to "user" to be consistent with other blueprints (inventory and network).
-
Benjamin Bertrand authored
+ fix tests
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
This allows to easily register items via the API without giving an ICS id.
-
Benjamin Bertrand authored
Split API in different blueprints like for the web UI: - users (login) - inventory - network Use version in API url (api/v1) to make future changes easier without breaking backward compatibility
-
- Dec 13, 2017
-
-
Benjamin Bertrand authored
- Rename Host to Interface - Create new Host table to group interfaces
-
Benjamin Bertrand authored
- All created tokens are stored in the database. To revoke a token, we just delete it from the database. Tokens not found in the database are thus considered unvalid / revoked. - Add button to copy generated token to the clipboard - Redesign profile page
-
- Dec 06, 2017
-
-
Benjamin Bertrand authored
- Several IPs (hosts) can be associated to one MAC address - Host name shall be non nullable
-
Benjamin Bertrand authored
- refactor Network class
-
- Nov 20, 2017
-
-
Benjamin Bertrand authored
- network name should be unique and not nullable - force all name fields to StringField
-
- Nov 15, 2017
-
-
Benjamin Bertrand authored
-
- Nov 14, 2017
-
-
Benjamin Bertrand authored
-