Actually, it seems that the ONOS cli (both when typing ports and when trying to work with intents - i.e. add a new intent) uses OF port names.
Instead, the GUI shows OF port numbers.
This kind of inconsistency lead to confusion.
I suggest to return in the CLI both port numbers and names (maybe between parenthesis?) and create a mechanism for users to choose in the GUI to see either port numbers or names