Add the missing protocol for listener
According to the octavia api: https://developer.openstack.org/api-ref/load-balancer/v2/#listeners, there miss the 'HTTPS' protocol. Change-Id: I1d4857876a151148348ac79d554db2c4c6616559
This commit is contained in:
parent
eff100522a
commit
25a8013853
@ -85,7 +85,7 @@
|
||||
visibleResources: [],
|
||||
subnets: [],
|
||||
members: [],
|
||||
listenerProtocols: ['HTTP', 'TCP', 'TERMINATED_HTTPS'],
|
||||
listenerProtocols: ['HTTP', 'TCP', 'TERMINATED_HTTPS', 'HTTPS'],
|
||||
methods: ['LEAST_CONNECTIONS', 'ROUND_ROBIN', 'SOURCE_IP'],
|
||||
types: ['SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE'],
|
||||
monitorTypes: ['HTTP', 'PING', 'TCP'],
|
||||
|
@ -344,7 +344,7 @@
|
||||
});
|
||||
|
||||
it('has array of listener protocols', function() {
|
||||
expect(model.listenerProtocols).toEqual(['HTTP', 'TCP', 'TERMINATED_HTTPS']);
|
||||
expect(model.listenerProtocols).toEqual(['HTTP', 'TCP', 'TERMINATED_HTTPS', 'HTTPS']);
|
||||
});
|
||||
|
||||
it('has array of pool methods', function() {
|
||||
@ -590,7 +590,7 @@
|
||||
});
|
||||
|
||||
it('should initialize listener protocols', function() {
|
||||
expect(model.listenerProtocols.length).toBe(3);
|
||||
expect(model.listenerProtocols.length).toBe(4);
|
||||
expect(model.listenerProtocols.indexOf('TERMINATED_HTTPS')).toBe(2);
|
||||
});
|
||||
});
|
||||
@ -641,7 +641,7 @@
|
||||
});
|
||||
|
||||
it('should initialize listener protocols', function() {
|
||||
expect(model.listenerProtocols.length).toBe(2);
|
||||
expect(model.listenerProtocols.length).toBe(3);
|
||||
expect(model.listenerProtocols.indexOf('TERMINATED_HTTPS')).toBe(-1);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user