open-nomad/ui/app/models/network.js
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

13 lines
345 B
JavaScript

import attr from 'ember-data/attr';
import Fragment from 'ember-data-model-fragments/fragment';
import { array } from 'ember-data-model-fragments/attributes';
export default Fragment.extend({
device: attr('string'),
cidr: attr('string'),
ip: attr('string'),
mbits: attr('number'),
reservedPorts: array(),
dynamicPorts: array(),
});