John Cowen 70274865a0
ui: Peer Deletion (#13665)
* ui: Peer Deletion (#13665)
* ui: Add sorting peer listing by State (#13684)
* ui: Add filtering peer listing by State (#13685)
2022-07-07 18:23:26 +01:00

29 lines
563 B
JavaScript

import Model, { attr } from '@ember-data/model';
export const schema = {
State: {
defaultValue: 'PENDING',
allowedValues: [
'PENDING',
'ESTABLISHING',
'ACTIVE',
'FAILING',
'TERMINATED',
'DELETING'
],
},
};
export default class Peer extends Model {
@attr('string') uri;
@attr() meta;
@attr('string') Datacenter;
@attr('string') Partition;
@attr('string') Name;
@attr('string') State;
@attr('number') ImportedServiceCount;
@attr('number') ExportedServiceCount;
@attr() PeerServerAddresses;
}