Use the following code to create a basic inputEx IPv4Field.
new Y.inputEx.IPv4Field({parentEl: 'container1', showMsg: true});