Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tkt-79473: feat(middleware/iscsi): implement `iscsi.portal.listen_ip_choices #2736

Merged
merged 2 commits into from Mar 11, 2019

Conversation

william-gr
Copy link
Member

Ticket: #79473

@bugclerk bugclerk changed the title feat(middleware/iscsi): implement `iscsi.portal.listen_ip_choices tkt-79473: feat(middleware/iscsi): implement `iscsi.portal.listen_ip_choices Mar 11, 2019
@william-gr william-gr requested a review from sonicaj March 11, 2019 18:55
for i in await self.middleware.call('datastore.query', 'network.Interfaces', [
('int_vip', 'nin', [None, '']),
]):
choices[i['int_vip']] = f'{i["int_ipv4address"]}/{i["int_ipv4address_b"]}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@william-gr are forward slashes intentional ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we want to show both ip addresses as user value

@william-gr william-gr merged commit 9049fda into master Mar 11, 2019
@william-gr william-gr deleted the issues/79473 branch March 11, 2019 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants